AT-based link agregator. Mirror of https://github.com/likeandscribe/frontpage

Paragraph block text should be required

tom.sherman.is 684fc71c 453634b5

verified
+3 -1
+1
lexicons/fyi/frontpage/richtext/block.json
··· 14 }, 15 "plaintextParagraph": { 16 "type": "object", 17 "properties": { 18 "text": { 19 "type": "string",
··· 14 }, 15 "plaintextParagraph": { 16 "type": "object", 17 + "required": ["text"], 18 "properties": { 19 "text": { 20 "type": "string",
+1
packages/frontpage-atproto-client/src/lexicons.ts
··· 897 }, 898 plaintextParagraph: { 899 type: "object", 900 properties: { 901 text: { 902 type: "string",
··· 897 }, 898 plaintextParagraph: { 899 type: "object", 900 + required: ["text"], 901 properties: { 902 text: { 903 type: "string",
+1 -1
packages/frontpage-atproto-client/src/types/fyi/frontpage/richtext/block.ts
··· 31 32 export interface PlaintextParagraph { 33 $type?: "fyi.frontpage.richtext.block#plaintextParagraph"; 34 - text?: string; 35 } 36 37 const hashPlaintextParagraph = "plaintextParagraph";
··· 31 32 export interface PlaintextParagraph { 33 $type?: "fyi.frontpage.richtext.block#plaintextParagraph"; 34 + text: string; 35 } 36 37 const hashPlaintextParagraph = "plaintextParagraph";