commandbar 1.7.2 → 1.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. package/build/commandbar-js/src/index.js +1 -1
  2. package/build/commandbar-js/src/init.d.ts +1 -1
  3. package/package.json +3 -4
  4. package/src/init.ts +1 -1
  5. package/src/snippet.ts +1 -0
  6. package/build/internal/src/client/AddContextOptions.d.ts +0 -124
  7. package/build/internal/src/client/AnalyticsEventTypes.d.ts +0 -1
  8. package/build/internal/src/client/CommandBarClientSDK.d.ts +0 -387
  9. package/build/internal/src/client/CommandBarProxySDK.d.ts +0 -49
  10. package/build/internal/src/client/CommandBarSDK.d.ts +0 -51
  11. package/build/internal/src/client/EventHandler.d.ts +0 -142
  12. package/build/internal/src/client/OrgConfig.d.ts +0 -5
  13. package/build/internal/src/client/SDKConfig.d.ts +0 -13
  14. package/build/internal/src/client/SentryReporter.d.ts +0 -62
  15. package/build/internal/src/client/globals.d.ts +0 -19
  16. package/build/internal/src/client/proxy.d.ts +0 -15
  17. package/build/internal/src/client/symbols.d.ts +0 -35
  18. package/build/internal/src/middleware/CommandFromClientV.d.ts +0 -307
  19. package/build/internal/src/middleware/ICommandFromClientType.d.ts +0 -5
  20. package/build/internal/src/middleware/IResourceSettings.d.ts +0 -3
  21. package/build/internal/src/middleware/OrganizationV.d.ts +0 -170
  22. package/build/internal/src/middleware/ResourceSettingsV.d.ts +0 -89
  23. package/build/internal/src/middleware/command.d.ts +0 -6975
  24. package/build/internal/src/middleware/commandCategory.d.ts +0 -192
  25. package/build/internal/src/middleware/confetti.d.ts +0 -16
  26. package/build/internal/src/middleware/context.d.ts +0 -40
  27. package/build/internal/src/middleware/detailPreview.d.ts +0 -21
  28. package/build/internal/src/middleware/environment.d.ts +0 -11
  29. package/build/internal/src/middleware/generics.d.ts +0 -40
  30. package/build/internal/src/middleware/guide.d.ts +0 -37
  31. package/build/internal/src/middleware/helpDocsIntegration.d.ts +0 -66
  32. package/build/internal/src/middleware/helpDocsSync.d.ts +0 -42
  33. package/build/internal/src/middleware/helpers/argument.d.ts +0 -568
  34. package/build/internal/src/middleware/helpers/commandTemplate.d.ts +0 -225
  35. package/build/internal/src/middleware/helpers/endUser.d.ts +0 -10
  36. package/build/internal/src/middleware/helpers/optionGroup.d.ts +0 -2
  37. package/build/internal/src/middleware/helpers/rules.d.ts +0 -234
  38. package/build/internal/src/middleware/historyEvent.d.ts +0 -40
  39. package/build/internal/src/middleware/network.d.ts +0 -4
  40. package/build/internal/src/middleware/nudge.d.ts +0 -261
  41. package/build/internal/src/middleware/organization.d.ts +0 -946
  42. package/build/internal/src/middleware/placeholder.d.ts +0 -47
  43. package/build/internal/src/middleware/profile.d.ts +0 -11
  44. package/build/internal/src/middleware/releases.d.ts +0 -261
  45. package/build/internal/src/middleware/skin.d.ts +0 -83
  46. package/build/internal/src/middleware/tab.d.ts +0 -27
  47. package/build/internal/src/middleware/types.d.ts +0 -137
  48. package/build/internal/src/middleware/user.d.ts +0 -14
  49. package/build/internal/src/util/Disposable.d.ts +0 -17
  50. package/build/internal/src/util/LocalStorage.d.ts +0 -6
  51. package/build/internal/src/util/Logger.d.ts +0 -18
  52. package/build/internal/src/util/dispatchCustomEvent.d.ts +0 -2
@@ -1,62 +0,0 @@
1
- import { IOrganizationType } from '../middleware/OrganizationV';
2
- import { PublicDisposable } from '../util/Disposable';
3
- declare type ExtraData = Record<string, unknown>;
4
- export interface UserScopeOptions {
5
- configuration: {
6
- uuid?: string;
7
- api: string;
8
- editor: string;
9
- proxy: string;
10
- session: string;
11
- };
12
- organization?: IOrganizationType;
13
- organizationId: string | number;
14
- organizationName?: string;
15
- session: string;
16
- userId?: string;
17
- }
18
- declare enum Severity {
19
- Fatal = "fatal",
20
- Error = "error",
21
- Warning = "warning",
22
- Log = "log",
23
- Info = "info",
24
- Debug = "debug",
25
- Critical = "critical"
26
- }
27
- interface Breadcrumb {
28
- type?: string;
29
- level?: Severity;
30
- event_id?: string;
31
- category?: string;
32
- message?: string;
33
- data?: {
34
- [key: string]: any;
35
- };
36
- timestamp?: number;
37
- }
38
- interface BreadcrumbHint {
39
- [key: string]: any;
40
- }
41
- export declare abstract class SentryReporter implements PublicDisposable {
42
- _disposed: boolean;
43
- breadcrumb: (breadcrumb: Breadcrumb, hint?: BreadcrumbHint) => void;
44
- dispose(): void;
45
- /**
46
- * Report an error to Sentry. The first argument must either be a string or error object, and optionally an error
47
- * object and extra data (in the form of an object) may be provided as well.
48
- *
49
- * If a string message is provided instead of an Error object a new Error will be generated. This will cause the
50
- * stacktrace to begin at this function; for that reason it is **strongly** recommended to provide an error object
51
- * so that the original stack trace can be preserved (as originalException).
52
- */
53
- abstract exception(message: string, err?: Error, extra?: ExtraData): void;
54
- abstract exception(message: string, extra?: ExtraData): void;
55
- abstract exception(err: Error, extra?: ExtraData): void;
56
- /**
57
- * Assigns various scope properties related to the currently active user and organization so that error events can
58
- * be easily associated with them.
59
- */
60
- abstract setUserScope(opts: UserScopeOptions): void;
61
- }
62
- export {};
@@ -1,19 +0,0 @@
1
- import { CommandBarClientSDK } from './CommandBarClientSDK';
2
- import { CommandBarSDK } from './CommandBarSDK';
3
- declare global {
4
- interface Window {
5
- CommandBar: CommandBarClientSDK;
6
- _CommandBarTmpQueueProcessing: CommandBarSDK | undefined;
7
- }
8
- }
9
- export { initProxySDK, getProxySDK } from './proxy';
10
- /**
11
- * Returns the CommandBar global SDK.
12
- * The SDK object might be a proxy instead if `initSDK` has not yet been called.
13
- */
14
- export declare function getSDK(): CommandBarSDK;
15
- /**
16
- * Returns the CommandBar global, coerced to match the client interface.
17
- * The SDK object might be a proxy instead if `initSDK` has not yet been called.
18
- */
19
- 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,35 +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 _reloadNudges: unique symbol;
19
- export declare const _report: unique symbol;
20
- export declare const _reporter: unique symbol;
21
- export declare const _search: unique symbol;
22
- export declare const _setDashboard: unique symbol;
23
- export declare const _setPreviewMode: unique symbol;
24
- export declare const _setTestMode: unique symbol;
25
- export declare const _setEditorVisible: unique symbol;
26
- export declare const _shareContextSettings: unique symbol;
27
- export declare const _shareProgrammaticCommands: unique symbol;
28
- export declare const _showGuide: unique symbol;
29
- export declare const _showMessage: unique symbol;
30
- export declare const _state: unique symbol;
31
- export declare const _unwrap: unique symbol;
32
- export declare const _user: unique symbol;
33
- export declare const _userAttributes: unique symbol;
34
- export declare const _eventSubscriptions: unique symbol;
35
- export declare const _metaAttributes: unique symbol;
@@ -1,307 +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
- }>]>]>, t.IntersectionC<[t.TypeC<{
37
- type: t.LiteralC<"request">;
38
- value: t.IntersectionC<[t.TypeC<{
39
- method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
40
- url: t.StringC;
41
- }>, t.PartialC<{
42
- headers: t.UnknownRecordC;
43
- body: t.UnknownRecordC;
44
- onSend: t.StringC;
45
- onSuccess: t.StringC;
46
- onError: t.StringC;
47
- }>]>;
48
- }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
49
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
50
- object: t.StringC;
51
- hoverTooltip: t.BooleanC;
52
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
53
- }>]>]>, t.IntersectionC<[t.TypeC<{
54
- type: t.LiteralC<"appcues">;
55
- value: t.StringC;
56
- }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
57
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
58
- object: t.StringC;
59
- hoverTooltip: t.BooleanC;
60
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
61
- }>]>]>, t.IntersectionC<[t.TypeC<{
62
- type: t.LiteralC<"helpdoc">;
63
- value: t.StringC;
64
- }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
65
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
66
- object: t.StringC;
67
- hoverTooltip: t.BooleanC;
68
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
69
- }>]>]>]>;
70
- text: t.StringC;
71
- }>, t.PartialC<{
72
- shortcut_mac: t.ArrayC<t.StringC>;
73
- shortcut_win: t.ArrayC<t.StringC>;
74
- hotkey_mac: t.StringC;
75
- hotkey_win: t.StringC;
76
- tags: t.ArrayC<t.StringC>;
77
- explanation: t.StringC;
78
- heading: t.StringC;
79
- sort_key: t.UnionC<[t.NumberC, t.NullC]>;
80
- arguments: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
81
- type: t.LiteralC<"context">;
82
- value: t.StringC;
83
- order_key: t.NumberC;
84
- }>, t.PartialC<{
85
- label: t.StringC;
86
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
87
- selected: t.ArrayC<t.AnyC>;
88
- input_type: t.StringC;
89
- preselected_key: t.StringC;
90
- label_field: t.StringC;
91
- availability_condition: t.ArrayC<t.TypeC<{
92
- field: t.StringC;
93
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
94
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
95
- }>>;
96
- loaded: t.ArrayC<t.AnyC>;
97
- allow_create: t.BooleanC;
98
- allow_create_label: t.StringC;
99
- show_in_record_action_list: t.BooleanC;
100
- show_in_default_list: t.BooleanC;
101
- auto_choose: t.BooleanC;
102
- is_private: t.BooleanC;
103
- }>]>, t.IntersectionC<[t.TypeC<{
104
- type: t.LiteralC<"set">;
105
- value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
106
- order_key: t.NumberC;
107
- }>, t.PartialC<{
108
- label: t.StringC;
109
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
110
- selected: t.ArrayC<t.AnyC>;
111
- input_type: t.StringC;
112
- preselected_key: t.StringC;
113
- label_field: t.StringC;
114
- availability_condition: t.ArrayC<t.TypeC<{
115
- field: t.StringC;
116
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
117
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
118
- }>>;
119
- loaded: t.ArrayC<t.AnyC>;
120
- allow_create: t.BooleanC;
121
- allow_create_label: t.StringC;
122
- auto_choose: t.BooleanC;
123
- is_private: t.BooleanC;
124
- }>]>, t.IntersectionC<[t.TypeC<{
125
- type: t.LiteralC<"provided">;
126
- value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
127
- order_key: t.NumberC;
128
- }>, t.PartialC<{
129
- label: t.StringC;
130
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
131
- selected: t.ArrayC<t.AnyC>;
132
- input_type: t.StringC;
133
- preselected_key: t.StringC;
134
- label_field: t.StringC;
135
- availability_condition: t.ArrayC<t.TypeC<{
136
- field: t.StringC;
137
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
138
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
139
- }>>;
140
- loaded: t.ArrayC<t.AnyC>;
141
- dateTimeArgumentTypeId: t.NumberC;
142
- allow_create: t.BooleanC;
143
- allow_create_label: t.StringC;
144
- auto_choose: t.BooleanC;
145
- is_private: t.BooleanC;
146
- }>]>, t.IntersectionC<[t.TypeC<{
147
- type: t.LiteralC<"dependent">;
148
- value: t.StringC;
149
- order_key: t.NumberC;
150
- }>, t.PartialC<{
151
- label: t.StringC;
152
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
153
- selected: t.ArrayC<t.AnyC>;
154
- input_type: t.StringC;
155
- preselected_key: t.StringC;
156
- label_field: t.StringC;
157
- availability_condition: t.ArrayC<t.TypeC<{
158
- field: t.StringC;
159
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
160
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
161
- }>>;
162
- loaded: t.ArrayC<t.AnyC>;
163
- allow_create: t.BooleanC;
164
- allow_create_label: t.StringC;
165
- auto_choose: t.BooleanC;
166
- is_private: t.BooleanC;
167
- }>]>, t.IntersectionC<[t.TypeC<{
168
- type: t.LiteralC<"function">;
169
- value: t.StringC;
170
- order_key: t.NumberC;
171
- }>, t.PartialC<{
172
- label: t.StringC;
173
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
174
- selected: t.ArrayC<t.AnyC>;
175
- input_type: t.StringC;
176
- preselected_key: t.StringC;
177
- label_field: t.StringC;
178
- availability_condition: t.ArrayC<t.TypeC<{
179
- field: t.StringC;
180
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
181
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
182
- }>>;
183
- loaded: t.ArrayC<t.AnyC>;
184
- allow_create: t.BooleanC;
185
- allow_create_label: t.StringC;
186
- auto_choose: t.BooleanC;
187
- is_private: t.BooleanC;
188
- }>]>, t.IntersectionC<[t.TypeC<{
189
- type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
190
- value: t.IntersectionC<[t.TypeC<{
191
- source: t.StringC;
192
- }>, t.PartialC<{
193
- title: t.StringC;
194
- description: t.StringC;
195
- url: t.StringC;
196
- }>]>;
197
- order_key: t.NumberC;
198
- }>, t.PartialC<{
199
- label: t.StringC;
200
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
201
- selected: t.ArrayC<t.AnyC>;
202
- input_type: t.StringC;
203
- preselected_key: t.StringC;
204
- label_field: t.StringC;
205
- availability_condition: t.ArrayC<t.TypeC<{
206
- field: t.StringC;
207
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
208
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
209
- }>>;
210
- loaded: t.ArrayC<t.AnyC>;
211
- allow_create: t.BooleanC;
212
- allow_create_label: t.StringC;
213
- is_private: t.BooleanC;
214
- auto_choose: t.BooleanC;
215
- }>]>]>>;
216
- category: t.UnionC<[t.NumberC, t.StringC, t.NullC]>;
217
- icon: t.UnionC<[t.StringC, t.NullC]>;
218
- icon_color: t.UnionC<[t.StringC, t.NullC]>;
219
- image_color: t.UnionC<[t.StringC, t.NullC]>;
220
- image: t.UnionC<[t.StringC, t.NullC]>;
221
- celebrate: t.UnionC<[t.BooleanC, t.PartialC<{
222
- angle: t.NumberC;
223
- spread: t.NumberC;
224
- width: t.StringC;
225
- height: t.StringC;
226
- duration: t.NumberC;
227
- dragFriction: t.NumberC;
228
- stagger: t.NumberC;
229
- startVelocity: t.NumberC;
230
- elementCount: t.NumberC;
231
- decay: t.NumberC;
232
- colors: t.ArrayC<t.StringC>;
233
- random: t.AnyC;
234
- }>, t.NullC]>;
235
- availability_rules: t.ArrayC<t.IntersectionC<[t.TypeC<{
236
- type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">, t.LiteralC<"event_count">]>;
237
- operator: t.KeyofC<{
238
- includes: null;
239
- endsWith: null;
240
- startsWith: null;
241
- is: null;
242
- isTruthy: null;
243
- isFalsy: null;
244
- isNot: null;
245
- isTrue: null;
246
- isFalse: null;
247
- doesNotInclude: null;
248
- matchesRegex: null;
249
- isGreaterThan: null;
250
- isLessThan: null;
251
- isDefined: null;
252
- isNotDefined: null;
253
- classnameOnPage: null;
254
- idOnPage: null;
255
- }>;
256
- }>, t.PartialC<{
257
- field: t.StringC;
258
- value: t.StringC;
259
- reason: t.StringC;
260
- }>]>>;
261
- recommend_rules: t.ArrayC<t.UnionC<[t.IntersectionC<[t.TypeC<{
262
- type: t.LiteralC<"always">;
263
- }>, t.PartialC<{
264
- operator: t.UnionC<[t.UndefinedC, t.NullC]>;
265
- field: t.UnionC<[t.UndefinedC, t.NullC]>;
266
- value: t.UnionC<[t.UndefinedC, t.NullC]>;
267
- reason: t.UnionC<[t.UndefinedC, t.NullC]>;
268
- }>]>, t.IntersectionC<[t.TypeC<{
269
- type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">, t.LiteralC<"event_count">]>;
270
- operator: t.KeyofC<{
271
- includes: null;
272
- endsWith: null;
273
- startsWith: null;
274
- is: null;
275
- isTruthy: null;
276
- isFalsy: null;
277
- isNot: null;
278
- isTrue: null;
279
- isFalse: null;
280
- doesNotInclude: null;
281
- matchesRegex: null;
282
- isGreaterThan: null;
283
- isLessThan: null;
284
- isDefined: null;
285
- isNotDefined: null;
286
- classnameOnPage: null;
287
- idOnPage: null;
288
- }>;
289
- }>, t.PartialC<{
290
- field: t.StringC;
291
- value: t.StringC;
292
- reason: t.StringC;
293
- }>]>]>>;
294
- availability_expression: t.ArrayC<t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>>;
295
- recommend_expression: t.ArrayC<t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>>;
296
- detail: t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
297
- type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
298
- value: t.StringC;
299
- }>, t.PartialC<{
300
- position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
301
- }>]>, t.ArrayC<t.IntersectionC<[t.TypeC<{
302
- type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
303
- value: t.StringC;
304
- }>, t.PartialC<{
305
- position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
306
- }>]>>]>;
307
- }>]>;
@@ -1,5 +0,0 @@
1
- import * as t from 'io-ts';
2
- import { CommandFromClientV } from './CommandFromClientV';
3
- import { ContextArgumentV } from './helpers/argument';
4
- export declare type ICommandFromClientType = t.TypeOf<typeof CommandFromClientV> & unknown;
5
- export declare type IContextArgument = t.TypeOf<typeof ContextArgumentV>;
@@ -1,3 +0,0 @@
1
- import * as t from 'io-ts';
2
- import { ResourceSettingsV } from './ResourceSettingsV';
3
- export declare type IResourceSettings = t.TypeOf<typeof ResourceSettingsV> & unknown;
@@ -1,170 +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
- default_command_id: t.UnionC<[t.NumberC, t.StringC, t.UndefinedC]>;
34
- render_as: t.UnionC<[t.LiteralC<"list">, t.LiteralC<"grid">]>;
35
- showResources: t.BooleanC;
36
- show_with_no_results: t.BooleanC;
37
- search_tab_enabled: t.BooleanC;
38
- search_tab_name: t.UnionC<[t.StringC, t.NullC]>;
39
- slash_filter_enabled: t.BooleanC;
40
- slash_filter_keyword: t.UnionC<[t.StringC, t.NullC]>;
41
- search_tab_instruction: t.UnionC<[t.StringC, t.NullC]>;
42
- setting_pin_to_bottom: t.BooleanC;
43
- track_recents: t.BooleanC;
44
- detail: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
45
- type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
46
- value: t.StringC;
47
- }>, t.PartialC<{
48
- position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
49
- }>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
50
- type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
51
- value: t.StringC;
52
- }>, t.PartialC<{
53
- position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
54
- }>]>]>>]>;
55
- }>>;
56
- should_show_onboarding: t.BooleanC;
57
- last_snippet_request: t.UnionC<[t.StringC, t.NullC]>;
58
- last_snippet_request_in_production: t.UnionC<[t.StringC, t.NullC]>;
59
- branding: t.StringC;
60
- custom_call_to_action: t.StringC;
61
- search_fuzzy_threshold: t.UnionC<[t.NumberC, t.NullC]>;
62
- show_skin_editor: t.BooleanC;
63
- allow_event_handlers: t.BooleanC;
64
- in_bar_feedback: t.BooleanC;
65
- summon_hotkey_override: t.UnionC<[t.StringC, t.NullC]>;
66
- end_user_hotkeys: t.UnionC<[t.UndefinedC, t.BooleanC]>;
67
- end_user_shortcuts_enabled: t.BooleanC;
68
- end_user_recents_enabled: t.BooleanC;
69
- releases_available: t.BooleanC;
70
- releases_enabled: t.BooleanC;
71
- fallback_commands: t.ArrayC<t.NumberC>;
72
- tab_direction: t.UnionC<[t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
73
- recommended_tab_enabled: t.BooleanC;
74
- recents_tab_enabled: t.BooleanC;
75
- recommended_tab_instruction: t.StringC;
76
- recents_tab_instruction: t.StringC;
77
- hotload_help_docs: t.BooleanC;
78
- slash_filters_enabled: t.BooleanC;
79
- recents_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
80
- recommended_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
81
- has_hotloaded_help_docs: t.BooleanC;
82
- }>;
83
- export declare const defaults: t.TypeOf<typeof OrganizationAdditionalV>;
84
- export declare const OrganizationV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
85
- id: t.UnionC<[t.NumberC, t.StringC]>;
86
- name: t.StringC;
87
- created: t.StringC;
88
- }>, t.PartialC<{}>]>, t.TypeC<{
89
- launcher_type: t.UnionC<[t.LiteralC<"minimal">, t.LiteralC<"alternate">, t.LiteralC<"prompt">, t.LiteralC<"none">]>;
90
- launcher_position: t.UnionC<[t.LiteralC<"topRight">, t.LiteralC<"topLeft">, t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
91
- show_launcher_recommendations: t.BooleanC;
92
- recommendations_type: t.UnionC<[t.LiteralC<"None">, t.LiteralC<"Custom">, t.LiteralC<"Algorithm">, t.UndefinedC]>;
93
- launcher_offset_x: t.NumberC;
94
- launcher_offset_y: t.NumberC;
95
- theme: t.ObjectC;
96
- icon: t.StringC;
97
- icon_suggest: t.StringC;
98
- icon_tutorial: t.StringC;
99
- icon_go_forward: t.StringC;
100
- resource_options: t.RecordC<t.StringC, t.PartialC<{
101
- name: t.StringC;
102
- search: t.BooleanC;
103
- label_field: t.StringC;
104
- useCategory: t.BooleanC;
105
- search_fields: t.ArrayC<t.UnionC<[t.StringC, t.TypeC<{
106
- key: t.StringC;
107
- label: t.StringC;
108
- }>]>>;
109
- auto_execute: t.BooleanC;
110
- unfurl: t.BooleanC;
111
- description_field: t.StringC;
112
- icon: t.StringC;
113
- icon_color: t.StringC;
114
- image_color: t.StringC;
115
- image: t.StringC;
116
- sort_key: t.NumberC;
117
- max_options_count: t.UnionC<[t.NumberC, t.NullC]>;
118
- sortFunction: t.AnyC;
119
- default_command_id: t.UnionC<[t.NumberC, t.StringC, t.UndefinedC]>;
120
- render_as: t.UnionC<[t.LiteralC<"list">, t.LiteralC<"grid">]>;
121
- showResources: t.BooleanC;
122
- show_with_no_results: t.BooleanC;
123
- search_tab_enabled: t.BooleanC;
124
- search_tab_name: t.UnionC<[t.StringC, t.NullC]>;
125
- slash_filter_enabled: t.BooleanC;
126
- slash_filter_keyword: t.UnionC<[t.StringC, t.NullC]>;
127
- search_tab_instruction: t.UnionC<[t.StringC, t.NullC]>;
128
- setting_pin_to_bottom: t.BooleanC;
129
- track_recents: t.BooleanC;
130
- detail: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
131
- type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
132
- value: t.StringC;
133
- }>, t.PartialC<{
134
- position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
135
- }>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
136
- type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
137
- value: t.StringC;
138
- }>, t.PartialC<{
139
- position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
140
- }>]>]>>]>;
141
- }>>;
142
- should_show_onboarding: t.BooleanC;
143
- last_snippet_request: t.UnionC<[t.StringC, t.NullC]>;
144
- last_snippet_request_in_production: t.UnionC<[t.StringC, t.NullC]>;
145
- branding: t.StringC;
146
- custom_call_to_action: t.StringC;
147
- search_fuzzy_threshold: t.UnionC<[t.NumberC, t.NullC]>;
148
- show_skin_editor: t.BooleanC;
149
- allow_event_handlers: t.BooleanC;
150
- in_bar_feedback: t.BooleanC;
151
- summon_hotkey_override: t.UnionC<[t.StringC, t.NullC]>;
152
- end_user_hotkeys: t.UnionC<[t.UndefinedC, t.BooleanC]>;
153
- end_user_shortcuts_enabled: t.BooleanC;
154
- end_user_recents_enabled: t.BooleanC;
155
- releases_available: t.BooleanC;
156
- releases_enabled: t.BooleanC;
157
- fallback_commands: t.ArrayC<t.NumberC>;
158
- tab_direction: t.UnionC<[t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
159
- recommended_tab_enabled: t.BooleanC;
160
- recents_tab_enabled: t.BooleanC;
161
- recommended_tab_instruction: t.StringC;
162
- recents_tab_instruction: t.StringC;
163
- hotload_help_docs: t.BooleanC;
164
- slash_filters_enabled: t.BooleanC;
165
- recents_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
166
- recommended_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
167
- has_hotloaded_help_docs: t.BooleanC;
168
- }>]>;
169
- export declare type IOrganizationType = t.TypeOf<typeof OrganizationV> & unknown;
170
- export {};