mirror of
https://github.com/PretendoNetwork/BOSS.git
synced 2026-04-26 08:18:02 -05:00
chore: update eslint-config
This commit is contained in:
parent
b88b611c6f
commit
de5036f80a
3431
package-lock.json
generated
3431
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
|
@ -34,7 +34,7 @@
|
||||||
"xmlbuilder": "^15.1.1"
|
"xmlbuilder": "^15.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@pretendonetwork/eslint-config": "^0.0.6",
|
"@pretendonetwork/eslint-config": "^0.1.1",
|
||||||
"@smithy/types": "^4.0.0",
|
"@smithy/types": "^4.0.0",
|
||||||
"@types/dicer": "^0.2.4",
|
"@types/dicer": "^0.2.4",
|
||||||
"@types/express": "^4.17.21",
|
"@types/express": "^4.17.21",
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,9 @@ npdl.get([
|
||||||
languageCode?: string;
|
languageCode?: string;
|
||||||
fileName: string;
|
fileName: string;
|
||||||
}, any, any, {
|
}, any, any, {
|
||||||
ap?: string;
|
ap?: string;
|
||||||
tm?: string;
|
tm?: string;
|
||||||
}>, response) => {
|
}>, response) => {
|
||||||
const { appID, taskID, countryCode, languageCode, fileName } = request.params;
|
const { appID, taskID, countryCode, languageCode, fileName } = request.params;
|
||||||
|
|
||||||
const file = await getTaskFile(appID, taskID, fileName, countryCode, languageCode);
|
const file = await getTaskFile(appID, taskID, fileName, countryCode, languageCode);
|
||||||
|
|
|
||||||
|
|
@ -15,14 +15,14 @@ npfl.get('/p01/filelist/:appID/:taskID', async (request: express.Request<{
|
||||||
appID: string;
|
appID: string;
|
||||||
taskID: string;
|
taskID: string;
|
||||||
}, any, any, {
|
}, any, any, {
|
||||||
c?: string;
|
c?: string;
|
||||||
l?: string;
|
l?: string;
|
||||||
a1?: string;
|
a1?: string;
|
||||||
a2?: string;
|
a2?: string;
|
||||||
a3?: string;
|
a3?: string;
|
||||||
ap?: string;
|
ap?: string;
|
||||||
tm?: string;
|
tm?: string;
|
||||||
}>, response) => {
|
}>, response) => {
|
||||||
for (const param in request.query) {
|
for (const param in request.query) {
|
||||||
// * Beats me why the real server does this.
|
// * Beats me why the real server does this.
|
||||||
// * Just doing accurate emulation ¯\_(ツ)_/¯
|
// * Just doing accurate emulation ¯\_(ツ)_/¯
|
||||||
|
|
|
||||||
2
src/types/express-subdomain.d.ts
vendored
2
src/types/express-subdomain.d.ts
vendored
|
|
@ -1,6 +1,6 @@
|
||||||
// * Credit to https://github.com/bmullan91/express-subdomain/pull/61 for the types!
|
// * Credit to https://github.com/bmullan91/express-subdomain/pull/61 for the types!
|
||||||
|
|
||||||
declare module 'express-subdomain'{
|
declare module 'express-subdomain' {
|
||||||
import type { Request, Response, Router } from 'express';
|
import type { Request, Response, Router } from 'express';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user