mirror of
https://github.com/PretendoNetwork/BOSS.git
synced 2026-09-07 08:36:38 -05:00
chore: update eslint-config
This commit is contained in:
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"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@pretendonetwork/eslint-config": "^0.0.6",
|
||||
"@pretendonetwork/eslint-config": "^0.1.1",
|
||||
"@smithy/types": "^4.0.0",
|
||||
"@types/dicer": "^0.2.4",
|
||||
"@types/express": "^4.17.21",
|
||||
|
||||
@@ -18,9 +18,9 @@ npdl.get([
|
||||
languageCode?: string;
|
||||
fileName: string;
|
||||
}, any, any, {
|
||||
ap?: string;
|
||||
tm?: string;
|
||||
}>, response) => {
|
||||
ap?: string;
|
||||
tm?: string;
|
||||
}>, response) => {
|
||||
const { appID, taskID, countryCode, languageCode, fileName } = request.params;
|
||||
|
||||
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;
|
||||
taskID: string;
|
||||
}, any, any, {
|
||||
c?: string;
|
||||
l?: string;
|
||||
a1?: string;
|
||||
a2?: string;
|
||||
a3?: string;
|
||||
ap?: string;
|
||||
tm?: string;
|
||||
}>, response) => {
|
||||
c?: string;
|
||||
l?: string;
|
||||
a1?: string;
|
||||
a2?: string;
|
||||
a3?: string;
|
||||
ap?: string;
|
||||
tm?: string;
|
||||
}>, response) => {
|
||||
for (const param in request.query) {
|
||||
// * Beats me why the real server does this.
|
||||
// * 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!
|
||||
|
||||
declare module 'express-subdomain'{
|
||||
declare module 'express-subdomain' {
|
||||
import type { Request, Response, Router } from 'express';
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user