feat: root level kv accesses, and installed app listing + server health check fix (#2719)

* feat: root level kv accesses, and installed app listing

* fix: revert server health check
This commit is contained in:
Daniel Salazar
2026-03-24 19:18:42 -07:00
committed by GitHub
parent c52fa351a5
commit e75ccb0a41
20 changed files with 1116 additions and 299 deletions
@@ -11,7 +11,6 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@types/express": "^4.17.21",
"@types/node": "^24.9.1",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
@@ -43,19 +43,14 @@ const createMethodDecorator = (method: HttpMethod) => {
adminUsernames?: string[],
) => {
const { allowedAppIds, ...options } = routeOptions ?? {};
return <
P extends Record<string, string | undefined> = Record<
string,
string | undefined
>,
>(
target: RequestHandler<P>,
return (
target: RequestHandler<any, any, any, any, any>,
_context: ClassMethodDecoratorContext<
This,
(
this: This,
...args: Parameters<RequestHandler<P>>
) => ReturnType<RequestHandler<P>>
...args: Parameters<RequestHandler<any, any, any, any, any>>
) => ReturnType<RequestHandler<any, any, any, any, any>>
>,
) => {
_context.addInitializer(function () {