mirror of
https://github.com/HeyPuter/puter.git
synced 2026-10-07 04:12:36 +00:00
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:
1 parent
c52fa351a5
commit
e75ccb0a41
20 files changed
+1116
-299
No files matched your search
@@ -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 () {
|
||||
|
||||
Reference in new issue
Block a user