mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-26 22:39:31 +00:00
12 lines
465 B
TypeScript
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;
|
|
};
|