fix: allow remote gateway password config

This commit is contained in:
Peter Steinberger
2026-01-02 00:17:54 +01:00
parent 8a2168ecf6
commit 23a29216d3
2 changed files with 6 additions and 1 deletions

View File

@@ -308,6 +308,8 @@ export type GatewayRemoteConfig = {
url?: string;
/** Token for remote auth (when the gateway requires token auth). */
token?: string;
/** Password for remote auth (when the gateway requires password auth). */
password?: string;
};
export type GatewayConfig = {
@@ -973,6 +975,7 @@ const ClawdisSchema = z.object({
.object({
url: z.string().optional(),
token: z.string().optional(),
password: z.string().optional(),
})
.optional(),
})