commandbar 1.7.3 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
- package/build/commandbar-js/src/index.js +1 -1
- package/package.json +2 -2
- package/src/snippet.ts +1 -0
- package/build/internal/src/client/AddContextOptions.d.ts +0 -123
- package/build/internal/src/client/AnalyticsEventTypes.d.ts +0 -1
- package/build/internal/src/client/CommandBarClientSDK.d.ts +0 -376
- package/build/internal/src/client/CommandBarProxySDK.d.ts +0 -49
- package/build/internal/src/client/CommandBarSDK.d.ts +0 -65
- package/build/internal/src/client/EventHandler.d.ts +0 -207
- package/build/internal/src/client/OrgConfig.d.ts +0 -5
- package/build/internal/src/client/SDKConfig.d.ts +0 -13
- package/build/internal/src/client/SentryReporter.d.ts +0 -62
- package/build/internal/src/client/globals.d.ts +0 -20
- package/build/internal/src/client/proxy.d.ts +0 -15
- package/build/internal/src/client/symbols.d.ts +0 -41
- package/build/internal/src/middleware/CommandFromClientV.d.ts +0 -290
- package/build/internal/src/middleware/ICommandFromClientType.d.ts +0 -5
- package/build/internal/src/middleware/IResourceSettings.d.ts +0 -3
- package/build/internal/src/middleware/OrganizationV.d.ts +0 -177
- package/build/internal/src/middleware/ResourceSettingsV.d.ts +0 -91
- package/build/internal/src/middleware/checklist.d.ts +0 -740
- package/build/internal/src/middleware/command.d.ts +0 -6678
- package/build/internal/src/middleware/commandCategory.d.ts +0 -192
- package/build/internal/src/middleware/confetti.d.ts +0 -16
- package/build/internal/src/middleware/context.d.ts +0 -40
- package/build/internal/src/middleware/dashboardFlags.d.ts +0 -9
- package/build/internal/src/middleware/detailPreview.d.ts +0 -24
- package/build/internal/src/middleware/environment.d.ts +0 -11
- package/build/internal/src/middleware/generics.d.ts +0 -40
- package/build/internal/src/middleware/guide.d.ts +0 -37
- package/build/internal/src/middleware/helpDocsIntegration.d.ts +0 -66
- package/build/internal/src/middleware/helpDocsSync.d.ts +0 -42
- package/build/internal/src/middleware/helpers/actions.d.ts +0 -84
- package/build/internal/src/middleware/helpers/argument.d.ts +0 -448
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +0 -225
- package/build/internal/src/middleware/helpers/endUser.d.ts +0 -11
- package/build/internal/src/middleware/helpers/goals.d.ts +0 -26
- package/build/internal/src/middleware/helpers/optionGroup.d.ts +0 -2
- package/build/internal/src/middleware/helpers/rules.d.ts +0 -260
- package/build/internal/src/middleware/helpers/tags.d.ts +0 -7
- package/build/internal/src/middleware/historyEvent.d.ts +0 -21
- package/build/internal/src/middleware/network.d.ts +0 -4
- package/build/internal/src/middleware/nudge.d.ts +0 -1057
- package/build/internal/src/middleware/organization.d.ts +0 -978
- 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 -94
- package/build/internal/src/middleware/tab.d.ts +0 -27
- package/build/internal/src/middleware/types.d.ts +0 -155
- package/build/internal/src/middleware/user.d.ts +0 -15
- 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,177 +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">, t.UndefinedC]>;
|
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.UnionC<[t.StringC, t.TypeC<{
|
20
|
-
key: t.StringC;
|
21
|
-
label: t.StringC;
|
22
|
-
}>]>>;
|
23
|
-
auto_execute: t.BooleanC;
|
24
|
-
unfurl: t.BooleanC;
|
25
|
-
description_field: t.StringC;
|
26
|
-
icon: t.StringC;
|
27
|
-
icon_color: t.StringC;
|
28
|
-
image_color: t.StringC;
|
29
|
-
image: t.StringC;
|
30
|
-
sort_key: t.NumberC;
|
31
|
-
max_options_count: t.UnionC<[t.NumberC, t.NullC]>;
|
32
|
-
sortFunction: t.AnyC;
|
33
|
-
hasSearchFunction: t.BooleanC;
|
34
|
-
default_command_id: t.UnionC<[t.NumberC, t.StringC, t.UndefinedC]>;
|
35
|
-
render_as: t.UnionC<[t.LiteralC<"list">, t.LiteralC<"grid">]>;
|
36
|
-
showResources: t.BooleanC;
|
37
|
-
show_with_no_results: t.BooleanC;
|
38
|
-
search_tab_enabled: t.BooleanC;
|
39
|
-
search_tab_name: t.UnionC<[t.StringC, t.NullC]>;
|
40
|
-
slash_filter_enabled: t.BooleanC;
|
41
|
-
slash_filter_keyword: t.UnionC<[t.StringC, t.NullC]>;
|
42
|
-
search_tab_instruction: t.UnionC<[t.StringC, t.NullC]>;
|
43
|
-
setting_pin_to_bottom: t.BooleanC;
|
44
|
-
track_recents: t.BooleanC;
|
45
|
-
detail: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
|
46
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
|
47
|
-
value: t.StringC;
|
48
|
-
}>, t.PartialC<{
|
49
|
-
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
50
|
-
}>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
|
51
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
|
52
|
-
value: t.StringC;
|
53
|
-
}>, t.PartialC<{
|
54
|
-
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
55
|
-
}>]>]>>]>;
|
56
|
-
}>>;
|
57
|
-
should_show_onboarding: t.BooleanC;
|
58
|
-
last_snippet_request: t.UnionC<[t.StringC, t.NullC]>;
|
59
|
-
last_snippet_request_in_production: t.UnionC<[t.StringC, t.NullC]>;
|
60
|
-
branding: t.StringC;
|
61
|
-
custom_call_to_action: t.StringC;
|
62
|
-
search_fuzzy_threshold: t.UnionC<[t.NumberC, t.NullC]>;
|
63
|
-
show_skin_editor: t.BooleanC;
|
64
|
-
allow_event_handlers: t.BooleanC;
|
65
|
-
in_bar_feedback: t.BooleanC;
|
66
|
-
summon_hotkey_override: t.UnionC<[t.StringC, t.NullC]>;
|
67
|
-
end_user_hotkeys: t.UnionC<[t.UndefinedC, t.BooleanC]>;
|
68
|
-
force_end_user_identity_verification: t.BooleanC;
|
69
|
-
end_user_shortcuts_enabled: t.BooleanC;
|
70
|
-
end_user_recents_enabled: t.BooleanC;
|
71
|
-
releases_available: t.BooleanC;
|
72
|
-
releases_enabled: t.BooleanC;
|
73
|
-
fallback_commands: t.ArrayC<t.NumberC>;
|
74
|
-
tab_direction: t.UnionC<[t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
|
75
|
-
recommended_tab_enabled: t.BooleanC;
|
76
|
-
recents_tab_enabled: t.BooleanC;
|
77
|
-
recommended_tab_instruction: t.StringC;
|
78
|
-
recents_tab_instruction: t.StringC;
|
79
|
-
hotload_help_docs: t.BooleanC;
|
80
|
-
slash_filters_enabled: t.BooleanC;
|
81
|
-
recents_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
|
82
|
-
recommended_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
|
83
|
-
show_suggested_synonyms: t.BooleanC;
|
84
|
-
has_hotloaded_help_docs: t.BooleanC;
|
85
|
-
}>;
|
86
|
-
export declare const defaults: t.TypeOf<typeof OrganizationAdditionalV>;
|
87
|
-
export declare const OrganizationV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
88
|
-
id: t.UnionC<[t.NumberC, t.StringC]>;
|
89
|
-
name: t.StringC;
|
90
|
-
created: t.StringC;
|
91
|
-
}>, t.PartialC<{}>]>, t.TypeC<{
|
92
|
-
launcher_type: t.UnionC<[t.LiteralC<"minimal">, t.LiteralC<"alternate">, t.LiteralC<"prompt">, t.LiteralC<"none">]>;
|
93
|
-
launcher_position: t.UnionC<[t.LiteralC<"topRight">, t.LiteralC<"topLeft">, t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
|
94
|
-
show_launcher_recommendations: t.BooleanC;
|
95
|
-
recommendations_type: t.UnionC<[t.LiteralC<"None">, t.LiteralC<"Custom">, t.LiteralC<"Algorithm">, t.UndefinedC]>;
|
96
|
-
launcher_offset_x: t.NumberC;
|
97
|
-
launcher_offset_y: t.NumberC;
|
98
|
-
theme: t.ObjectC;
|
99
|
-
icon: t.StringC;
|
100
|
-
icon_suggest: t.StringC;
|
101
|
-
icon_tutorial: t.StringC;
|
102
|
-
icon_go_forward: t.StringC;
|
103
|
-
resource_options: t.RecordC<t.StringC, t.PartialC<{
|
104
|
-
name: t.StringC;
|
105
|
-
search: t.BooleanC;
|
106
|
-
label_field: t.StringC;
|
107
|
-
useCategory: t.BooleanC;
|
108
|
-
search_fields: t.ArrayC<t.UnionC<[t.StringC, t.TypeC<{
|
109
|
-
key: t.StringC;
|
110
|
-
label: t.StringC;
|
111
|
-
}>]>>;
|
112
|
-
auto_execute: t.BooleanC;
|
113
|
-
unfurl: t.BooleanC;
|
114
|
-
description_field: t.StringC;
|
115
|
-
icon: t.StringC;
|
116
|
-
icon_color: t.StringC;
|
117
|
-
image_color: t.StringC;
|
118
|
-
image: t.StringC;
|
119
|
-
sort_key: t.NumberC;
|
120
|
-
max_options_count: t.UnionC<[t.NumberC, t.NullC]>;
|
121
|
-
sortFunction: t.AnyC;
|
122
|
-
hasSearchFunction: t.BooleanC;
|
123
|
-
default_command_id: t.UnionC<[t.NumberC, t.StringC, t.UndefinedC]>;
|
124
|
-
render_as: t.UnionC<[t.LiteralC<"list">, t.LiteralC<"grid">]>;
|
125
|
-
showResources: t.BooleanC;
|
126
|
-
show_with_no_results: t.BooleanC;
|
127
|
-
search_tab_enabled: t.BooleanC;
|
128
|
-
search_tab_name: t.UnionC<[t.StringC, t.NullC]>;
|
129
|
-
slash_filter_enabled: t.BooleanC;
|
130
|
-
slash_filter_keyword: t.UnionC<[t.StringC, t.NullC]>;
|
131
|
-
search_tab_instruction: t.UnionC<[t.StringC, t.NullC]>;
|
132
|
-
setting_pin_to_bottom: t.BooleanC;
|
133
|
-
track_recents: t.BooleanC;
|
134
|
-
detail: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
|
135
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
|
136
|
-
value: t.StringC;
|
137
|
-
}>, t.PartialC<{
|
138
|
-
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
139
|
-
}>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
|
140
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
|
141
|
-
value: t.StringC;
|
142
|
-
}>, t.PartialC<{
|
143
|
-
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
144
|
-
}>]>]>>]>;
|
145
|
-
}>>;
|
146
|
-
should_show_onboarding: t.BooleanC;
|
147
|
-
last_snippet_request: t.UnionC<[t.StringC, t.NullC]>;
|
148
|
-
last_snippet_request_in_production: t.UnionC<[t.StringC, t.NullC]>;
|
149
|
-
branding: t.StringC;
|
150
|
-
custom_call_to_action: t.StringC;
|
151
|
-
search_fuzzy_threshold: t.UnionC<[t.NumberC, t.NullC]>;
|
152
|
-
show_skin_editor: t.BooleanC;
|
153
|
-
allow_event_handlers: t.BooleanC;
|
154
|
-
in_bar_feedback: t.BooleanC;
|
155
|
-
summon_hotkey_override: t.UnionC<[t.StringC, t.NullC]>;
|
156
|
-
end_user_hotkeys: t.UnionC<[t.UndefinedC, t.BooleanC]>;
|
157
|
-
force_end_user_identity_verification: t.BooleanC;
|
158
|
-
end_user_shortcuts_enabled: t.BooleanC;
|
159
|
-
end_user_recents_enabled: t.BooleanC;
|
160
|
-
releases_available: t.BooleanC;
|
161
|
-
releases_enabled: t.BooleanC;
|
162
|
-
fallback_commands: t.ArrayC<t.NumberC>;
|
163
|
-
tab_direction: t.UnionC<[t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
|
164
|
-
recommended_tab_enabled: t.BooleanC;
|
165
|
-
recents_tab_enabled: t.BooleanC;
|
166
|
-
recommended_tab_instruction: t.StringC;
|
167
|
-
recents_tab_instruction: t.StringC;
|
168
|
-
hotload_help_docs: t.BooleanC;
|
169
|
-
slash_filters_enabled: t.BooleanC;
|
170
|
-
recents_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
|
171
|
-
recommended_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
|
172
|
-
show_suggested_synonyms: t.BooleanC;
|
173
|
-
has_hotloaded_help_docs: t.BooleanC;
|
174
|
-
}>]>;
|
175
|
-
export declare type IOrganizationType = t.TypeOf<typeof OrganizationV> & unknown;
|
176
|
-
export declare const unknownOrganization: IOrganizationType;
|
177
|
-
export {};
|
@@ -1,91 +0,0 @@
|
|
1
|
-
import * as t from 'io-ts';
|
2
|
-
export declare const SearchFieldConfigV: t.TypeC<{
|
3
|
-
key: t.StringC;
|
4
|
-
label: t.StringC;
|
5
|
-
}>;
|
6
|
-
export declare const ResourceSettingsV: t.PartialC<{
|
7
|
-
name: t.StringC;
|
8
|
-
search: t.BooleanC;
|
9
|
-
label_field: t.StringC;
|
10
|
-
useCategory: t.BooleanC;
|
11
|
-
search_fields: t.ArrayC<t.UnionC<[t.StringC, t.TypeC<{
|
12
|
-
key: t.StringC;
|
13
|
-
label: t.StringC;
|
14
|
-
}>]>>;
|
15
|
-
auto_execute: t.BooleanC;
|
16
|
-
unfurl: t.BooleanC;
|
17
|
-
description_field: t.StringC;
|
18
|
-
icon: t.StringC;
|
19
|
-
icon_color: t.StringC;
|
20
|
-
image_color: t.StringC;
|
21
|
-
image: t.StringC;
|
22
|
-
sort_key: t.NumberC;
|
23
|
-
max_options_count: t.UnionC<[t.NumberC, t.NullC]>;
|
24
|
-
sortFunction: t.AnyC;
|
25
|
-
hasSearchFunction: t.BooleanC;
|
26
|
-
default_command_id: t.UnionC<[t.NumberC, t.StringC, t.UndefinedC]>;
|
27
|
-
render_as: t.UnionC<[t.LiteralC<"list">, t.LiteralC<"grid">]>;
|
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
|
-
slash_filter_enabled: t.BooleanC;
|
33
|
-
slash_filter_keyword: t.UnionC<[t.StringC, t.NullC]>;
|
34
|
-
search_tab_instruction: t.UnionC<[t.StringC, t.NullC]>;
|
35
|
-
setting_pin_to_bottom: t.BooleanC;
|
36
|
-
track_recents: t.BooleanC;
|
37
|
-
detail: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
|
38
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
|
39
|
-
value: t.StringC;
|
40
|
-
}>, t.PartialC<{
|
41
|
-
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
42
|
-
}>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
|
43
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
|
44
|
-
value: t.StringC;
|
45
|
-
}>, t.PartialC<{
|
46
|
-
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
47
|
-
}>]>]>>]>;
|
48
|
-
}>;
|
49
|
-
export declare const ResourceSettingsByContextKeyV: t.RecordC<t.StringC, t.PartialC<{
|
50
|
-
name: t.StringC;
|
51
|
-
search: t.BooleanC;
|
52
|
-
label_field: t.StringC;
|
53
|
-
useCategory: t.BooleanC;
|
54
|
-
search_fields: t.ArrayC<t.UnionC<[t.StringC, t.TypeC<{
|
55
|
-
key: t.StringC;
|
56
|
-
label: t.StringC;
|
57
|
-
}>]>>;
|
58
|
-
auto_execute: t.BooleanC;
|
59
|
-
unfurl: t.BooleanC;
|
60
|
-
description_field: t.StringC;
|
61
|
-
icon: t.StringC;
|
62
|
-
icon_color: t.StringC;
|
63
|
-
image_color: t.StringC;
|
64
|
-
image: t.StringC;
|
65
|
-
sort_key: t.NumberC;
|
66
|
-
max_options_count: t.UnionC<[t.NumberC, t.NullC]>;
|
67
|
-
sortFunction: t.AnyC;
|
68
|
-
hasSearchFunction: t.BooleanC;
|
69
|
-
default_command_id: t.UnionC<[t.NumberC, t.StringC, t.UndefinedC]>;
|
70
|
-
render_as: t.UnionC<[t.LiteralC<"list">, t.LiteralC<"grid">]>;
|
71
|
-
showResources: t.BooleanC;
|
72
|
-
show_with_no_results: t.BooleanC;
|
73
|
-
search_tab_enabled: t.BooleanC;
|
74
|
-
search_tab_name: t.UnionC<[t.StringC, t.NullC]>;
|
75
|
-
slash_filter_enabled: t.BooleanC;
|
76
|
-
slash_filter_keyword: t.UnionC<[t.StringC, t.NullC]>;
|
77
|
-
search_tab_instruction: t.UnionC<[t.StringC, t.NullC]>;
|
78
|
-
setting_pin_to_bottom: t.BooleanC;
|
79
|
-
track_recents: t.BooleanC;
|
80
|
-
detail: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
|
81
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
|
82
|
-
value: t.StringC;
|
83
|
-
}>, t.PartialC<{
|
84
|
-
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
85
|
-
}>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
|
86
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
|
87
|
-
value: t.StringC;
|
88
|
-
}>, t.PartialC<{
|
89
|
-
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
90
|
-
}>]>]>>]>;
|
91
|
-
}>>;
|