feat: use json schema to get all announcements

This commit is contained in:
2025-12-23 14:22:44 -08:00
parent 5b99450b7c
commit 7dcb20f4e4
11 changed files with 415 additions and 134 deletions
@@ -0,0 +1,24 @@
/**
* @copyright NHCarrigan
* @license Naomi's Public License
* @author Naomi Carrigan
*/
/**
* This should match the JSON schema for the announcement response.
* @see {@link announcementJsonSchema}
*/
export interface AnnouncementResponse {
bluesky: Array<string>;
discord: {
content: string;
title: string;
};
facebook: string;
linkedin: string;
reddit: {
content: string;
title: string;
};
twitter: Array<string>;
}