Files
openclaw/src/auto-reply/commands-args.types.ts
2026-06-03 19:14:43 -04:00

12 lines
465 B
TypeScript

// Shared command argument shapes for auto-reply command parsing.
/** Primitive values accepted by parsed auto-reply command args. */
export type CommandArgValue = string | number | boolean | bigint;
/** Named parsed auto-reply command values. */
export type CommandArgValues = Record<string, CommandArgValue>;
/** Parsed command argument bundle with raw source and structured values. */
export type CommandArgs = {
raw?: string;
values?: CommandArgValues;
};