mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-06 15:18:58 +00:00
refactor: trim core local type exports
This commit is contained in:
@@ -84,7 +84,7 @@ export function resolveOpenClawCompileCacheDirectory(params: {
|
||||
);
|
||||
}
|
||||
|
||||
export type OpenClawCompileCacheRespawnPlan = {
|
||||
type OpenClawCompileCacheRespawnPlan = {
|
||||
command: string;
|
||||
args: string[];
|
||||
env: NodeJS.ProcessEnv;
|
||||
|
||||
@@ -7,7 +7,7 @@ export const EXPERIMENTAL_WARNING_FLAG = "--disable-warning=ExperimentalWarning"
|
||||
export const OPENCLAW_NODE_OPTIONS_READY = "OPENCLAW_NODE_OPTIONS_READY";
|
||||
export const OPENCLAW_NODE_EXTRA_CA_CERTS_READY = "OPENCLAW_NODE_EXTRA_CA_CERTS_READY";
|
||||
|
||||
export type CliRespawnPlan = {
|
||||
type CliRespawnPlan = {
|
||||
command: string;
|
||||
argv: string[];
|
||||
env: NodeJS.ProcessEnv;
|
||||
@@ -29,7 +29,7 @@ export function resolveCliRespawnCommand(params: {
|
||||
return params.execPath;
|
||||
}
|
||||
|
||||
export function hasExperimentalWarningSuppressed(
|
||||
function hasExperimentalWarningSuppressed(
|
||||
params: {
|
||||
env?: NodeJS.ProcessEnv;
|
||||
execArgv?: string[];
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { readSnakeCaseParamRaw } from "./param-key.js";
|
||||
import { normalizeLowercaseStringOrEmpty } from "./shared/string-coerce.js";
|
||||
|
||||
export type PollCreationParamKind = "string" | "stringArray" | "number" | "boolean";
|
||||
type PollCreationParamKind = "string" | "stringArray" | "number" | "boolean";
|
||||
|
||||
export type PollCreationParamDef = {
|
||||
type PollCreationParamDef = {
|
||||
kind: PollCreationParamKind;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user