a bit timeout

This commit is contained in:
2022-04-18 21:42:20 +03:00
parent 2e159814e4
commit 544046f43d
14 changed files with 149 additions and 1 deletions

19
dist/routes/banner/data.json vendored Normal file
View File

@@ -0,0 +1,19 @@
{
"data": [
{
"title": "Подсказка на сегодня",
"body": "Подберите задачки под свой уровень сложности, решите её и наращивайте навык",
"icon": "allGood"
},
{
"title": "Подсказка на завтра",
"body": "Не забудь сутра выпить кофе",
"icon": "coding"
},
{
"title": "Подсказка на вчера",
"body": "Забыл сутра выпить кофе?",
"icon": "askingQuestion"
}
]
}

1
dist/routes/banner/index.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
export declare const bannerRouter: import("express-serve-static-core").Router;

12
dist/routes/banner/index.js vendored Normal file
View File

@@ -0,0 +1,12 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.bannerRouter = void 0;
const express_1 = require("express");
const data_json_1 = __importDefault(require("./data.json"));
exports.bannerRouter = (0, express_1.Router)();
exports.bannerRouter.get('/banner-data', (req, res) => {
res.send(data_json_1.default);
});