1 | import { Group } from '../types';
|
2 | import { FeaturesAction } from '../../client';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | export declare enum ActionType {
|
8 | UPDATE = "APP::FEATURES::UPDATE",
|
9 | REQUEST = "APP::FEATURES::REQUEST",
|
10 | REQUEST_UPDATE = "APP::FEATURES::REQUEST::UPDATE"
|
11 | }
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | export declare enum Action {
|
17 | UPDATE = "UPDATE",
|
18 | REQUEST = "REQUEST",
|
19 | REQUEST_UPDATE = "REQUEST::UPDATE"
|
20 | }
|
21 |
|
22 |
|
23 |
|
24 |
|
25 | export interface Options {
|
26 | readonly id?: string;
|
27 | }
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | export interface RequestOptions extends Options {
|
33 | feature: Group;
|
34 | action?: String;
|
35 | }
|
36 |
|
37 |
|
38 |
|
39 |
|
40 | export interface RequestUpdateOptions extends Options {
|
41 | feature: FeaturesAction;
|
42 | }
|