commandbar 1.6.6 → 1.6.7
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/build/commandbar-js/src/index.d.ts +0 -10
- package/build/commandbar-js/src/index.js +0 -1
- package/build/commandbar-js/src/init.d.ts +0 -21
- package/build/commandbar-js/src/snippet.d.ts +0 -1
- package/build/internal/src/client/AddContextOptions.d.ts +0 -57
- package/build/internal/src/client/AnalyticsEventTypes.d.ts +0 -1
- package/build/internal/src/client/CommandBarClientSDK.d.ts +0 -254
- package/build/internal/src/client/CommandBarProxySDK.d.ts +0 -48
- package/build/internal/src/client/CommandBarSDK.d.ts +0 -43
- package/build/internal/src/client/EventHandler.d.ts +0 -89
- package/build/internal/src/client/SDKConfig.d.ts +0 -13
- package/build/internal/src/client/SentryReporter.d.ts +0 -41
- package/build/internal/src/client/globals.d.ts +0 -18
- package/build/internal/src/client/proxy.d.ts +0 -15
- package/build/internal/src/client/symbols.d.ts +0 -30
- package/build/internal/src/middleware/CommandFromClientV.d.ts +0 -205
- package/build/internal/src/middleware/ICommandFromClientType.d.ts +0 -3
- package/build/internal/src/middleware/IResourceSettings.d.ts +0 -3
- package/build/internal/src/middleware/OrganizationV.d.ts +0 -102
- package/build/internal/src/middleware/ResourceSettingsV.d.ts +0 -43
- package/build/internal/src/middleware/command.d.ts +0 -2852
- package/build/internal/src/middleware/commandCategory.d.ts +0 -87
- package/build/internal/src/middleware/context.d.ts +0 -40
- package/build/internal/src/middleware/environment.d.ts +0 -11
- package/build/internal/src/middleware/generics.d.ts +0 -32
- package/build/internal/src/middleware/guide.d.ts +0 -37
- package/build/internal/src/middleware/helpers/argument.d.ts +0 -404
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +0 -129
- package/build/internal/src/middleware/helpers/endUser.d.ts +0 -10
- package/build/internal/src/middleware/helpers/rules.d.ts +0 -231
- package/build/internal/src/middleware/historyEvent.d.ts +0 -40
- package/build/internal/src/middleware/network.d.ts +0 -4
- package/build/internal/src/middleware/organization.d.ts +0 -589
- package/build/internal/src/middleware/placeholder.d.ts +0 -47
- package/build/internal/src/middleware/profile.d.ts +0 -11
- package/build/internal/src/middleware/releases.d.ts +0 -261
- package/build/internal/src/middleware/skin.d.ts +0 -66
- package/build/internal/src/middleware/types.d.ts +0 -359
- package/build/internal/src/middleware/user.d.ts +0 -12
- package/build/internal/src/util/Disposable.d.ts +0 -17
- package/build/internal/src/util/LocalStorage.d.ts +0 -6
- package/build/internal/src/util/Logger.d.ts +0 -18
- package/build/internal/src/util/dispatchCustomEvent.d.ts +0 -2
@@ -1,129 +0,0 @@
|
|
1
|
-
/*******************************************************************************/
|
2
|
-
import * as t from 'io-ts';
|
3
|
-
/*******************************************************************************/
|
4
|
-
export declare const TemplateOptionsV: t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
5
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
6
|
-
object: t.StringC;
|
7
|
-
hoverTooltip: t.BooleanC;
|
8
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
9
|
-
}>]>;
|
10
|
-
export declare const AdminTemplateV: t.IntersectionC<[t.TypeC<{
|
11
|
-
type: t.LiteralC<"admin">;
|
12
|
-
value: t.StringC;
|
13
|
-
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
14
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
15
|
-
object: t.StringC;
|
16
|
-
hoverTooltip: t.BooleanC;
|
17
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
18
|
-
}>]>]>;
|
19
|
-
export declare const CallbackTemplateV: t.IntersectionC<[t.TypeC<{
|
20
|
-
type: t.LiteralC<"callback">;
|
21
|
-
value: t.StringC;
|
22
|
-
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
23
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
24
|
-
object: t.StringC;
|
25
|
-
hoverTooltip: t.BooleanC;
|
26
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
27
|
-
}>]>]>;
|
28
|
-
export declare const LinkTemplateV: t.IntersectionC<[t.TypeC<{
|
29
|
-
type: t.LiteralC<"link">;
|
30
|
-
value: t.StringC;
|
31
|
-
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
32
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
33
|
-
object: t.StringC;
|
34
|
-
hoverTooltip: t.BooleanC;
|
35
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
36
|
-
}>]>]>;
|
37
|
-
export declare const ClickTemplateV: t.IntersectionC<[t.TypeC<{
|
38
|
-
type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
|
39
|
-
value: t.ArrayC<t.StringC>;
|
40
|
-
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
41
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
42
|
-
object: t.StringC;
|
43
|
-
hoverTooltip: t.BooleanC;
|
44
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
45
|
-
}>]>]>;
|
46
|
-
export declare const BuiltInTemplateV: t.IntersectionC<[t.TypeC<{
|
47
|
-
type: t.LiteralC<"builtin">;
|
48
|
-
value: t.StringC;
|
49
|
-
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
50
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
51
|
-
object: t.StringC;
|
52
|
-
hoverTooltip: t.BooleanC;
|
53
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
54
|
-
}>]>]>;
|
55
|
-
export declare const WebhookTemplateV: t.IntersectionC<[t.TypeC<{
|
56
|
-
type: t.LiteralC<"webhook">;
|
57
|
-
value: t.StringC;
|
58
|
-
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
59
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
60
|
-
object: t.StringC;
|
61
|
-
hoverTooltip: t.BooleanC;
|
62
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
63
|
-
}>]>]>;
|
64
|
-
export declare const ScriptTemplateV: t.IntersectionC<[t.TypeC<{
|
65
|
-
type: t.LiteralC<"script">;
|
66
|
-
value: t.StringC;
|
67
|
-
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
68
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
69
|
-
object: t.StringC;
|
70
|
-
hoverTooltip: t.BooleanC;
|
71
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
72
|
-
}>]>]>;
|
73
|
-
export declare const TemplateV: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
74
|
-
type: t.LiteralC<"admin">;
|
75
|
-
value: t.StringC;
|
76
|
-
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
77
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
78
|
-
object: t.StringC;
|
79
|
-
hoverTooltip: t.BooleanC;
|
80
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
81
|
-
}>]>]>, t.IntersectionC<[t.TypeC<{
|
82
|
-
type: t.LiteralC<"callback">;
|
83
|
-
value: t.StringC;
|
84
|
-
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
85
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
86
|
-
object: t.StringC;
|
87
|
-
hoverTooltip: t.BooleanC;
|
88
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
89
|
-
}>]>]>, t.IntersectionC<[t.TypeC<{
|
90
|
-
type: t.LiteralC<"link">;
|
91
|
-
value: t.StringC;
|
92
|
-
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
93
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
94
|
-
object: t.StringC;
|
95
|
-
hoverTooltip: t.BooleanC;
|
96
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
97
|
-
}>]>]>, t.IntersectionC<[t.TypeC<{
|
98
|
-
type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
|
99
|
-
value: t.ArrayC<t.StringC>;
|
100
|
-
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
101
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
102
|
-
object: t.StringC;
|
103
|
-
hoverTooltip: t.BooleanC;
|
104
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
105
|
-
}>]>]>, t.IntersectionC<[t.TypeC<{
|
106
|
-
type: t.LiteralC<"builtin">;
|
107
|
-
value: t.StringC;
|
108
|
-
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
109
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
110
|
-
object: t.StringC;
|
111
|
-
hoverTooltip: t.BooleanC;
|
112
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
113
|
-
}>]>]>, t.IntersectionC<[t.TypeC<{
|
114
|
-
type: t.LiteralC<"webhook">;
|
115
|
-
value: t.StringC;
|
116
|
-
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
117
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
118
|
-
object: t.StringC;
|
119
|
-
hoverTooltip: t.BooleanC;
|
120
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
121
|
-
}>]>]>, t.IntersectionC<[t.TypeC<{
|
122
|
-
type: t.LiteralC<"script">;
|
123
|
-
value: t.StringC;
|
124
|
-
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
125
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
126
|
-
object: t.StringC;
|
127
|
-
hoverTooltip: t.BooleanC;
|
128
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
129
|
-
}>]>]>]>;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import * as t from 'io-ts';
|
2
|
-
export declare const EndUserV: t.TypeC<{
|
3
|
-
username: t.StringC;
|
4
|
-
slug: t.StringC;
|
5
|
-
organization: t.StringC;
|
6
|
-
has_access: t.BooleanC;
|
7
|
-
has_opened: t.BooleanC;
|
8
|
-
hotkeys_debug: t.BooleanC;
|
9
|
-
hmac: t.UnionC<[t.StringC, t.UndefinedC]>;
|
10
|
-
}>;
|
@@ -1,231 +0,0 @@
|
|
1
|
-
import * as t from 'io-ts';
|
2
|
-
export declare const operators: readonly ["is", "isNot", "isTrue", "isFalse", "isTruthy", "isFalsy", "startsWith", "endsWith", "includes", "doesNotInclude", "matchesRegex", "isGreaterThan", "isLessThan", "isDefined", "isNotDefined", "classnameOnPage", "idOnPage"];
|
3
|
-
declare const OperatorV: t.KeyofC<{
|
4
|
-
includes: null;
|
5
|
-
endsWith: null;
|
6
|
-
startsWith: null;
|
7
|
-
is: null;
|
8
|
-
isTruthy: null;
|
9
|
-
isFalsy: null;
|
10
|
-
isNot: null;
|
11
|
-
isTrue: null;
|
12
|
-
isFalse: null;
|
13
|
-
doesNotInclude: null;
|
14
|
-
matchesRegex: null;
|
15
|
-
isGreaterThan: null;
|
16
|
-
isLessThan: null;
|
17
|
-
isDefined: null;
|
18
|
-
isNotDefined: null;
|
19
|
-
classnameOnPage: null;
|
20
|
-
idOnPage: null;
|
21
|
-
}>;
|
22
|
-
export declare const ConditionV: t.IntersectionC<[t.TypeC<{
|
23
|
-
type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">]>;
|
24
|
-
operator: t.KeyofC<{
|
25
|
-
includes: null;
|
26
|
-
endsWith: null;
|
27
|
-
startsWith: null;
|
28
|
-
is: null;
|
29
|
-
isTruthy: null;
|
30
|
-
isFalsy: null;
|
31
|
-
isNot: null;
|
32
|
-
isTrue: null;
|
33
|
-
isFalse: null;
|
34
|
-
doesNotInclude: null;
|
35
|
-
matchesRegex: null;
|
36
|
-
isGreaterThan: null;
|
37
|
-
isLessThan: null;
|
38
|
-
isDefined: null;
|
39
|
-
isNotDefined: null;
|
40
|
-
classnameOnPage: null;
|
41
|
-
idOnPage: null;
|
42
|
-
}>;
|
43
|
-
}>, t.PartialC<{
|
44
|
-
field: t.StringC;
|
45
|
-
value: t.StringC;
|
46
|
-
reason: t.StringC;
|
47
|
-
}>]>;
|
48
|
-
export declare const NamedRuleReferenceV: t.IntersectionC<[t.TypeC<{
|
49
|
-
type: t.LiteralC<"named_rule">;
|
50
|
-
rule_id: t.NumberC;
|
51
|
-
}>, t.PartialC<{
|
52
|
-
reason: t.StringC;
|
53
|
-
}>]>;
|
54
|
-
export declare const RecommendationRuleAlwaysV: t.IntersectionC<[t.TypeC<{
|
55
|
-
type: t.LiteralC<"always">;
|
56
|
-
}>, t.PartialC<{
|
57
|
-
operator: t.UnionC<[t.UndefinedC, t.NullC]>;
|
58
|
-
field: t.UnionC<[t.UndefinedC, t.NullC]>;
|
59
|
-
value: t.UnionC<[t.UndefinedC, t.NullC]>;
|
60
|
-
reason: t.UnionC<[t.UndefinedC, t.NullC]>;
|
61
|
-
}>]>;
|
62
|
-
export declare const AvailabilityRuleV: t.IntersectionC<[t.TypeC<{
|
63
|
-
type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">]>;
|
64
|
-
operator: t.KeyofC<{
|
65
|
-
includes: null;
|
66
|
-
endsWith: null;
|
67
|
-
startsWith: null;
|
68
|
-
is: null;
|
69
|
-
isTruthy: null;
|
70
|
-
isFalsy: null;
|
71
|
-
isNot: null;
|
72
|
-
isTrue: null;
|
73
|
-
isFalse: null;
|
74
|
-
doesNotInclude: null;
|
75
|
-
matchesRegex: null;
|
76
|
-
isGreaterThan: null;
|
77
|
-
isLessThan: null;
|
78
|
-
isDefined: null;
|
79
|
-
isNotDefined: null;
|
80
|
-
classnameOnPage: null;
|
81
|
-
idOnPage: null;
|
82
|
-
}>;
|
83
|
-
}>, t.PartialC<{
|
84
|
-
field: t.StringC;
|
85
|
-
value: t.StringC;
|
86
|
-
reason: t.StringC;
|
87
|
-
}>]>;
|
88
|
-
export declare const RecommendationRuleV: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
89
|
-
type: t.LiteralC<"always">;
|
90
|
-
}>, t.PartialC<{
|
91
|
-
operator: t.UnionC<[t.UndefinedC, t.NullC]>;
|
92
|
-
field: t.UnionC<[t.UndefinedC, t.NullC]>;
|
93
|
-
value: t.UnionC<[t.UndefinedC, t.NullC]>;
|
94
|
-
reason: t.UnionC<[t.UndefinedC, t.NullC]>;
|
95
|
-
}>]>, t.IntersectionC<[t.TypeC<{
|
96
|
-
type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">]>;
|
97
|
-
operator: t.KeyofC<{
|
98
|
-
includes: null;
|
99
|
-
endsWith: null;
|
100
|
-
startsWith: null;
|
101
|
-
is: null;
|
102
|
-
isTruthy: null;
|
103
|
-
isFalsy: null;
|
104
|
-
isNot: null;
|
105
|
-
isTrue: null;
|
106
|
-
isFalse: null;
|
107
|
-
doesNotInclude: null;
|
108
|
-
matchesRegex: null;
|
109
|
-
isGreaterThan: null;
|
110
|
-
isLessThan: null;
|
111
|
-
isDefined: null;
|
112
|
-
isNotDefined: null;
|
113
|
-
classnameOnPage: null;
|
114
|
-
idOnPage: null;
|
115
|
-
}>;
|
116
|
-
}>, t.PartialC<{
|
117
|
-
field: t.StringC;
|
118
|
-
value: t.StringC;
|
119
|
-
reason: t.StringC;
|
120
|
-
}>]>]>;
|
121
|
-
export declare const EditorAvailabilityRuleV: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
122
|
-
type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">]>;
|
123
|
-
operator: t.KeyofC<{
|
124
|
-
includes: null;
|
125
|
-
endsWith: null;
|
126
|
-
startsWith: null;
|
127
|
-
is: null;
|
128
|
-
isTruthy: null;
|
129
|
-
isFalsy: null;
|
130
|
-
isNot: null;
|
131
|
-
isTrue: null;
|
132
|
-
isFalse: null;
|
133
|
-
doesNotInclude: null;
|
134
|
-
matchesRegex: null;
|
135
|
-
isGreaterThan: null;
|
136
|
-
isLessThan: null;
|
137
|
-
isDefined: null;
|
138
|
-
isNotDefined: null;
|
139
|
-
classnameOnPage: null;
|
140
|
-
idOnPage: null;
|
141
|
-
}>;
|
142
|
-
}>, t.PartialC<{
|
143
|
-
field: t.StringC;
|
144
|
-
value: t.StringC;
|
145
|
-
reason: t.StringC;
|
146
|
-
}>]>, t.IntersectionC<[t.TypeC<{
|
147
|
-
type: t.LiteralC<"named_rule">;
|
148
|
-
rule_id: t.NumberC;
|
149
|
-
}>, t.PartialC<{
|
150
|
-
reason: t.StringC;
|
151
|
-
}>]>]>;
|
152
|
-
export declare const EditorRecommendationRuleV: t.UnionC<[t.UnionC<[t.IntersectionC<[t.TypeC<{
|
153
|
-
type: t.LiteralC<"always">;
|
154
|
-
}>, t.PartialC<{
|
155
|
-
operator: t.UnionC<[t.UndefinedC, t.NullC]>;
|
156
|
-
field: t.UnionC<[t.UndefinedC, t.NullC]>;
|
157
|
-
value: t.UnionC<[t.UndefinedC, t.NullC]>;
|
158
|
-
reason: t.UnionC<[t.UndefinedC, t.NullC]>;
|
159
|
-
}>]>, t.IntersectionC<[t.TypeC<{
|
160
|
-
type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">]>;
|
161
|
-
operator: t.KeyofC<{
|
162
|
-
includes: null;
|
163
|
-
endsWith: null;
|
164
|
-
startsWith: null;
|
165
|
-
is: null;
|
166
|
-
isTruthy: null;
|
167
|
-
isFalsy: null;
|
168
|
-
isNot: null;
|
169
|
-
isTrue: null;
|
170
|
-
isFalse: null;
|
171
|
-
doesNotInclude: null;
|
172
|
-
matchesRegex: null;
|
173
|
-
isGreaterThan: null;
|
174
|
-
isLessThan: null;
|
175
|
-
isDefined: null;
|
176
|
-
isNotDefined: null;
|
177
|
-
classnameOnPage: null;
|
178
|
-
idOnPage: null;
|
179
|
-
}>;
|
180
|
-
}>, t.PartialC<{
|
181
|
-
field: t.StringC;
|
182
|
-
value: t.StringC;
|
183
|
-
reason: t.StringC;
|
184
|
-
}>]>]>, t.IntersectionC<[t.TypeC<{
|
185
|
-
type: t.LiteralC<"named_rule">;
|
186
|
-
rule_id: t.NumberC;
|
187
|
-
}>, t.PartialC<{
|
188
|
-
reason: t.StringC;
|
189
|
-
}>]>]>;
|
190
|
-
export declare const NamedRuleV: t.TypeC<{
|
191
|
-
id: t.NumberC;
|
192
|
-
name: t.StringC;
|
193
|
-
conditions: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
194
|
-
type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">]>;
|
195
|
-
operator: t.KeyofC<{
|
196
|
-
includes: null;
|
197
|
-
endsWith: null;
|
198
|
-
startsWith: null;
|
199
|
-
is: null;
|
200
|
-
isTruthy: null;
|
201
|
-
isFalsy: null;
|
202
|
-
isNot: null;
|
203
|
-
isTrue: null;
|
204
|
-
isFalse: null;
|
205
|
-
doesNotInclude: null;
|
206
|
-
matchesRegex: null;
|
207
|
-
isGreaterThan: null;
|
208
|
-
isLessThan: null;
|
209
|
-
isDefined: null;
|
210
|
-
isNotDefined: null;
|
211
|
-
classnameOnPage: null;
|
212
|
-
idOnPage: null;
|
213
|
-
}>;
|
214
|
-
}>, t.PartialC<{
|
215
|
-
field: t.StringC;
|
216
|
-
value: t.StringC;
|
217
|
-
reason: t.StringC;
|
218
|
-
}>]>>;
|
219
|
-
}>;
|
220
|
-
export declare type IRuleOperator = t.TypeOf<typeof OperatorV>;
|
221
|
-
export declare type IAvailabilityRule = t.TypeOf<typeof AvailabilityRuleV>;
|
222
|
-
export declare type IEditorAvailabilityRule = t.TypeOf<typeof EditorAvailabilityRuleV>;
|
223
|
-
export declare type IRecommendationRule = t.TypeOf<typeof RecommendationRuleV>;
|
224
|
-
export declare type IEditorRecommendationRule = t.TypeOf<typeof EditorRecommendationRuleV>;
|
225
|
-
export declare type ICondition = t.TypeOf<typeof ConditionV>;
|
226
|
-
export declare type IAvailabilityRuleType = IAvailabilityRule['type'];
|
227
|
-
export declare type IRecommendationRuleType = IRecommendationRule['type'];
|
228
|
-
export declare type IRule = IAvailabilityRule | IRecommendationRule;
|
229
|
-
export declare type IEditorRule = IEditorAvailabilityRule | IEditorRecommendationRule;
|
230
|
-
export declare type INamedRule = t.TypeOf<typeof NamedRuleV>;
|
231
|
-
export {};
|
@@ -1,40 +0,0 @@
|
|
1
|
-
import * as t from 'io-ts';
|
2
|
-
export declare const HistoryEventV: t.IntersectionC<[t.TypeC<{
|
3
|
-
id: t.NumberC;
|
4
|
-
organization: t.StringC;
|
5
|
-
changed_by: t.StringC;
|
6
|
-
description: t.StringC;
|
7
|
-
created: t.StringC;
|
8
|
-
sha1: t.StringC;
|
9
|
-
version_num: t.NumberC;
|
10
|
-
}>, t.PartialC<{}>]>;
|
11
|
-
export declare class HistoryEvent {
|
12
|
-
static list: (onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<({
|
13
|
-
id: number;
|
14
|
-
organization: string;
|
15
|
-
changed_by: string;
|
16
|
-
description: string;
|
17
|
-
created: string;
|
18
|
-
sha1: string;
|
19
|
-
version_num: number;
|
20
|
-
} & {})[]>;
|
21
|
-
static revert: (object: {
|
22
|
-
id: number;
|
23
|
-
organization: string;
|
24
|
-
changed_by: string;
|
25
|
-
description: string;
|
26
|
-
created: string;
|
27
|
-
sha1: string;
|
28
|
-
version_num: number;
|
29
|
-
} & {}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined, urlArgs?: {
|
30
|
-
[arg: string]: string;
|
31
|
-
} | undefined) => Promise<{
|
32
|
-
id: number;
|
33
|
-
organization: string;
|
34
|
-
changed_by: string;
|
35
|
-
description: string;
|
36
|
-
created: string;
|
37
|
-
sha1: string;
|
38
|
-
version_num: number;
|
39
|
-
} & {}>;
|
40
|
-
}
|