couch-kit
    Preparing search index...

    Type Alias ActionSchema<A>

    ActionSchema: { [K in A["type"]]?: (action: A & { type: K }) => boolean }

    A map from action type strings to validator functions. Each validator receives the fully-typed action and returns true if the action is valid.

    Type Parameters