Dummy sticker-packs routes
This commit is contained in:
parent
75c43b7db3
commit
0506d40aa1
18
api/src/routes/sticker-packs/#id/index.ts
Normal file
18
api/src/routes/sticker-packs/#id/index.ts
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
import { Request, Response, Router } from "express";
|
||||||
|
|
||||||
|
const router: Router = Router();
|
||||||
|
|
||||||
|
router.get("/", async (req: Request, res: Response) => {
|
||||||
|
//TODO
|
||||||
|
res.json({
|
||||||
|
id: "",
|
||||||
|
stickers: [],
|
||||||
|
name: "",
|
||||||
|
sku_id: "",
|
||||||
|
cover_sticker_id: "",
|
||||||
|
description: "",
|
||||||
|
banner_asset_id: ""
|
||||||
|
}).status(200);
|
||||||
|
});
|
||||||
|
|
||||||
|
export default router;
|
10
api/src/routes/sticker-packs/index.ts
Normal file
10
api/src/routes/sticker-packs/index.ts
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
import { Request, Response, Router } from "express";
|
||||||
|
|
||||||
|
const router: Router = Router();
|
||||||
|
|
||||||
|
router.get("/", async (req: Request, res: Response) => {
|
||||||
|
//TODO
|
||||||
|
res.json({ sticker_packs: [] }).status(200);
|
||||||
|
});
|
||||||
|
|
||||||
|
export default router;
|
Loading…
x
Reference in New Issue
Block a user