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

Subject should be required

tom.sherman.is 24cf90c3 a6727133

verified
+3 -3
+1 -1
lexicons/fyi/frontpage/feed/post.json
··· 8 "key": "tid", 9 "record": { 10 "type": "object", 11 - "required": ["title", "createdAt"], 12 "properties": { 13 "title": { 14 "type": "string",
··· 8 "key": "tid", 9 "record": { 10 "type": "object", 11 + "required": ["title", "createdAt", "subject"], 12 "properties": { 13 "title": { 14 "type": "string",
+1 -1
packages/frontpage-atproto-client/src/lexicons.ts
··· 817 key: "tid", 818 record: { 819 type: "object", 820 - required: ["title", "createdAt"], 821 properties: { 822 title: { 823 type: "string",
··· 817 key: "tid", 818 record: { 819 type: "object", 820 + required: ["title", "createdAt", "subject"], 821 properties: { 822 title: { 823 type: "string",
+1 -1
packages/frontpage-atproto-client/src/types/fyi/frontpage/feed/post.ts
··· 18 $type: "fyi.frontpage.feed.post"; 19 /** The title of the post. */ 20 title: string; 21 - subject?: $Typed<UrlSubject> | { $type: string }; 22 /** Client-declared timestamp when this post was originally created. */ 23 createdAt: string; 24 [k: string]: unknown;
··· 18 $type: "fyi.frontpage.feed.post"; 19 /** The title of the post. */ 20 title: string; 21 + subject: $Typed<UrlSubject> | { $type: string }; 22 /** Client-declared timestamp when this post was originally created. */ 23 createdAt: string; 24 [k: string]: unknown;