summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--api/src/routes/applications/detectable.ts10
-rw-r--r--api/src/routes/outbound-promotions.ts10
-rw-r--r--api/src/routes/users/@me/affinities/users.ts (renamed from api/src/routes/users/@me/affinities/user.ts)0
-rw-r--r--api/src/routes/users/@me/applications/#app_id/entitlements.ts10
-rw-r--r--api/src/routes/users/@me/billing/country-code.ts10
-rw-r--r--api/src/routes/users/@me/billing/subscriptions.ts10
6 files changed, 50 insertions, 0 deletions
diff --git a/api/src/routes/applications/detectable.ts b/api/src/routes/applications/detectable.ts
new file mode 100644
index 00000000..e4fbe1e4
--- /dev/null
+++ b/api/src/routes/applications/detectable.ts
@@ -0,0 +1,10 @@
+import { Request, Response, Router } from "express";
+
+const router: Router = Router();
+
+router.get("/", async (req: Request, res: Response) => {
+	//TODO
+	res.json([]).status(200);
+});
+
+export default router;
\ No newline at end of file
diff --git a/api/src/routes/outbound-promotions.ts b/api/src/routes/outbound-promotions.ts
new file mode 100644
index 00000000..e4fbe1e4
--- /dev/null
+++ b/api/src/routes/outbound-promotions.ts
@@ -0,0 +1,10 @@
+import { Request, Response, Router } from "express";
+
+const router: Router = Router();
+
+router.get("/", async (req: Request, res: Response) => {
+	//TODO
+	res.json([]).status(200);
+});
+
+export default router;
\ No newline at end of file
diff --git a/api/src/routes/users/@me/affinities/user.ts b/api/src/routes/users/@me/affinities/users.ts
index 6d4e4991..6d4e4991 100644
--- a/api/src/routes/users/@me/affinities/user.ts
+++ b/api/src/routes/users/@me/affinities/users.ts
diff --git a/api/src/routes/users/@me/applications/#app_id/entitlements.ts b/api/src/routes/users/@me/applications/#app_id/entitlements.ts
new file mode 100644
index 00000000..e4fbe1e4
--- /dev/null
+++ b/api/src/routes/users/@me/applications/#app_id/entitlements.ts
@@ -0,0 +1,10 @@
+import { Request, Response, Router } from "express";
+
+const router: Router = Router();
+
+router.get("/", async (req: Request, res: Response) => {
+	//TODO
+	res.json([]).status(200);
+});
+
+export default router;
\ No newline at end of file
diff --git a/api/src/routes/users/@me/billing/country-code.ts b/api/src/routes/users/@me/billing/country-code.ts
new file mode 100644
index 00000000..ac3653a2
--- /dev/null
+++ b/api/src/routes/users/@me/billing/country-code.ts
@@ -0,0 +1,10 @@
+import { Request, Response, Router } from "express";
+
+const router: Router = Router();
+
+router.get("/", async (req: Request, res: Response) => {
+	//TODO
+	res.json({ "country_code": "US" }).status(200);
+});
+
+export default router;
\ No newline at end of file
diff --git a/api/src/routes/users/@me/billing/subscriptions.ts b/api/src/routes/users/@me/billing/subscriptions.ts
new file mode 100644
index 00000000..e4fbe1e4
--- /dev/null
+++ b/api/src/routes/users/@me/billing/subscriptions.ts
@@ -0,0 +1,10 @@
+import { Request, Response, Router } from "express";
+
+const router: Router = Router();
+
+router.get("/", async (req: Request, res: Response) => {
+	//TODO
+	res.json([]).status(200);
+});
+
+export default router;
\ No newline at end of file