aboutsummaryrefslogtreecommitdiff
path: root/core/direct
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-06-28 23:59:50 +0200
committerlonkaars <loek@pipeframe.xyz>2023-06-28 23:59:50 +0200
commit67dbb6421976254658c5e38045513129dd18187a (patch)
tree288b599d1097b26bdbcad3b6749b38e133017cf2 /core/direct
initial public commit
Diffstat (limited to 'core/direct')
-rw-r--r--core/direct/client.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/direct/client.ts b/core/direct/client.ts
new file mode 100644
index 0000000..fda4b60
--- /dev/null
+++ b/core/direct/client.ts
@@ -0,0 +1,11 @@
+import API from "../api.ts";
+import YomikunRAWAPI from "../raw/api.ts";
+
+/**
+ * @summary Yomikun direct API
+ *
+ * Alias to YomikunRAWAPI. calls API methods directly, and thus only works
+ * server-side. Used to test the API locally without HTTP overhead.
+ */
+export default class YomikunDirectAPIClient extends YomikunRAWAPI implements API { }
+