chore: update eslint-config
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled

This commit is contained in:
William Oldham 2025-08-16 19:42:46 +01:00
parent b88b611c6f
commit de5036f80a
5 changed files with 2404 additions and 1053 deletions

3431
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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",

View File

@ -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);

View File

@ -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 ¯\_(ツ)_/¯

View File

@ -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';
/** /**