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)2
-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, 51 insertions, 1 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 0790a8a4..db67ab71 100644
--- a/api/src/routes/users/@me/affinities/user.ts
+++ b/api/src/routes/users/@me/affinities/users.ts
@@ -3,7 +3,7 @@ import { Router, Response, Request } from "express";
 const router = Router();
 
 router.get("/", (req: Request, res: Response) => {
-	// TODO:
+	//TODO
 	res.status(200).send({ user_affinities: [], inverse_user_affinities: [] });
 });
 
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