Current need to manually cleanup a couple of the esquema code generation outputs (profile record ref in "authors" and extra `sh` module declaration). Otherwise it f-ing compiles
···3pub mod defs;
4pub mod get_services;
5pub mod service;
000000
···3pub mod defs;
4pub mod get_services;
5pub mod service;
6+#[derive(Debug)]
7+pub struct Service;
8+impl atrium_api::types::Collection for Service {
9+ const NSID: &'static str = "app.bsky.labeler.service";
10+ type Record = service::Record;
11+}
···1// @generated - This file is generated by esquema-codegen (forked from atrium-codegen). DO NOT EDIT.
2//!Definitions for the `com.atproto.lexicon` namespace.
3pub mod schema;
000000
···1// @generated - This file is generated by esquema-codegen (forked from atrium-codegen). DO NOT EDIT.
2//!Definitions for the `com.atproto.lexicon` namespace.
3pub mod schema;
4+#[derive(Debug)]
5+pub struct Schema;
6+impl atrium_api::types::Collection for Schema {
7+ const NSID: &'static str = "com.atproto.lexicon.schema";
8+ type Record = schema::Record;
9+}
+5
crates/weaver-common/src/lexicons/mod.rs
···1// @generated - This file is generated by esquema-codegen (forked from atrium-codegen). DO NOT EDIT.
00002pub mod record;
3pub mod sh;
0
···1// @generated - This file is generated by esquema-codegen (forked from atrium-codegen). DO NOT EDIT.
2+pub mod app;
3+pub mod chat;
4+pub mod client;
5+pub mod com;
6pub mod record;
7pub mod sh;
8+pub mod tools;
···2//!Definitions for the `sh.weaver.actor` namespace.
3pub mod defs;
4pub mod profile;
000000
···2//!Definitions for the `sh.weaver.actor` namespace.
3pub mod defs;
4pub mod profile;
5+#[derive(Debug)]
6+pub struct Profile;
7+impl atrium_api::types::Collection for Profile {
8+ const NSID: &'static str = "sh.weaver.actor.profile";
9+ type Record = profile::Record;
10+}
···1// @generated - This file is generated by esquema-codegen (forked from atrium-codegen). DO NOT EDIT.
2//!Definitions for the `sh.weaver.embed` namespace.
3pub mod defs;
04pub mod images;
5pub mod record_with_media;
6pub mod records;
···1// @generated - This file is generated by esquema-codegen (forked from atrium-codegen). DO NOT EDIT.
2//!Definitions for the `sh.weaver.embed` namespace.
3pub mod defs;
4+pub mod external;
5pub mod images;
6pub mod record_with_media;
7pub mod records;