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

Configure Feed

Select the types of activity you want to include in your feed.

update lexicon

and fix casing

authored by

phil and committed by tangled.org e12537a8 679b32fb

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