From c47296a2b5e4bbc90df808ec751be58822490d51 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Wed, 30 Sep 2020 21:25:05 +0100 Subject: Add dummy form data for fetching form listings --- src/api/forms.ts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/api/forms.ts (limited to 'src/api') diff --git a/src/api/forms.ts b/src/api/forms.ts new file mode 100644 index 0000000..a0c27ce --- /dev/null +++ b/src/api/forms.ts @@ -0,0 +1,25 @@ +export interface Form { + name: string, + description: string, + open: boolean +} + +export function getForms(): Form[] { + return [ + { + name: "Ban Appeals", + description: "Appealing bans from the Discord server", + open: true + }, + { + name: "Insights 2020", + description: "Insights about the Python Discord community", + open: false + }, + { + name: "Code Jam Sign Ups", + description: "Insights about the Python Discord community", + open: false + } + ] +} -- cgit v1.2.3