Monorepo for Tangled tangled.org
5

Configure Feed

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

at icy/lqyotq 2.5 kB View raw
1{ 2 "lexicon": 1, 3 "id": "sh.tangled.repo.pull", 4 "needsCbor": true, 5 "needsType": true, 6 "defs": { 7 "main": { 8 "type": "record", 9 "key": "tid", 10 "record": { 11 "type": "object", 12 "required": [ 13 "target", 14 "title", 15 "createdAt", 16 "rounds" 17 ], 18 "properties": { 19 "title": { 20 "type": "string" 21 }, 22 "body": { 23 "type": "string" 24 }, 25 "rounds": { 26 "type": "array", 27 "items": { 28 "type": "ref", 29 "ref": "#round" 30 } 31 }, 32 "source": { 33 "type": "ref", 34 "ref": "#source" 35 }, 36 "target": { 37 "type": "ref", 38 "ref": "#target" 39 }, 40 "createdAt": { 41 "type": "string", 42 "format": "datetime" 43 }, 44 "mentions": { 45 "type": "array", 46 "items": { 47 "type": "string", 48 "format": "did" 49 } 50 }, 51 "references": { 52 "type": "array", 53 "items": { 54 "type": "string", 55 "format": "at-uri" 56 } 57 }, 58 "dependentOn": { 59 "type": "string", 60 "format": "at-uri" 61 } 62 } 63 } 64 }, 65 "target": { 66 "type": "object", 67 "required": [ 68 "repo", 69 "branch" 70 ], 71 "properties": { 72 "repo": { 73 "type": "string", 74 "format": "did" 75 }, 76 "branch": { 77 "type": "string" 78 } 79 } 80 }, 81 "source": { 82 "type": "object", 83 "required": [ 84 "branch" 85 ], 86 "properties": { 87 "branch": { 88 "type": "string" 89 }, 90 "repo": { 91 "type": "string", 92 "format": "did" 93 } 94 } 95 }, 96 "round": { 97 "type": "object", 98 "required": [ 99 "patchBlob", 100 "createdAt" 101 ], 102 "description": "revisions of this pull request, newer rounds are appended to this array. appviews may reject records do not treat this field as append-only. the blob format is gzipped text-based git-format-patches.", 103 "properties": { 104 "createdAt": { 105 "type": "string", 106 "format": "datetime" 107 }, 108 "patchBlob": { 109 "type": "blob", 110 "accept": [ 111 "application/gzip" 112 ] 113 } 114 } 115 } 116 } 117}