···11// @generated - This file is generated by esquema-codegen (forked from atrium-codegen). DO NOT EDIT.
22//!Definitions for the `sh.weaver` namespace.
33pub mod actor;
44+pub mod edit;
45pub mod embed;
56pub mod notebook;
···11+// @generated - This file is generated by esquema-codegen (forked from atrium-codegen). DO NOT EDIT.
22+//!Definitions for the `sh.weaver.edit` namespace.
33+pub mod cursor;
44+pub mod defs;
55+pub mod diff;
66+pub mod root;
77+#[derive(Debug)]
88+pub struct Cursor;
99+impl atrium_api::types::Collection for Cursor {
1010+ const NSID: &'static str = "sh.weaver.edit.cursor";
1111+ type Record = cursor::Record;
1212+}
1313+#[derive(Debug)]
1414+pub struct Diff;
1515+impl atrium_api::types::Collection for Diff {
1616+ const NSID: &'static str = "sh.weaver.edit.diff";
1717+ type Record = diff::Record;
1818+}
1919+#[derive(Debug)]
2020+pub struct Root;
2121+impl atrium_api::types::Collection for Root {
2222+ const NSID: &'static str = "sh.weaver.edit.root";
2323+ type Record = root::Record;
2424+}
···66pub struct RecordData {
77 ///The content of the notebook entry. This should be some flavor of Markdown.
88 pub content: String,
99- pub created_at: CreatedAt,
99+ ///Client-declared timestamp when this was originally created.
1010+ pub created_at: atrium_api::types::string::Datetime,
1011 ///The set of images, if any, embedded in the notebook entry.
1112 #[serde(skip_serializing_if = "core::option::Option::is_none")]
1213 pub images: core::option::Option<crate::sh::weaver::embed::images::Main>,
1314 #[serde(skip_serializing_if = "core::option::Option::is_none")]
1414- pub tags: core::option::Option<Tags>,
1515- pub title: Title,
1515+ pub tags: core::option::Option<crate::sh::weaver::notebook::defs::Tags>,
1616+ pub title: crate::sh::weaver::notebook::defs::Title,
1617}
1718pub type Record = atrium_api::types::Object<RecordData>;
1819impl From<atrium_api::types::Unknown> for RecordData {
···2021 Self::try_from_unknown(value).unwrap()
2122 }
2223}
2323-///The date and time when the notebook entry was created. This is used for sorting and displaying the entry's creation date.
2424-pub type CreatedAt = String;
2525-///An array of tags associated with the notebook entry. Tags can help categorize and organize entries.
2626-pub type Tags = Vec<String>;
2727-///The title of the notebook entry.
2828-pub type Title = String;
+3
crates/weaver-common/src/lib.rs
···11pub mod agent;
22pub mod config;
33pub mod error;
44+/// This filestore is very much not production ready
55+#[cfg(all(feature = "native", feature = "dev"))]
66+pub mod filestore;
47pub mod lexicons;
58pub mod oauth;
69pub mod resolver;
···11//! Weaver renderer
22//!
33-//! This crate works with the weaver-markdown crate to render and optionally upload markdown notebooks to your ATProto PDS.
33+//! This crate works with the weaver-markdown crate to render and optionally upload markdown notebooks to your Atproto PDS.
44//!
5566pub mod types;