mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-18 19:07:26 +00:00
Gateway Secrets: allowlist unresolved secret ref label
This commit is contained in:
@@ -4,7 +4,10 @@ import { secretRefKey } from "../secrets/ref-contract.js";
|
||||
import { resolveSecretRefValues } from "../secrets/resolve.js";
|
||||
|
||||
export type SecretInputUnresolvedReasonStyle = "generic" | "detailed"; // pragma: allowlist secret
|
||||
export type ConfiguredSecretInputSource = "config" | "secretRef" | "fallback";
|
||||
export type ConfiguredSecretInputSource =
|
||||
| "config"
|
||||
| "secretRef" // pragma: allowlist secret
|
||||
| "fallback";
|
||||
|
||||
function trimToUndefined(value: unknown): string | undefined {
|
||||
if (typeof value !== "string") {
|
||||
|
||||
Reference in New Issue
Block a user