mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-06 14:51:08 +00:00
14 lines
395 B
TypeScript
14 lines
395 B
TypeScript
export {
|
|
collectRuntimeConfigAssignments,
|
|
secretTargetRegistryEntries,
|
|
} from "./src/secret-contract.js";
|
|
|
|
export function hasConfiguredState(params: { env?: NodeJS.ProcessEnv }): boolean {
|
|
return (
|
|
typeof params.env?.IRC_HOST === "string" &&
|
|
params.env.IRC_HOST.trim().length > 0 &&
|
|
typeof params.env?.IRC_NICK === "string" &&
|
|
params.env.IRC_NICK.trim().length > 0
|
|
);
|
|
}
|