Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 1x 1x 1x 1x | /** Supported action types.
*/
export enum ActionType {
Accept = 'accept',
Reject = 'reject',
Unselected = 'unselected',
}
/** A consent Action represents a single input from a Subject.
*
* In the Cookie Consent flow, it might be opt-in/opt-out actions on a specific cookie.
*
* The Action is performed on a {@link target} object, which belongs to a {@link vendor}.
*/
export type Action = {
/** Target object of this Action. */
target: string
/** Vendor that owns the target object. */
vendor: string
/** Type of action performed on the target object. */
action: ActionType
}
|