TypeScript types used around the CodeVideo ecosystem.
IAction - The bread and butter of all things CodeVideo. An action is defined by a name
and a value
and can perform all possible actions in the CodeVideo ecosystem.
A convience array of all possible action names is available at allActionStrings.
Action values are always strings, but typically represent a number when they are keyboard actions such as arrow-up
, enter
, etc.
More documentation to come...