aboutsummaryrefslogtreecommitdiff
path: root/api/word.ts
diff options
context:
space:
mode:
Diffstat (limited to 'api/word.ts')
-rw-r--r--api/word.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/api/word.ts b/api/word.ts
new file mode 100644
index 0000000..d2df69e
--- /dev/null
+++ b/api/word.ts
@@ -0,0 +1,15 @@
+import Glossary from "./glossary.ts";
+import APIBase from "./base.ts";
+
+export default class Word extends APIBase {
+ public writing: string = "TODO";
+ public reading: string = "TODO";
+
+ constructor() {
+ super();
+ }
+
+ async glossary() {
+ return new Glossary().withParent(await this.api);
+ }
+}