Mirror of @tangled.org/core. Running on a Raspberry Pi Zero 2 (Please be gentle).
0
fork

Configure Feed

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

lexicons: add `sh.tangled.git.keepCommit`

Signed-off-by: Seongmin Lee <git@boltless.me>

+46
api/tangled/gitkeepCommit.go

This is a binary file and will not be displayed.

+46
lexicons/git/keepCommit.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.git.keepCommit", 4 + "defs": { 5 + "main": { 6 + "type": "procedure", 7 + "input": { 8 + "encoding": "application/json", 9 + "schema": { 10 + "type": "object", 11 + "required": ["repo", "ref"], 12 + "properties": { 13 + "repo": { 14 + "type": "string", 15 + "format": "at-uri", 16 + "description": "AT-URI of the repository" 17 + }, 18 + "ref": { 19 + "type": "string", 20 + "description": "ref to keep" 21 + } 22 + } 23 + } 24 + }, 25 + "output": { 26 + "encoding": "application/json", 27 + "schema": { 28 + "type": "object", 29 + "required": ["commitId"], 30 + "properties": { 31 + "commitId": { 32 + "type": "string", 33 + "description": "Keeped commit hash" 34 + } 35 + } 36 + } 37 + }, 38 + "errors": [ 39 + { 40 + "name": "InternalServerError", 41 + "description": "Failed to keep commit" 42 + } 43 + ] 44 + } 45 + } 46 + }