mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 14:30:45 +00:00
refactor: trim dangerous name matching types
This commit is contained in:
@@ -1,17 +1,17 @@
|
|||||||
import type { OpenClawConfig } from "./config.js";
|
import type { OpenClawConfig } from "./config.js";
|
||||||
|
|
||||||
export type DangerousNameMatchingConfig = {
|
type DangerousNameMatchingConfig = {
|
||||||
dangerouslyAllowNameMatching?: boolean;
|
dangerouslyAllowNameMatching?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type ProviderDangerousNameMatchingScope = {
|
type ProviderDangerousNameMatchingScope = {
|
||||||
prefix: string;
|
prefix: string;
|
||||||
account: Record<string, unknown>;
|
account: Record<string, unknown>;
|
||||||
dangerousNameMatchingEnabled: boolean;
|
dangerousNameMatchingEnabled: boolean;
|
||||||
dangerousFlagPath: string;
|
dangerousFlagPath: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type DangerousNameMatchingResolverInput = {
|
type DangerousNameMatchingResolverInput = {
|
||||||
providerConfig?: DangerousNameMatchingConfig | null | undefined;
|
providerConfig?: DangerousNameMatchingConfig | null | undefined;
|
||||||
accountConfig?: DangerousNameMatchingConfig | null | undefined;
|
accountConfig?: DangerousNameMatchingConfig | null | undefined;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user