Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm

update lexicon

and fix casing

authored by bad-example.com and committed by tangled.org e12537a8 679b32fb

+10 -7
+1
constellation/src/lib.rs
··· 59 } 60 61 #[derive(Debug, Serialize, PartialEq)] 62 pub struct ManyToManyItem { 63 link_record: RecordId, 64 other_subject: String,
··· 59 } 60 61 #[derive(Debug, Serialize, PartialEq)] 62 + #[serde(rename_all = "camelCase")] 63 pub struct ManyToManyItem { 64 link_record: RecordId, 65 other_subject: String,
+9 -7
lexicons/blue.microcosm/links/getManyToMany.json
··· 4 "defs": { 5 "main": { 6 "type": "query", 7 - "description": "Get records that link to a primary subject along with the secondary subjects they also reference", 8 "parameters": { 9 "type": "params", 10 "required": ["subject", "source", "pathToOther"], ··· 22 "type": "string", 23 "description": "path to the secondary link in the many-to-many record (e.g., 'otherThing.uri')" 24 }, 25 - "did": { 26 "type": "array", 27 - "description": "filter links to those from specific users", 28 "items": { 29 "type": "string", 30 "format": "did" ··· 68 }, 69 "item": { 70 "type": "object", 71 - "required": ["link", "subject"], 72 "properties": { 73 - "link": { 74 "type": "ref", 75 - "ref": "#linkRecord" 76 }, 77 - "subject": { 78 "type": "string" 79 } 80 }
··· 4 "defs": { 5 "main": { 6 "type": "query", 7 + "description": "Get records that link out to both a primary and secondary subject", 8 "parameters": { 9 "type": "params", 10 "required": ["subject", "source", "pathToOther"], ··· 22 "type": "string", 23 "description": "path to the secondary link in the many-to-many record (e.g., 'otherThing.uri')" 24 }, 25 + "linkDid": { 26 "type": "array", 27 + "description": "filter linking records from specific users", 28 "items": { 29 "type": "string", 30 "format": "did" ··· 68 }, 69 "item": { 70 "type": "object", 71 + "required": ["linkRecord", "otherSubject"], 72 "properties": { 73 + "linkRecord": { 74 "type": "ref", 75 + "ref": "#linkRecord", 76 + "description": "reference to the link record itself" 77 }, 78 + "otherSubject": { 79 + "description": "the secondary subject from the link record", 80 "type": "string" 81 } 82 }