aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-09-30 21:25:05 +0100
committerGravatar Joe Banks <[email protected]>2020-09-30 21:25:05 +0100
commitc47296a2b5e4bbc90df808ec751be58822490d51 (patch)
treec96f4c9bc75a6b50360eadaecba956df7225737b /src/api
parentMerge pull request #13 from python-discord/animation/scale-transition-effect (diff)
Add dummy form data for fetching form listings
Diffstat (limited to 'src/api')
-rw-r--r--src/api/forms.ts25
1 files changed, 25 insertions, 0 deletions
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
+ }
+ ]
+}