aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/forms.ts
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-09-30 21:42:47 +0100
committerGravatar GitHub <[email protected]>2020-09-30 21:42:47 +0100
commitbd171ec8ff84acef0b566efded1c355b336ae127 (patch)
tree08590244748ba796cacb46fd85bc1b09269b0156 /src/api/forms.ts
parentMerge pull request #13 from python-discord/animation/scale-transition-effect (diff)
parentUpdate tests with new FormListing props (diff)
Merge pull request #14 from python-discord/api/add-dummy-forms
Add dummy forms API
Diffstat (limited to 'src/api/forms.ts')
-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..7c2666a
--- /dev/null
+++ b/src/api/forms.ts
@@ -0,0 +1,25 @@
+export interface Form {
+ title: string,
+ description: string,
+ open: boolean
+}
+
+export function getForms(): Form[] {
+ return [
+ {
+ title: "Ban Appeals",
+ description: "Appealing bans from the Discord server",
+ open: true
+ },
+ {
+ title: "Insights 2020",
+ description: "Insights about the Python Discord community",
+ open: false
+ },
+ {
+ title: "Code Jam 2099 Sign Ups",
+ description: "Signing up for Python Discord's millionth code jam!",
+ open: false
+ }
+ ]
+}