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,18 +0,0 @@
|
|
1
|
-
import { CommandBarClientSDK } from './CommandBarClientSDK';
|
2
|
-
import { CommandBarSDK } from './CommandBarSDK';
|
3
|
-
declare global {
|
4
|
-
interface Window {
|
5
|
-
CommandBar: CommandBarClientSDK;
|
6
|
-
}
|
7
|
-
}
|
8
|
-
export { initProxySDK, getProxySDK } from './proxy';
|
9
|
-
/**
|
10
|
-
* Returns the CommandBar global SDK.
|
11
|
-
* The SDK object might be a proxy instead if `initSDK` has not yet been called.
|
12
|
-
*/
|
13
|
-
export declare function getSDK(): CommandBarSDK;
|
14
|
-
/**
|
15
|
-
* Returns the CommandBar global, coerced to match the client interface.
|
16
|
-
* The SDK object might be a proxy instead if `initSDK` has not yet been called.
|
17
|
-
*/
|
18
|
-
export declare function getClientSDK(): CommandBarClientSDK;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { CommandBarProxyGlobal } from './CommandBarProxySDK';
|
2
|
-
/**
|
3
|
-
* Returns the "pre-boot" proxied SDK object, creating it if necessary. This object might actually be a full SDK if it
|
4
|
-
* was already upgraded using `initSDK`. In either case, the returned object will _not_ itself be a proxy.
|
5
|
-
*
|
6
|
-
* The proxy SDK will only be created if one of the following hold:
|
7
|
-
* - window.CommandBar === undefined
|
8
|
-
* - window.CommandBar[_disposed] === true
|
9
|
-
* - window.CommandBar.disposed === true
|
10
|
-
*
|
11
|
-
* Otherwise the existing value of `window.CommandBar` is returned, whatever that may be.
|
12
|
-
*/
|
13
|
-
export declare function getProxySDK(): CommandBarProxyGlobal;
|
14
|
-
/** Replaces `window.CommandBar` with a new Proxy SDK object. */
|
15
|
-
export declare function initProxySDK(): void;
|
@@ -1,30 +0,0 @@
|
|
1
|
-
export declare const _access: unique symbol;
|
2
|
-
export declare const _configuration: unique symbol;
|
3
|
-
export declare const _configure: unique symbol;
|
4
|
-
export declare const _configUser: unique symbol;
|
5
|
-
export declare const _dispatch: unique symbol;
|
6
|
-
export declare const _dispose: unique symbol;
|
7
|
-
export declare const _disposed: unique symbol;
|
8
|
-
export declare const _instanceAttributes: unique symbol;
|
9
|
-
export declare const _isProxy: unique symbol;
|
10
|
-
export declare const _loadEditor: unique symbol;
|
11
|
-
export declare const _orgConfig: unique symbol;
|
12
|
-
export declare const _perf: unique symbol;
|
13
|
-
export declare const _programmaticTheme: unique symbol;
|
14
|
-
export declare const _queue: unique symbol;
|
15
|
-
export declare const _reloadCommands: unique symbol;
|
16
|
-
export declare const _reloadOrganization: unique symbol;
|
17
|
-
export declare const _reloadPlaceholders: unique symbol;
|
18
|
-
export declare const _report: unique symbol;
|
19
|
-
export declare const _reporter: unique symbol;
|
20
|
-
export declare const _search: unique symbol;
|
21
|
-
export declare const _setDashboard: unique symbol;
|
22
|
-
export declare const _setPreviewMode: unique symbol;
|
23
|
-
export declare const _setTestMode: unique symbol;
|
24
|
-
export declare const _setEditorVisible: unique symbol;
|
25
|
-
export declare const _showGuide: unique symbol;
|
26
|
-
export declare const _showMessage: unique symbol;
|
27
|
-
export declare const _state: unique symbol;
|
28
|
-
export declare const _unwrap: unique symbol;
|
29
|
-
export declare const _user: unique symbol;
|
30
|
-
export declare const _userAttributes: unique symbol;
|
@@ -1,205 +0,0 @@
|
|
1
|
-
import * as t from 'io-ts';
|
2
|
-
export declare const CommandFromClientV: t.IntersectionC<[t.TypeC<{
|
3
|
-
name: t.StringC;
|
4
|
-
template: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
5
|
-
type: t.LiteralC<"callback">;
|
6
|
-
value: t.StringC;
|
7
|
-
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
8
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
9
|
-
object: t.StringC;
|
10
|
-
hoverTooltip: t.BooleanC;
|
11
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
12
|
-
}>]>]>, t.IntersectionC<[t.TypeC<{
|
13
|
-
type: t.LiteralC<"link">;
|
14
|
-
value: t.StringC;
|
15
|
-
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
16
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
17
|
-
object: t.StringC;
|
18
|
-
hoverTooltip: t.BooleanC;
|
19
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
20
|
-
}>]>]>, t.IntersectionC<[t.TypeC<{
|
21
|
-
type: t.LiteralC<"webhook">;
|
22
|
-
value: t.StringC;
|
23
|
-
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
24
|
-
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
25
|
-
object: t.StringC;
|
26
|
-
hoverTooltip: t.BooleanC;
|
27
|
-
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
28
|
-
}>]>]>, t.IntersectionC<[t.TypeC<{
|
29
|
-
type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
|
30
|
-
value: t.ArrayC<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
|
-
text: t.StringC;
|
38
|
-
}>, t.PartialC<{
|
39
|
-
shortcut_mac: t.ArrayC<t.StringC>;
|
40
|
-
shortcut_win: t.ArrayC<t.StringC>;
|
41
|
-
hotkey_mac: t.StringC;
|
42
|
-
hotkey_win: t.StringC;
|
43
|
-
tags: t.ArrayC<t.StringC>;
|
44
|
-
explanation: t.StringC;
|
45
|
-
sort_key: t.UnionC<[t.NumberC, t.NullC]>;
|
46
|
-
arguments: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
|
47
|
-
type: t.LiteralC<"context">;
|
48
|
-
value: t.StringC;
|
49
|
-
order_key: t.NumberC;
|
50
|
-
}>, t.PartialC<{
|
51
|
-
label: t.StringC;
|
52
|
-
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
53
|
-
selected: t.ArrayC<t.AnyC>;
|
54
|
-
input_type: t.StringC;
|
55
|
-
preselected_key: t.StringC;
|
56
|
-
label_field: t.StringC;
|
57
|
-
availability_condition: t.ArrayC<t.TypeC<{
|
58
|
-
field: t.StringC;
|
59
|
-
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
60
|
-
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
61
|
-
}>>;
|
62
|
-
loaded: t.ArrayC<t.AnyC>;
|
63
|
-
allow_create: t.BooleanC;
|
64
|
-
allow_create_label: t.StringC;
|
65
|
-
}>]>, t.IntersectionC<[t.TypeC<{
|
66
|
-
type: t.LiteralC<"set">;
|
67
|
-
value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
|
68
|
-
order_key: t.NumberC;
|
69
|
-
}>, t.PartialC<{
|
70
|
-
label: t.StringC;
|
71
|
-
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
72
|
-
selected: t.ArrayC<t.AnyC>;
|
73
|
-
input_type: t.StringC;
|
74
|
-
preselected_key: t.StringC;
|
75
|
-
label_field: t.StringC;
|
76
|
-
availability_condition: t.ArrayC<t.TypeC<{
|
77
|
-
field: t.StringC;
|
78
|
-
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
79
|
-
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
80
|
-
}>>;
|
81
|
-
loaded: t.ArrayC<t.AnyC>;
|
82
|
-
allow_create: t.BooleanC;
|
83
|
-
allow_create_label: t.StringC;
|
84
|
-
}>]>, t.IntersectionC<[t.TypeC<{
|
85
|
-
type: t.LiteralC<"provided">;
|
86
|
-
value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
|
87
|
-
order_key: t.NumberC;
|
88
|
-
}>, t.PartialC<{
|
89
|
-
label: t.StringC;
|
90
|
-
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
91
|
-
selected: t.ArrayC<t.AnyC>;
|
92
|
-
input_type: t.StringC;
|
93
|
-
preselected_key: t.StringC;
|
94
|
-
label_field: t.StringC;
|
95
|
-
availability_condition: t.ArrayC<t.TypeC<{
|
96
|
-
field: t.StringC;
|
97
|
-
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
98
|
-
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
99
|
-
}>>;
|
100
|
-
loaded: t.ArrayC<t.AnyC>;
|
101
|
-
dateTimeArgumentTypeId: t.NumberC;
|
102
|
-
allow_create: t.BooleanC;
|
103
|
-
allow_create_label: t.StringC;
|
104
|
-
}>]>, t.IntersectionC<[t.TypeC<{
|
105
|
-
type: t.LiteralC<"dependent">;
|
106
|
-
value: t.StringC;
|
107
|
-
order_key: t.NumberC;
|
108
|
-
}>, t.PartialC<{
|
109
|
-
label: t.StringC;
|
110
|
-
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
111
|
-
selected: t.ArrayC<t.AnyC>;
|
112
|
-
input_type: t.StringC;
|
113
|
-
preselected_key: t.StringC;
|
114
|
-
label_field: t.StringC;
|
115
|
-
availability_condition: t.ArrayC<t.TypeC<{
|
116
|
-
field: t.StringC;
|
117
|
-
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
118
|
-
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
119
|
-
}>>;
|
120
|
-
loaded: t.ArrayC<t.AnyC>;
|
121
|
-
allow_create: t.BooleanC;
|
122
|
-
allow_create_label: t.StringC;
|
123
|
-
}>]>, t.IntersectionC<[t.TypeC<{
|
124
|
-
type: t.LiteralC<"function">;
|
125
|
-
value: t.StringC;
|
126
|
-
order_key: t.NumberC;
|
127
|
-
}>, t.PartialC<{
|
128
|
-
label: t.StringC;
|
129
|
-
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
130
|
-
selected: t.ArrayC<t.AnyC>;
|
131
|
-
input_type: t.StringC;
|
132
|
-
preselected_key: t.StringC;
|
133
|
-
label_field: t.StringC;
|
134
|
-
availability_condition: t.ArrayC<t.TypeC<{
|
135
|
-
field: t.StringC;
|
136
|
-
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
137
|
-
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
138
|
-
}>>;
|
139
|
-
loaded: t.ArrayC<t.AnyC>;
|
140
|
-
allow_create: t.BooleanC;
|
141
|
-
allow_create_label: t.StringC;
|
142
|
-
}>]>]>>;
|
143
|
-
category: t.UnionC<[t.NumberC, t.StringC, t.NullC]>;
|
144
|
-
icon: t.UnionC<[t.StringC, t.NullC]>;
|
145
|
-
celebrate: t.UnionC<[t.RecordC<t.StringC, t.AnyC>, t.NullC]>;
|
146
|
-
availability_rules: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
147
|
-
type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">]>;
|
148
|
-
operator: t.KeyofC<{
|
149
|
-
includes: null;
|
150
|
-
endsWith: null;
|
151
|
-
startsWith: null;
|
152
|
-
is: null;
|
153
|
-
isTruthy: null;
|
154
|
-
isFalsy: null;
|
155
|
-
isNot: null;
|
156
|
-
isTrue: null;
|
157
|
-
isFalse: null;
|
158
|
-
doesNotInclude: null;
|
159
|
-
matchesRegex: null;
|
160
|
-
isGreaterThan: null;
|
161
|
-
isLessThan: null;
|
162
|
-
isDefined: null;
|
163
|
-
isNotDefined: null;
|
164
|
-
classnameOnPage: null;
|
165
|
-
idOnPage: null;
|
166
|
-
}>;
|
167
|
-
}>, t.PartialC<{
|
168
|
-
field: t.StringC;
|
169
|
-
value: t.StringC;
|
170
|
-
reason: t.StringC;
|
171
|
-
}>]>>;
|
172
|
-
recommend_rules: t.ArrayC<t.UnionC<[t.IntersectionC<[t.TypeC<{
|
173
|
-
type: t.LiteralC<"always">;
|
174
|
-
}>, t.PartialC<{
|
175
|
-
operator: t.UnionC<[t.UndefinedC, t.NullC]>;
|
176
|
-
field: t.UnionC<[t.UndefinedC, t.NullC]>;
|
177
|
-
value: t.UnionC<[t.UndefinedC, t.NullC]>;
|
178
|
-
reason: t.UnionC<[t.UndefinedC, t.NullC]>;
|
179
|
-
}>]>, t.IntersectionC<[t.TypeC<{
|
180
|
-
type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">]>;
|
181
|
-
operator: t.KeyofC<{
|
182
|
-
includes: null;
|
183
|
-
endsWith: null;
|
184
|
-
startsWith: null;
|
185
|
-
is: null;
|
186
|
-
isTruthy: null;
|
187
|
-
isFalsy: null;
|
188
|
-
isNot: null;
|
189
|
-
isTrue: null;
|
190
|
-
isFalse: null;
|
191
|
-
doesNotInclude: null;
|
192
|
-
matchesRegex: null;
|
193
|
-
isGreaterThan: null;
|
194
|
-
isLessThan: null;
|
195
|
-
isDefined: null;
|
196
|
-
isNotDefined: null;
|
197
|
-
classnameOnPage: null;
|
198
|
-
idOnPage: null;
|
199
|
-
}>;
|
200
|
-
}>, t.PartialC<{
|
201
|
-
field: t.StringC;
|
202
|
-
value: t.StringC;
|
203
|
-
reason: t.StringC;
|
204
|
-
}>]>]>>;
|
205
|
-
}>]>;
|
@@ -1,102 +0,0 @@
|
|
1
|
-
import * as t from 'io-ts';
|
2
|
-
declare const OrganizationAdditionalV: t.TypeC<{
|
3
|
-
launcher_type: t.UnionC<[t.LiteralC<"minimal">, t.LiteralC<"alternate">, t.LiteralC<"prompt">, t.LiteralC<"none">]>;
|
4
|
-
launcher_position: t.UnionC<[t.LiteralC<"topRight">, t.LiteralC<"topLeft">, t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
|
5
|
-
show_launcher_recommendations: t.BooleanC;
|
6
|
-
recommendations_type: t.UnionC<[t.LiteralC<"None">, t.LiteralC<"Custom">, t.LiteralC<"Algorithm">]>;
|
7
|
-
launcher_offset_x: t.NumberC;
|
8
|
-
launcher_offset_y: t.NumberC;
|
9
|
-
theme: t.ObjectC;
|
10
|
-
icon: t.StringC;
|
11
|
-
icon_suggest: t.StringC;
|
12
|
-
icon_tutorial: t.StringC;
|
13
|
-
icon_go_forward: t.StringC;
|
14
|
-
resource_options: t.RecordC<t.StringC, t.PartialC<{
|
15
|
-
name: t.StringC;
|
16
|
-
search: t.BooleanC;
|
17
|
-
label_field: t.StringC;
|
18
|
-
useCategory: t.BooleanC;
|
19
|
-
search_fields: t.ArrayC<t.StringC>;
|
20
|
-
auto_execute: t.BooleanC;
|
21
|
-
unfurl: t.BooleanC;
|
22
|
-
description_field: t.StringC;
|
23
|
-
icon: t.StringC;
|
24
|
-
sort_key: t.NumberC;
|
25
|
-
max_options_count: t.UnionC<[t.NumberC, t.NullC]>;
|
26
|
-
sortFunction: t.AnyC;
|
27
|
-
default_command_id: t.UnionC<[t.NumberC, t.UndefinedC]>;
|
28
|
-
showResources: t.BooleanC;
|
29
|
-
show_with_no_results: t.BooleanC;
|
30
|
-
search_tab_enabled: t.BooleanC;
|
31
|
-
search_tab_name: t.UnionC<[t.StringC, t.NullC]>;
|
32
|
-
search_tab_instruction: t.UnionC<[t.StringC, t.NullC]>;
|
33
|
-
setting_pin_to_bottom: t.BooleanC;
|
34
|
-
}>>;
|
35
|
-
should_show_onboarding: t.BooleanC;
|
36
|
-
last_snippet_request: t.UnionC<[t.StringC, t.NullC]>;
|
37
|
-
last_snippet_request_in_production: t.UnionC<[t.StringC, t.NullC]>;
|
38
|
-
branding: t.StringC;
|
39
|
-
custom_call_to_action: t.StringC;
|
40
|
-
search_fuzzy_threshold: t.UnionC<[t.NumberC, t.NullC]>;
|
41
|
-
show_skin_editor: t.BooleanC;
|
42
|
-
allow_event_handlers: t.BooleanC;
|
43
|
-
in_bar_feedback: t.BooleanC;
|
44
|
-
summon_hotkey_override: t.UnionC<[t.StringC, t.NullC]>;
|
45
|
-
end_user_hotkeys: t.BooleanC;
|
46
|
-
releases_available: t.BooleanC;
|
47
|
-
releases_enabled: t.BooleanC;
|
48
|
-
}>;
|
49
|
-
export declare const defaults: t.TypeOf<typeof OrganizationAdditionalV>;
|
50
|
-
export declare const OrganizationV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
51
|
-
id: t.UnionC<[t.NumberC, t.StringC]>;
|
52
|
-
name: t.StringC;
|
53
|
-
created: t.StringC;
|
54
|
-
}>, t.PartialC<{}>]>, t.TypeC<{
|
55
|
-
launcher_type: t.UnionC<[t.LiteralC<"minimal">, t.LiteralC<"alternate">, t.LiteralC<"prompt">, t.LiteralC<"none">]>;
|
56
|
-
launcher_position: t.UnionC<[t.LiteralC<"topRight">, t.LiteralC<"topLeft">, t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
|
57
|
-
show_launcher_recommendations: t.BooleanC;
|
58
|
-
recommendations_type: t.UnionC<[t.LiteralC<"None">, t.LiteralC<"Custom">, t.LiteralC<"Algorithm">]>;
|
59
|
-
launcher_offset_x: t.NumberC;
|
60
|
-
launcher_offset_y: t.NumberC;
|
61
|
-
theme: t.ObjectC;
|
62
|
-
icon: t.StringC;
|
63
|
-
icon_suggest: t.StringC;
|
64
|
-
icon_tutorial: t.StringC;
|
65
|
-
icon_go_forward: t.StringC;
|
66
|
-
resource_options: t.RecordC<t.StringC, t.PartialC<{
|
67
|
-
name: t.StringC;
|
68
|
-
search: t.BooleanC;
|
69
|
-
label_field: t.StringC;
|
70
|
-
useCategory: t.BooleanC;
|
71
|
-
search_fields: t.ArrayC<t.StringC>;
|
72
|
-
auto_execute: t.BooleanC;
|
73
|
-
unfurl: t.BooleanC;
|
74
|
-
description_field: t.StringC;
|
75
|
-
icon: t.StringC;
|
76
|
-
sort_key: t.NumberC;
|
77
|
-
max_options_count: t.UnionC<[t.NumberC, t.NullC]>;
|
78
|
-
sortFunction: t.AnyC;
|
79
|
-
default_command_id: t.UnionC<[t.NumberC, t.UndefinedC]>;
|
80
|
-
showResources: t.BooleanC;
|
81
|
-
show_with_no_results: t.BooleanC;
|
82
|
-
search_tab_enabled: t.BooleanC;
|
83
|
-
search_tab_name: t.UnionC<[t.StringC, t.NullC]>;
|
84
|
-
search_tab_instruction: t.UnionC<[t.StringC, t.NullC]>;
|
85
|
-
setting_pin_to_bottom: t.BooleanC;
|
86
|
-
}>>;
|
87
|
-
should_show_onboarding: t.BooleanC;
|
88
|
-
last_snippet_request: t.UnionC<[t.StringC, t.NullC]>;
|
89
|
-
last_snippet_request_in_production: t.UnionC<[t.StringC, t.NullC]>;
|
90
|
-
branding: t.StringC;
|
91
|
-
custom_call_to_action: t.StringC;
|
92
|
-
search_fuzzy_threshold: t.UnionC<[t.NumberC, t.NullC]>;
|
93
|
-
show_skin_editor: t.BooleanC;
|
94
|
-
allow_event_handlers: t.BooleanC;
|
95
|
-
in_bar_feedback: t.BooleanC;
|
96
|
-
summon_hotkey_override: t.UnionC<[t.StringC, t.NullC]>;
|
97
|
-
end_user_hotkeys: t.BooleanC;
|
98
|
-
releases_available: t.BooleanC;
|
99
|
-
releases_enabled: t.BooleanC;
|
100
|
-
}>]>;
|
101
|
-
export declare type IOrganizationType = t.TypeOf<typeof OrganizationV>;
|
102
|
-
export {};
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import * as t from 'io-ts';
|
2
|
-
export declare const ResourceSettingsV: t.PartialC<{
|
3
|
-
name: t.StringC;
|
4
|
-
search: t.BooleanC;
|
5
|
-
label_field: t.StringC;
|
6
|
-
useCategory: t.BooleanC;
|
7
|
-
search_fields: t.ArrayC<t.StringC>;
|
8
|
-
auto_execute: t.BooleanC;
|
9
|
-
unfurl: t.BooleanC;
|
10
|
-
description_field: t.StringC;
|
11
|
-
icon: t.StringC;
|
12
|
-
sort_key: t.NumberC;
|
13
|
-
max_options_count: t.UnionC<[t.NumberC, t.NullC]>;
|
14
|
-
sortFunction: t.AnyC;
|
15
|
-
default_command_id: t.UnionC<[t.NumberC, t.UndefinedC]>;
|
16
|
-
showResources: t.BooleanC;
|
17
|
-
show_with_no_results: t.BooleanC;
|
18
|
-
search_tab_enabled: t.BooleanC;
|
19
|
-
search_tab_name: t.UnionC<[t.StringC, t.NullC]>;
|
20
|
-
search_tab_instruction: t.UnionC<[t.StringC, t.NullC]>;
|
21
|
-
setting_pin_to_bottom: t.BooleanC;
|
22
|
-
}>;
|
23
|
-
export declare const ResourceSettingsByContextKeyV: t.RecordC<t.StringC, t.PartialC<{
|
24
|
-
name: t.StringC;
|
25
|
-
search: t.BooleanC;
|
26
|
-
label_field: t.StringC;
|
27
|
-
useCategory: t.BooleanC;
|
28
|
-
search_fields: t.ArrayC<t.StringC>;
|
29
|
-
auto_execute: t.BooleanC;
|
30
|
-
unfurl: t.BooleanC;
|
31
|
-
description_field: t.StringC;
|
32
|
-
icon: t.StringC;
|
33
|
-
sort_key: t.NumberC;
|
34
|
-
max_options_count: t.UnionC<[t.NumberC, t.NullC]>;
|
35
|
-
sortFunction: t.AnyC;
|
36
|
-
default_command_id: t.UnionC<[t.NumberC, t.UndefinedC]>;
|
37
|
-
showResources: t.BooleanC;
|
38
|
-
show_with_no_results: t.BooleanC;
|
39
|
-
search_tab_enabled: t.BooleanC;
|
40
|
-
search_tab_name: t.UnionC<[t.StringC, t.NullC]>;
|
41
|
-
search_tab_instruction: t.UnionC<[t.StringC, t.NullC]>;
|
42
|
-
setting_pin_to_bottom: t.BooleanC;
|
43
|
-
}>>;
|