2 spaces tab, prettier command

This commit is contained in:
Ordis 2023-06-01 19:10:48 +02:00
parent 3e4d0e105f
commit bd4ea5c944
47 changed files with 3170 additions and 3191 deletions

View File

@ -1,5 +1,5 @@
{
"tabWidth": 4,
"tabWidth": 2,
"useTabs": false,
"endOfLine": "auto",
"trailingComma": "none",

View File

@ -7,7 +7,8 @@
"start": "node build/index.js",
"dev": "ts-node-dev --openssl-legacy-provider -r tsconfig-paths/register src/index.ts",
"build": "tsc",
"lint": "eslint --ext .ts ."
"lint": "eslint --ext .ts .",
"pretty": "prettier --write \"./**/*.{js,jsx,ts,tsx,json}\""
},
"license": "GNU",
"dependencies": {

View File

@ -2,9 +2,9 @@ import { RequestHandler } from "express";
const checkDailyMissionBonusController: RequestHandler = (_req, res) => {
const data = Buffer.from([
0x44, 0x61, 0x69, 0x6c, 0x79, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x3a,
0x31, 0x2d, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x50, 0x56, 0x50, 0x57, 0x69, 0x6e, 0x42, 0x6f, 0x6e, 0x75, 0x73,
0x3a, 0x31, 0x0a
0x44, 0x61, 0x69, 0x6c, 0x79, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x3a, 0x31,
0x2d, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x50, 0x56, 0x50, 0x57, 0x69, 0x6e, 0x42, 0x6f, 0x6e, 0x75, 0x73, 0x3a, 0x31,
0x0a
]);
res.writeHead(200, {
"Content-Type": "text/html",

View File

@ -2,8 +2,8 @@ import { RequestHandler } from "express";
const findSessionsController: RequestHandler = (_req, res) => {
const data = Buffer.from([
0x7b, 0x22, 0x71, 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x22, 0x3a, 0x31, 0x2c, 0x22, 0x53, 0x65, 0x73, 0x73,
0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3a, 0x5b, 0x5d, 0x7d
0x7b, 0x22, 0x71, 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x22, 0x3a, 0x31, 0x2c, 0x22, 0x53, 0x65, 0x73, 0x73, 0x69,
0x6f, 0x6e, 0x73, 0x22, 0x3a, 0x5b, 0x5d, 0x7d
]);
res.writeHead(200, {

View File

@ -7,8 +7,8 @@ const getIgnoredUsersController: RequestHandler = (_req, res) => {
});
res.end(
Buffer.from([
0x7b, 0x22, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x22, 0x3a, 0x38, 0x33, 0x30, 0x34, 0x30, 0x37, 0x37, 0x32, 0x32,
0x34, 0x30, 0x32, 0x32, 0x32, 0x36, 0x31, 0x35, 0x30, 0x31, 0x7d
0x7b, 0x22, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x22, 0x3a, 0x38, 0x33, 0x30, 0x34, 0x30, 0x37, 0x37, 0x32, 0x32, 0x34,
0x30, 0x32, 0x32, 0x32, 0x36, 0x31, 0x35, 0x30, 0x31, 0x7d
])
);
};

View File

@ -2,9 +2,9 @@ import { RequestHandler } from "express";
const marketRecommendationsController: RequestHandler = (_req, res) => {
const data = Buffer.from([
0x7b, 0x22, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3a, 0x7b, 0x22, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x64, 0x22,
0x3a, 0x5b, 0x5d, 0x2c, 0x22, 0x50, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x72, 0x22, 0x3a, 0x5b, 0x5d, 0x7d, 0x7d
0x7b, 0x22, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3a, 0x7b, 0x22, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x64, 0x22, 0x3a, 0x5b,
0x5d, 0x2c, 0x22, 0x50, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x72, 0x22, 0x3a, 0x5b, 0x5d, 0x7d, 0x7d
]);
res.writeHead(200, {
"Content-Type": "text/html",

View File

@ -52,9 +52,7 @@
},
{
"_id": { "$oid": "62ff8739293d0365d3046528" },
"Messages": [
{ "LanguageCode": "fr", "Message": "[Guide] Que faire après avoir terminé \"Le Trophée de Vor\"" }
],
"Messages": [{ "LanguageCode": "fr", "Message": "[Guide] Que faire après avoir terminé \"Le Trophée de Vor\"" }],
"Prop": "https://forums.warframe.com/topic/1315672-guide-que-faire-apr%C3%A8s-avoir-termin%C3%A9-le-troph%C3%A9e-de-vor/",
"Date": { "$date": { "$numberLong": "1660913400000" } },
"ImageUrl": "https://n9e5v4d8.ssl.hwcdn.net/uploads/0bd16bb52c55ec09ca1168becb87b030.png",
@ -429,9 +427,7 @@
},
{
"_id": { "$oid": "646e6a4cf16914573401c77b" },
"Messages": [
{ "LanguageCode": "tr", "Message": "Noranın Derlemesi - 3. Seri Tamamlandı + 4. Seri Sizlerle!" }
],
"Messages": [{ "LanguageCode": "tr", "Message": "Noranın Derlemesi - 3. Seri Tamamlandı + 4. Seri Sizlerle!" }],
"Prop": "https://forums.warframe.com/topic/1354223-nora%E2%80%99n%C4%B1n-derlemesi-seri-3-tamamland%C4%B1-seri-4-24-may%C4%B1s%E2%80%99ta-sizlerle/",
"Date": { "$date": { "$numberLong": "1684957500000" } },
"Priority": false,
@ -440,9 +436,7 @@
},
{
"_id": { "$oid": "646fbefdeaa2199bc406b117" },
"Messages": [
{ "LanguageCode": "es", "Message": "La Paradoja de Duviri: Revisión 33.0.11 + Revisión 33.0.12" }
],
"Messages": [{ "LanguageCode": "es", "Message": "La Paradoja de Duviri: Revisión 33.0.11 + Revisión 33.0.12" }],
"Prop": "https://forums.warframe.com/topic/1354406-la-paradoja-de-duviri-revisi%C3%B3n-33011-revisi%C3%B3n-33012/",
"Date": { "$date": { "$numberLong": "1685044920000" } },
"Priority": false,
@ -468,9 +462,7 @@
},
{
"_id": { "$oid": "64751514ef6fa74efd0b624e" },
"Messages": [
{ "LanguageCode": "en", "Message": " PSA: Hotfix pause until The 7 Crimes of Kullervo Update" }
],
"Messages": [{ "LanguageCode": "en", "Message": " PSA: Hotfix pause until The 7 Crimes of Kullervo Update" }],
"Prop": "https://forums.warframe.com/topic/1355007-psa-hotfixing-paused-until-the-7-crimes-of-kullervo/",
"Date": { "$date": { "$numberLong": "1685394600000" } },
"Priority": true,
@ -491,9 +483,7 @@
},
{
"_id": { "$oid": "6475175603028af6f50769e3" },
"Messages": [
{ "LanguageCode": "en", "Message": "Twitch Drops: Community Stream Schedule May 29 to June 2!" }
],
"Messages": [{ "LanguageCode": "en", "Message": "Twitch Drops: Community Stream Schedule May 29 to June 2!" }],
"Prop": "https://forums.warframe.com/topic/1355012-community-stream-schedule-may-29-june-2/?utm_medium=in-game&utm_source=in-game&utm_campaign=2023-05-Community-Streams-29",
"Date": { "$date": { "$numberLong": "1685395200000" } },
"Priority": false,
@ -544,9 +534,7 @@
},
{
"_id": { "$oid": "64764bd4931e7ae47f0d1a60" },
"Messages": [
{ "LanguageCode": "es", "Message": "La Paradoja de Duviri: Revisión 33.0.13 + Revisión 33.0.14" }
],
"Messages": [{ "LanguageCode": "es", "Message": "La Paradoja de Duviri: Revisión 33.0.13 + Revisión 33.0.14" }],
"Prop": "https://forums.warframe.com/topic/1355129-la-paradoja-de-duviri-revisi%C3%B3n-33013-revisi%C3%B3n-33014/",
"Date": { "$date": { "$numberLong": "1685474220000" } },
"Priority": false,
@ -1090,15 +1078,7 @@
"Expiry": { "$date": { "$numberLong": "1685635140000" } },
"Tag": "RedVeilSyndicate",
"Seed": 78309,
"Nodes": [
"SolNode15",
"SolNode106",
"SettlementNode3",
"SolNode224",
"SolNode401",
"SolNode76",
"SolNode62"
]
"Nodes": ["SolNode15", "SolNode106", "SettlementNode3", "SolNode224", "SolNode401", "SolNode76", "SolNode62"]
},
{
"_id": { "$oid": "64776ec6e72990bfd5fea4f3" },
@ -1763,9 +1743,7 @@
"Completed": true,
"ChainID": { "$oid": "646fdcb95a219384bdbbd5f1" },
"AttackerReward": {
"countedItems": [
{ "ItemType": "/Lotus/Types/Recipes/Weapons/SnipetronVandalBlueprint", "ItemCount": 1 }
]
"countedItems": [{ "ItemType": "/Lotus/Types/Recipes/Weapons/SnipetronVandalBlueprint", "ItemCount": 1 }]
},
"AttackerMissionInfo": { "seed": 181914, "faction": "FC_GRINEER" },
"DefenderReward": {