diff --git a/src/tracers.ts/action-type.ts b/src/tracers.ts/action-type.ts index 5f1bd5b..a5860d6 100644 --- a/src/tracers.ts/action-type.ts +++ b/src/tracers.ts/action-type.ts @@ -12,11 +12,38 @@ export const ARRAY_TRACER_ACTIONS = [ export type ArrayTracerAction = (typeof ARRAY_TRACER_ACTIONS)[number]; export const STACK_TRACER_ACTIONS = [ - // 'define', - 'push', + 'pick', + 'drop', + 'patch', + 'reset', ] as const; export type StackTracerAction = (typeof STACK_TRACER_ACTIONS)[number]; -export type TracerAction = ArrayTracerAction | StackTracerAction; +export const QUEUE_TRACER_ACTIONS = [ + 'define', + 'pick', + 'drop', + 'patch', + 'reset', +] as const; + +export type QueueTracerAction = (typeof QUEUE_TRACER_ACTIONS)[number]; + +export const MATRIX_TRACER_ACTIONS = [ + 'define', + 'preset', + 'pick', + 'drop', + 'patch', + 'reset', +] as const; + +export type MatrixTracerAction = (typeof MATRIX_TRACER_ACTIONS)[number]; + +export type TracerAction = + | ArrayTracerAction + | StackTracerAction + | QueueTracerAction + | MatrixTracerAction;