Monorepo for Tangled tangled.org

lexicons: com.atproto.repo.strongRef and sh.tangled.markup#markdown #1271

open opened by boltless.me targeting master from sl/comment
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3mimbhgipu222
+64 -20
Diff #0
api/tangled/cbor_gen.go

This is a binary file and will not be displayed.

api/tangled/feedcomment.go

This is a binary file and will not be displayed.

api/tangled/tangledcomment.go

This is a binary file and will not be displayed.

api/tangled/tangledmarkup.go

This is a binary file and will not be displayed.

+2 -1
cmd/cborgen/cborgen.go
··· 15 15 "api/tangled/cbor_gen.go", 16 16 "tangled", 17 17 tangled.ActorProfile{}, 18 - tangled.Comment{}, 18 + tangled.FeedComment{}, 19 19 tangled.FeedReaction{}, 20 20 tangled.FeedStar{}, 21 21 tangled.GitRefUpdate{}, ··· 31 31 tangled.LabelDefinition_ValueType{}, 32 32 tangled.LabelOp{}, 33 33 tangled.LabelOp_Operand{}, 34 + tangled.Markup_Markdown{}, 34 35 tangled.Pipeline{}, 35 36 tangled.Pipeline_CloneOpts{}, 36 37 tangled.Pipeline_ManualTriggerData{},
+6
lexicon-build-config.json
··· 1 1 [ 2 + { 3 + "package": "atproto", 4 + "prefix": "com.atproto", 5 + "outdir": "/tmp/atproto", 6 + "import": "github.com/bluesky-social/indigo/api/atproto" 7 + }, 2 8 { 3 9 "package": "tangled", 4 10 "prefix": "sh.tangled",
+15
lexicons/com/atproto/repo/strongRef.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "com.atproto.repo.strongRef", 4 + "description": "A URI with a content-hash fingerprint.", 5 + "defs": { 6 + "main": { 7 + "type": "object", 8 + "required": ["uri", "cid"], 9 + "properties": { 10 + "uri": { "type": "string", "format": "at-uri" }, 11 + "cid": { "type": "string", "format": "cid" } 12 + } 13 + } 14 + } 15 + }
+11 -19
lexicons/comment/comment.json
··· 1 1 { 2 2 "lexicon": 1, 3 - "id": "sh.tangled.comment", 3 + "id": "sh.tangled.feed.comment", 4 4 "needsCbor": true, 5 5 "needsType": true, 6 6 "defs": { ··· 16 16 ], 17 17 "properties": { 18 18 "subject": { 19 - "type": "string", 20 - "format": "at-uri" 19 + "type": "ref", 20 + "ref": "com.atproto.repo.strongRef" 21 21 }, 22 22 "body": { 23 - "type": "string" 23 + "type": "union", 24 + "refs": ["sh.tangled.markup#markdown"] 24 25 }, 25 26 "createdAt": { 26 27 "type": "string", 27 28 "format": "datetime" 28 29 }, 29 30 "replyTo": { 30 - "type": "string", 31 - "format": "at-uri" 32 - }, 33 - "mentions": { 34 - "type": "array", 35 - "items": { 36 - "type": "string", 37 - "format": "did" 38 - } 31 + "type": "ref", 32 + "ref": "com.atproto.repo.strongRef" 39 33 }, 40 - "references": { 41 - "type": "array", 42 - "items": { 43 - "type": "string", 44 - "format": "at-uri" 45 - } 34 + "pullRoundIdx": { 35 + "type": "integer", 36 + "minimum": 1, 37 + "description": "optional pull submission round index. required when subject is sh.tangled.repo.pull" 46 38 } 47 39 } 48 40 }
+30
lexicons/markup/markup.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.markup", 4 + "defs": { 5 + "markdown": { 6 + "type": "object", 7 + "required": ["text"], 8 + "description": "Tangled Flavored Markdown format text", 9 + "properties": { 10 + "text": { 11 + "type": "string", 12 + "description": "Final post-processed markdown content that will be rendered" 13 + }, 14 + "original": { 15 + "type": "string", 16 + "description": "Original Markdown before post-processing. Used to restore original input on edit." 17 + }, 18 + "blobs": { 19 + "type": "array", 20 + "items": { 21 + "type": "blob", 22 + "accept": ["image/*"], 23 + "maxSize": 1000000 24 + }, 25 + "description": "list of blobs referenced in markdown" 26 + } 27 + } 28 + } 29 + } 30 + }

History

10 rounds 2 comments
sign up or login to add to the discussion
1 commit
expand
lexicons: com.atproto.repo.strongRef and sh.tangled.markup.markdown
3/3 failed
expand
no conflicts, ready to merge
expand 0 comments
1 commit
expand
lexicons: com.atproto.repo.strongRef and sh.tangled.markup.markdown
3/3 failed
expand
expand 0 comments
1 commit
expand
lexicons: com.atproto.repo.strongRef and sh.tangled.markup.markdown
3/3 failed
expand
expand 0 comments
1 commit
expand
lexicons: com.atproto.repo.strongRef and sh.tangled.markup.markdown
3/3 failed
expand
expand 0 comments
1 commit
expand
lexicons: com.atproto.repo.strongRef and sh.tangled.markup.markdown
3/3 failed
expand
expand 0 comments
1 commit
expand
lexicons: com.atproto.repo.strongRef and sh.tangled.markup.markdown
3/3 failed
expand
expand 0 comments
1 commit
expand
lexicons: com.atproto.repo.strongRef and sh.tangled.markup.markdown
3/3 failed
expand
expand 0 comments
1 commit
expand
lexicons: com.atproto.repo.strongRef and sh.tangled.markup.markdown
3/3 failed
expand
expand 2 comments

Have no idea why I set it to 1. will change to 0.

1 commit
expand
lexicons: com.atproto.repo.strongRef and sh.tangled.markup#markdown
3/3 failed
expand
expand 0 comments
boltless.me submitted #0
1 commit
expand
lexicons: com.atproto.repo.strongRef and sh.tangled.markup#markdown
3/3 failed
expand
expand 0 comments