···11// @generated - This file is generated by esquema-codegen (forked from atrium-codegen). DO NOT EDIT.
22pub mod record;
33-pub mod xyz;
43pub mod sh;
44+pub mod xyz;
···11// @generated - This file is generated by esquema-codegen (forked from atrium-codegen). DO NOT EDIT.
22//!Definitions for the `sh.tangled` namespace.
33pub mod feed;
44+pub mod repo;
55+#[derive(Debug)]
66+pub struct Repo;
77+impl atrium_api::types::Collection for Repo {
88+ const NSID: &'static str = "sh.tangled.repo";
99+ type Record = repo::Record;
1010+}
+27
atproto_api/src/sh/tangled/repo.rs
···11+// @generated - This file is generated by esquema-codegen (forked from atrium-codegen). DO NOT EDIT.
22+//!Definitions for the `sh.tangled.repo` namespace.
33+use atrium_api::types::TryFromUnknown;
44+#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
55+#[serde(rename_all = "camelCase")]
66+pub struct RecordData {
77+ pub created_at: atrium_api::types::string::Datetime,
88+ #[serde(skip_serializing_if = "core::option::Option::is_none")]
99+ pub description: core::option::Option<String>,
1010+ ///knot where the repo was created
1111+ pub knot: String,
1212+ ///name of the repo
1313+ pub name: String,
1414+ pub owner: atrium_api::types::string::Did,
1515+ ///source of the repo
1616+ #[serde(skip_serializing_if = "core::option::Option::is_none")]
1717+ pub source: core::option::Option<String>,
1818+ ///CI runner to send jobs to and receive results from
1919+ #[serde(skip_serializing_if = "core::option::Option::is_none")]
2020+ pub spindle: core::option::Option<String>,
2121+}
2222+pub type Record = atrium_api::types::Object<RecordData>;
2323+impl From<atrium_api::types::Unknown> for RecordData {
2424+ fn from(value: atrium_api::types::Unknown) -> Self {
2525+ Self::try_from_unknown(value).unwrap()
2626+ }
2727+}