Monorepo for Tangled tangled.org
776
fork

Configure Feed

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

at sl/comment 124 lines 2.7 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 "branch" 69 ], 70 "properties": { 71 "repo": { 72 "type": "string", 73 "format": "at-uri" 74 }, 75 "repoDid": { 76 "type": "string", 77 "format": "did" 78 }, 79 "branch": { 80 "type": "string" 81 } 82 } 83 }, 84 "source": { 85 "type": "object", 86 "required": [ 87 "branch" 88 ], 89 "properties": { 90 "branch": { 91 "type": "string" 92 }, 93 "repo": { 94 "type": "string", 95 "format": "at-uri" 96 }, 97 "repoDid": { 98 "type": "string", 99 "format": "did" 100 } 101 } 102 }, 103 "round": { 104 "type": "object", 105 "required": [ 106 "patchBlob", 107 "createdAt" 108 ], 109 "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.", 110 "properties": { 111 "createdAt": { 112 "type": "string", 113 "format": "datetime" 114 }, 115 "patchBlob": { 116 "type": "blob", 117 "accept": [ 118 "application/gzip" 119 ] 120 } 121 } 122 } 123 } 124}