📝 docs(index.d.ts): add server config object definition for better documentation
All checks were successful
continuous-integration/drone/push Build is passing

The server config object definition has been added to the global declaration file to provide clear documentation on the structure of the server configuration object. This will help developers understand the expected format of the server configuration object and its properties.
This commit is contained in:
Sebastian Frank 2024-02-23 10:56:56 +00:00
parent 380bd89787
commit b0771bdfb5
Signed by: apairon
SSH Key Fingerprint: SHA256:lYVOnGlR42QHj7wuqfFgGw8cKbfyZUpzeRDGVBBAHQU

14
index.d.ts vendored
View File

@ -116,6 +116,20 @@ declare global {
project(): {
[key: string]: any
}
/**
* get server config object
*
*/
server(): {
api: {
port: number
}
security: {
allowAbsolutePaths: boolean
allowUpperPaths: boolean
}
}
}
interface DbPackage {