+15
-4
codegen_plan.md
+15
-4
codegen_plan.md
·····················
+34
-1
crates/jacquard-common/src/into_static.rs
+34
-1
crates/jacquard-common/src/into_static.rs
·········
+7
-11
crates/jacquard-common/src/types/value/convert.rs
+7
-11
crates/jacquard-common/src/types/value/convert.rs
···
+162
crates/jacquard-lexicon/src/corpus.rs
+162
crates/jacquard-lexicon/src/corpus.rs
···+pub fn resolve_ref(&self, ref_str: &str) -> Option<(&LexiconDoc<'static>, &LexUserType<'static>)> {
+433
-1
crates/jacquard-lexicon/src/lexicon.rs
+433
-1
crates/jacquard-lexicon/src/lexicon.rs
···+use jacquard_common::{into_static::IntoStatic, smol_str::SmolStr, types::blob::MimeType, CowStr};···
+1
crates/jacquard-lexicon/src/lib.rs
+1
crates/jacquard-lexicon/src/lib.rs
+156
crates/jacquard-lexicon/tests/fixtures/lexicons/defs.json
+156
crates/jacquard-lexicon/tests/fixtures/lexicons/defs.json
···+"description": "AT URI of the record, repository (account), or other resource that this label applies to."+"description": "Optionally, CID specifying the specific version of 'uri' resource this label applies to."+"description": "Metadata tags on an atproto record, published by the author within the record.",+"description": "Metadata tag on an atproto record, published by the author within the record. Note that schemas should use #selfLabels, not #selfLabel.",+"description": "The value of the label being defined. Must only include lowercase ascii and the '-' character ([a-z-]+).",+"description": "How should a client visually convey this label? 'inform' means neutral and informational; 'alert' means negative and warning; 'none' means show nothing.",+"description": "What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the images/video/audio; 'none' hides nothing.",+"description": "Does the user need to have adult content enabled in order to configure this label?"+"description": "Strings which describe the label in the UI, localized into a specific language.",
+51
crates/jacquard-lexicon/tests/fixtures/lexicons/external.json
+51
crates/jacquard-lexicon/tests/fixtures/lexicons/external.json
···+"description": "A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post).",
+51
crates/jacquard-lexicon/tests/fixtures/lexicons/facet.json
+51
crates/jacquard-lexicon/tests/fixtures/lexicons/facet.json
···+"description": "Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID.",+"description": "Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL.",+"description": "Facet feature for a hashtag. The text usually includes a '#' prefix, but the facet reference should not (except in the case of 'double hash tags').",+"description": "Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets.",
+58
crates/jacquard-lexicon/tests/fixtures/lexicons/getAuthorFeed.json
+58
crates/jacquard-lexicon/tests/fixtures/lexicons/getAuthorFeed.json
···+"description": "Get a view of an actor's 'author feed' (post and reposts by the author). Does not require auth.",
+72
crates/jacquard-lexicon/tests/fixtures/lexicons/images.json
+72
crates/jacquard-lexicon/tests/fixtures/lexicons/images.json
···+"description": "Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View."+"description": "Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View."
+96
crates/jacquard-lexicon/tests/fixtures/lexicons/post.json
+96
crates/jacquard-lexicon/tests/fixtures/lexicons/post.json
···+"description": "Deprecated. Use app.bsky.richtext instead -- A text segment. Start is inclusive, end is exclusive. Indices are for utf16-encoded strings.",
+96
crates/jacquard-lexicon/tests/fixtures/lexicons/record.json
+96
crates/jacquard-lexicon/tests/fixtures/lexicons/record.json
···+"description": "A representation of a record embedded in a Bluesky record (eg, a post). For example, a quote-post, or sharing a feed generator record.",
+43
crates/jacquard-lexicon/tests/fixtures/lexicons/recordWithMedia.json
+43
crates/jacquard-lexicon/tests/fixtures/lexicons/recordWithMedia.json
···+"description": "A representation of a record embedded in a Bluesky record (eg, a post), alongside other compatible embeds. For example, a quote post and image, or a quote post and external URL card.",
+15
crates/jacquard-lexicon/tests/fixtures/lexicons/strongRef.json
+15
crates/jacquard-lexicon/tests/fixtures/lexicons/strongRef.json
···
+67
crates/jacquard-lexicon/tests/fixtures/lexicons/video.json
+67
crates/jacquard-lexicon/tests/fixtures/lexicons/video.json
···