refactor: trim dangerous name matching types

This commit is contained in:
Peter Steinberger
2026-05-02 02:21:25 +01:00
parent 06be5eee6a
commit b97ba0ade2

View File

@@ -1,17 +1,17 @@
import type { OpenClawConfig } from "./config.js";
export type DangerousNameMatchingConfig = {
type DangerousNameMatchingConfig = {
dangerouslyAllowNameMatching?: boolean;
};
export type ProviderDangerousNameMatchingScope = {
type ProviderDangerousNameMatchingScope = {
prefix: string;
account: Record<string, unknown>;
dangerousNameMatchingEnabled: boolean;
dangerousFlagPath: string;
};
export type DangerousNameMatchingResolverInput = {
type DangerousNameMatchingResolverInput = {
providerConfig?: DangerousNameMatchingConfig | null | undefined;
accountConfig?: DangerousNameMatchingConfig | null | undefined;
};