🚀 feat(index.d.ts): add api(), project(), and collection() methods to global declaration
All checks were successful
continuous-integration/drone/push Build is passing

This commit adds three new methods to the global declaration file: api(), project(), and collection(). These methods return an object with any key-value pairs, allowing for more flexibility in the codebase.
This commit is contained in:
Sebastian Frank 2023-05-25 12:47:34 +00:00
parent 65626872e3
commit c0c3b2b593
Signed by: apairon
SSH Key Fingerprint: SHA256:lYVOnGlR42QHj7wuqfFgGw8cKbfyZUpzeRDGVBBAHQU

12
index.d.ts vendored
View File

@ -632,6 +632,18 @@ declare global {
bodyBytes(): string
}
api(): {
[key: string]: any
}
project(): {
[key: string]: any
}
collection(): {
[key: string]: any
}
db: DbPackage
smtp: SmtpPackage
fs: FsPackage