📝 docs(index.d.ts): add server config object definition for better documentation
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:
2024-02-23 10:56:56 +00:00
parent 380bd89787
commit b0771bdfb5
Vendored
+14
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 {