backend for xcvr appview
3
fork

Configure Feed

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

add lrc lexicons

+138 -25
+32
lexicons/org/xcvr/lrc/defs.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "org.xcvr.lrc.defs", 4 + "defs": { 5 + "messageView": { 6 + "type": "object", 7 + "required": ["uri", "author", "body"], 8 + "properties": { 9 + "uri": { 10 + "type": "string", 11 + "format": "at-uri" 12 + }, 13 + "author": { 14 + "type": "ref", 15 + "ref": "org.xcvr.actor.defs#profileView" 16 + }, 17 + "body": { 18 + "type": "string", 19 + }, 20 + "nick": { 21 + "type": "string", 22 + "maxLength": 16 23 + }, 24 + "color": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "maximum": 16777215 28 + } 29 + } 30 + } 31 + } 32 + }
+43
lexicons/org/xcvr/lrc/getMessages.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "org.xcvr.lrc.getMessages", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "description": "Retrieve messages.", 8 + "parameters": { 9 + "type": "params", 10 + "properties": { 11 + "limit": { 12 + "type": "integer", 13 + "minimum": 1, 14 + "maximum": 100, 15 + "default": 50 16 + }, 17 + "cursor": { 18 + "type": "string" 19 + } 20 + } 21 + }, 22 + "output": { 23 + "encoding": "application/json", 24 + "schema": { 25 + "type": "object", 26 + "required": ["messages"], 27 + "properties": { 28 + "messages": { 29 + "type": "array", 30 + "items": { 31 + "type": "ref", 32 + "ref": "org.xcvr.lrc.defs#messageView" 33 + } 34 + }, 35 + "cursor": { 36 + "type": "string" 37 + } 38 + } 39 + } 40 + } 41 + } 42 + } 43 + }
+33
lexicons/org/xcvr/lrc/message.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "org.xcvr.lrc.message", 4 + "defs": { 5 + "main": { 6 + "type": "record", 7 + "key": "tid", 8 + "record": { 9 + "type": "object", 10 + "required": ["signetURI", "body"], 11 + "properties": { 12 + "signetURI": { 13 + "type": "string", 14 + "format": "at-uri" 15 + }, 16 + "body": { 17 + "type": "string", 18 + }, 19 + "nick": { 20 + "type": "string", 21 + "maxLength": 16, 22 + "default": "wanderer" 23 + }, 24 + "color": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "maximum": 16777215 28 + } 29 + } 30 + } 31 + } 32 + } 33 + }
-25
lexicons/org/xcvr/lrc/signature.json
··· 1 - { 2 - "lexicon": 1, 3 - "id": "org.xcvr.lrc.signature", 4 - "defs": { 5 - "main": { 6 - "type": "record", 7 - "key": "tid", 8 - "record": { 9 - "type": "object", 10 - "required": ["channel","messageID"], 11 - "properties": { 12 - "channel": { 13 - "type": "string", 14 - "format": "at-uri" 15 - }, 16 - "messageID": { 17 - "type": "integer", 18 - "minimum": 0, 19 - "maximum": 4294967295 20 - } 21 - } 22 - } 23 - } 24 - } 25 - }
+30
lexicons/org/xcvr/lrc/signet.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "org.xcvr.lrc.signet", 4 + "defs": { 5 + "main": { 6 + "type": "record", 7 + "description": "Written to the appview's repo, bearing witness that a given lrc message from a did took place", 8 + "key": "tid", 9 + "record": { 10 + "type": "object", 11 + "required": ["channelURI","lrcID", "author"], 12 + "properties": { 13 + "channelURI": { 14 + "type": "string", 15 + "format": "at-uri" 16 + }, 17 + "lrcID": { 18 + "type": "integer", 19 + "minimum": 0, 20 + "maximum": 4294967295 21 + }, 22 + "author": { 23 + "type": "string", 24 + "format": "did" 25 + } 26 + } 27 + } 28 + } 29 + } 30 + }