sync: update from private repo (03a03e4)
CI / build-and-test (push) Has been cancelled

This commit is contained in:
oss-sync
2026-06-09 14:04:19 +00:00
parent 454d6f957b
commit 8041bc62cc
8 changed files with 180 additions and 15 deletions
+4
View File
@@ -43,6 +43,7 @@ export function createAdminRouter(deps: McpApiDeps): Router {
oauthClientSecret: string;
oauthScopes: string;
staticToken: string;
authHeaderName: string;
enabled: boolean;
}>;
@@ -83,6 +84,7 @@ export function createAdminRouter(deps: McpApiDeps): Router {
oauthClientSecret: body.oauthClientSecret,
oauthScopes: body.oauthScopes ?? null,
staticToken: body.staticToken,
authHeaderName: body.authHeaderName ?? null,
enabled: body.enabled !== false,
createdBy: adminId,
});
@@ -263,6 +265,7 @@ export function createUserServersRouter(deps: McpApiDeps): Router {
oauthClientSecret: string;
oauthScopes: string;
staticToken: string;
authHeaderName: string;
enabled: boolean;
}>;
@@ -309,6 +312,7 @@ export function createUserServersRouter(deps: McpApiDeps): Router {
oauthClientSecret: body.oauthClientSecret,
oauthScopes: body.oauthScopes ?? null,
staticToken: body.staticToken,
authHeaderName: body.authHeaderName ?? null,
enabled: body.enabled !== false,
createdBy: userId,
});