mirror of https://github.com/tycrek/ass
parent
76eecfcaa7
commit
35afc9cd0f
@ -1,2 +0,0 @@
|
||||
declare module '@tycrek/express-postcss';
|
||||
declare module '@tycrek/express-nofavicon';
|
@ -1,4 +1,4 @@
|
||||
import { Request, Response } from "express";
|
||||
import { Request, Response } from 'express';
|
||||
|
||||
declare global {
|
||||
namespace Express {
|
@ -0,0 +1,49 @@
|
||||
declare module 'ass-json' {
|
||||
interface Config {
|
||||
host: string
|
||||
port: number
|
||||
domain: string
|
||||
maxUploadSize: number
|
||||
isProxied: boolean
|
||||
useSsl: boolean
|
||||
resourceIdSize: number
|
||||
resourceIdType: string
|
||||
spaceReplace: string
|
||||
gfyIdSize: number
|
||||
mediaStrict: boolean
|
||||
viewDirect: boolean
|
||||
dataEngine: string
|
||||
frontendName: string
|
||||
indexFile: string
|
||||
useSia: boolean
|
||||
s3enabled: boolean
|
||||
s3endpoint: string
|
||||
s3bucket: string
|
||||
s3usePathStyle: boolean
|
||||
s3accessKey: string
|
||||
s3secretKey: string
|
||||
__WARNING__: string
|
||||
diskFilePath: string
|
||||
saveWithDate: boolean
|
||||
saveAsOriginal: boolean
|
||||
}
|
||||
|
||||
interface MagicNumbers {
|
||||
HTTP: number
|
||||
HTTPS: number
|
||||
CODE_OK: number
|
||||
CODE_NO_CONTENT: number
|
||||
CODE_UNAUTHORIZED: number
|
||||
CODE_NOT_FOUND: number
|
||||
CODE_PAYLOAD_TOO_LARGE: number
|
||||
CODE_UNSUPPORTED_MEDIA_TYPE: number
|
||||
CODE_INTERNAL_SERVER_ERROR: number
|
||||
KILOBYTES: number
|
||||
}
|
||||
|
||||
interface Package {
|
||||
name: string
|
||||
version: string
|
||||
homepage: string
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
declare module './setup' {
|
||||
export function doSetup(): void;
|
||||
}
|
||||
declare module '@tycrek/express-postcss';
|
||||
declare module '@tycrek/express-nofavicon';
|
||||
declare module '@tycrek/papito';
|
||||
declare module '@skynetlabs/skynet-nodejs';
|
Loading…
Reference in new issue