commandbar 1.6.8 → 1.6.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,31 +15,25 @@ export declare const InternalSettingsV: t.TypeC<{
15
15
  integrations: t.RecordC<t.StringC, t.RecordC<t.StringC, t.StringC>>;
16
16
  }>;
17
17
  export declare const OrganizationSettingsV: t.TypeC<{
18
- analytics: t.TypeC<{
19
- execution_limit: t.NumberC;
20
- deadend_limit: t.NumberC;
21
- }>;
22
- analytics_control: t.TypeC<{
23
- silent_enabled: t.BooleanC;
24
- allow_event_handlers: t.BooleanC;
25
- event_attribute_block_list: t.ArrayC<t.StringC>;
26
- }>;
27
- skins: t.TypeC<{
28
- limit: t.NumberC;
29
- field_set: t.UnionC<[t.LiteralC<"pro">, t.LiteralC<"basic">]>;
30
- }>;
31
- deployment: t.TypeC<{
32
- show_countdown_banner: t.BooleanC;
33
- }>;
34
- view: t.TypeC<{
35
- in_bar_feedback: t.BooleanC;
36
- }>;
37
18
  end_user_limit: t.NumberC;
38
19
  user_seat_limit: t.NumberC;
39
- releases: t.TypeC<{
40
- available: t.BooleanC;
41
- environments: t.ArrayC<t.StringC>;
42
- }>;
20
+ analytics_dashboard_execution_limit: t.NumberC;
21
+ analytics_dashboard_deadend_limit: t.NumberC;
22
+ silent_mode: t.BooleanC;
23
+ allow_event_handlers: t.BooleanC;
24
+ event_attribute_block_list: t.ArrayC<t.StringC>;
25
+ skins_limit: t.NumberC;
26
+ skins_field_set: t.UnionC<[t.LiteralC<"pro">, t.LiteralC<"basic">]>;
27
+ show_countdown_banner: t.BooleanC;
28
+ can_install_foobar: t.BooleanC;
29
+ releases_available: t.BooleanC;
30
+ releases_enabled: t.BooleanC;
31
+ releases_environments: t.ArrayC<t.StringC>;
32
+ in_bar_feedback: t.BooleanC;
33
+ summon_hotkey_override: t.UnionC<[t.StringC, t.NullC]>;
34
+ end_user_shortcuts_enabled: t.BooleanC;
35
+ fallback_commands: t.ArrayC<t.NumberC>;
36
+ end_user_recents_enabled: t.BooleanC;
43
37
  }>;
44
38
  export declare class Organization {
45
39
  static read: (arg0: string, params?: Record<string, string> | undefined, callbacks?: {
@@ -67,7 +61,10 @@ export declare class Organization {
67
61
  search?: boolean | undefined;
68
62
  label_field?: string | undefined;
69
63
  useCategory?: boolean | undefined;
70
- search_fields?: string[] | undefined;
64
+ search_fields?: (string | {
65
+ key: string;
66
+ label: string;
67
+ })[] | undefined;
71
68
  auto_execute?: boolean | undefined;
72
69
  unfurl?: boolean | undefined;
73
70
  description_field?: string | undefined;
@@ -76,12 +73,14 @@ export declare class Organization {
76
73
  max_options_count?: number | null | undefined;
77
74
  sortFunction?: any;
78
75
  default_command_id?: string | number | undefined;
76
+ render_as?: "grid" | "list" | undefined;
79
77
  showResources?: boolean | undefined;
80
78
  show_with_no_results?: boolean | undefined;
81
79
  search_tab_enabled?: boolean | undefined;
82
80
  search_tab_name?: string | null | undefined;
83
81
  search_tab_instruction?: string | null | undefined;
84
82
  setting_pin_to_bottom?: boolean | undefined;
83
+ track_recents?: boolean | undefined;
85
84
  };
86
85
  };
87
86
  should_show_onboarding: boolean;
@@ -94,9 +93,13 @@ export declare class Organization {
94
93
  allow_event_handlers: boolean;
95
94
  in_bar_feedback: boolean;
96
95
  summon_hotkey_override: string | null;
97
- end_user_hotkeys: boolean;
96
+ end_user_hotkeys: boolean | undefined;
97
+ end_user_shortcuts_enabled: boolean;
98
+ end_user_recents_enabled: boolean;
98
99
  releases_available: boolean;
99
100
  releases_enabled: boolean;
101
+ fallback_commands: number[];
102
+ tab_direction: "horizontal" | "vertical";
100
103
  }>;
101
104
  static update: (object: {
102
105
  id: string | number;
@@ -120,7 +123,10 @@ export declare class Organization {
120
123
  search?: boolean | undefined;
121
124
  label_field?: string | undefined;
122
125
  useCategory?: boolean | undefined;
123
- search_fields?: string[] | undefined;
126
+ search_fields?: (string | {
127
+ key: string;
128
+ label: string;
129
+ })[] | undefined;
124
130
  auto_execute?: boolean | undefined;
125
131
  unfurl?: boolean | undefined;
126
132
  description_field?: string | undefined;
@@ -129,12 +135,14 @@ export declare class Organization {
129
135
  max_options_count?: number | null | undefined;
130
136
  sortFunction?: any;
131
137
  default_command_id?: string | number | undefined;
138
+ render_as?: "grid" | "list" | undefined;
132
139
  showResources?: boolean | undefined;
133
140
  show_with_no_results?: boolean | undefined;
134
141
  search_tab_enabled?: boolean | undefined;
135
142
  search_tab_name?: string | null | undefined;
136
143
  search_tab_instruction?: string | null | undefined;
137
144
  setting_pin_to_bottom?: boolean | undefined;
145
+ track_recents?: boolean | undefined;
138
146
  };
139
147
  };
140
148
  should_show_onboarding: boolean;
@@ -147,9 +155,13 @@ export declare class Organization {
147
155
  allow_event_handlers: boolean;
148
156
  in_bar_feedback: boolean;
149
157
  summon_hotkey_override: string | null;
150
- end_user_hotkeys: boolean;
158
+ end_user_hotkeys: boolean | undefined;
159
+ end_user_shortcuts_enabled: boolean;
160
+ end_user_recents_enabled: boolean;
151
161
  releases_available: boolean;
152
162
  releases_enabled: boolean;
163
+ fallback_commands: number[];
164
+ tab_direction: "horizontal" | "vertical";
153
165
  }, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
154
166
  id: string | number;
155
167
  name: string;
@@ -172,7 +184,10 @@ export declare class Organization {
172
184
  search?: boolean | undefined;
173
185
  label_field?: string | undefined;
174
186
  useCategory?: boolean | undefined;
175
- search_fields?: string[] | undefined;
187
+ search_fields?: (string | {
188
+ key: string;
189
+ label: string;
190
+ })[] | undefined;
176
191
  auto_execute?: boolean | undefined;
177
192
  unfurl?: boolean | undefined;
178
193
  description_field?: string | undefined;
@@ -181,12 +196,14 @@ export declare class Organization {
181
196
  max_options_count?: number | null | undefined;
182
197
  sortFunction?: any;
183
198
  default_command_id?: string | number | undefined;
199
+ render_as?: "grid" | "list" | undefined;
184
200
  showResources?: boolean | undefined;
185
201
  show_with_no_results?: boolean | undefined;
186
202
  search_tab_enabled?: boolean | undefined;
187
203
  search_tab_name?: string | null | undefined;
188
204
  search_tab_instruction?: string | null | undefined;
189
205
  setting_pin_to_bottom?: boolean | undefined;
206
+ track_recents?: boolean | undefined;
190
207
  };
191
208
  };
192
209
  should_show_onboarding: boolean;
@@ -199,9 +216,13 @@ export declare class Organization {
199
216
  allow_event_handlers: boolean;
200
217
  in_bar_feedback: boolean;
201
218
  summon_hotkey_override: string | null;
202
- end_user_hotkeys: boolean;
219
+ end_user_hotkeys: boolean | undefined;
220
+ end_user_shortcuts_enabled: boolean;
221
+ end_user_recents_enabled: boolean;
203
222
  releases_available: boolean;
204
223
  releases_enabled: boolean;
224
+ fallback_commands: number[];
225
+ tab_direction: "horizontal" | "vertical";
205
226
  }>;
206
227
  static listCommands: (orgUID: string) => Promise<({
207
228
  id: number;
@@ -232,7 +253,7 @@ export declare class Organization {
232
253
  hoverTooltip?: boolean | undefined;
233
254
  operation?: "self" | "router" | "blank" | undefined;
234
255
  }) | ({
235
- type: "click" | "clickBySelector" | "clickByXpath";
256
+ type: "click" | "clickByXpath" | "clickBySelector";
236
257
  value: string[];
237
258
  } & {} & {
238
259
  commandType?: "object" | "independent" | "help" | undefined;
@@ -263,6 +284,35 @@ export declare class Organization {
263
284
  object?: string | undefined;
264
285
  hoverTooltip?: boolean | undefined;
265
286
  operation?: "self" | "router" | "blank" | undefined;
287
+ }) | ({
288
+ type: "request";
289
+ value: {
290
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
291
+ url: string;
292
+ } & {
293
+ headers?: {
294
+ [key: string]: unknown;
295
+ } | undefined;
296
+ body?: {
297
+ [key: string]: unknown;
298
+ } | undefined;
299
+ onSend?: string | undefined;
300
+ onSuccess?: string | undefined;
301
+ onError?: string | undefined;
302
+ };
303
+ } & {} & {
304
+ commandType?: "object" | "independent" | "help" | undefined;
305
+ object?: string | undefined;
306
+ hoverTooltip?: boolean | undefined;
307
+ operation?: "self" | "router" | "blank" | undefined;
308
+ }) | ({
309
+ type: "appcues";
310
+ value: string;
311
+ } & {} & {
312
+ commandType?: "object" | "independent" | "help" | undefined;
313
+ object?: string | undefined;
314
+ hoverTooltip?: boolean | undefined;
315
+ operation?: "self" | "router" | "blank" | undefined;
266
316
  });
267
317
  } & {
268
318
  disabledReason?: string | undefined;
@@ -424,6 +474,13 @@ export declare class Organization {
424
474
  shortcut_win: string[];
425
475
  hotkey_mac: string;
426
476
  hotkey_win: string;
477
+ detail: string | {
478
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
479
+ value: string;
480
+ } | (string | {
481
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
482
+ value: string;
483
+ })[] | null;
427
484
  })[]>;
428
485
  static listCommandCategories: (orgUID: string) => Promise<({
429
486
  id: number;
@@ -432,12 +489,14 @@ export declare class Organization {
432
489
  } & {} & {
433
490
  sort_key: number | null;
434
491
  icon: string | null;
492
+ render_as: "grid" | "list";
435
493
  setting_hide_before_search: boolean;
436
494
  setting_max_options_count: number | null;
437
495
  setting_pin_to_bottom: boolean;
438
496
  search_tab_enabled: boolean;
439
497
  search_tab_name: string;
440
498
  search_tab_instruction: string;
499
+ track_recents: boolean;
441
500
  })[]>;
442
501
  static listGuides: (orgUID: string) => Promise<({
443
502
  id: number;
@@ -522,31 +581,69 @@ export declare class Organization {
522
581
  onSuccess?: (() => void) | undefined;
523
582
  onError?: ((err: string) => void) | undefined;
524
583
  } | undefined) => Promise<{
525
- analytics: {
526
- execution_limit: number;
527
- deadend_limit: number;
528
- };
529
- analytics_control: {
530
- silent_enabled: boolean;
531
- allow_event_handlers: boolean;
532
- event_attribute_block_list: string[];
533
- };
534
- skins: {
535
- limit: number;
536
- field_set: "basic" | "pro";
537
- };
538
- deployment: {
539
- show_countdown_banner: boolean;
540
- };
541
- view: {
542
- in_bar_feedback: boolean;
543
- };
544
584
  end_user_limit: number;
545
585
  user_seat_limit: number;
546
- releases: {
547
- available: boolean;
548
- environments: string[];
549
- };
586
+ analytics_dashboard_execution_limit: number;
587
+ analytics_dashboard_deadend_limit: number;
588
+ silent_mode: boolean;
589
+ allow_event_handlers: boolean;
590
+ event_attribute_block_list: string[];
591
+ skins_limit: number;
592
+ skins_field_set: "basic" | "pro";
593
+ show_countdown_banner: boolean;
594
+ can_install_foobar: boolean;
595
+ releases_available: boolean;
596
+ releases_enabled: boolean;
597
+ releases_environments: string[];
598
+ in_bar_feedback: boolean;
599
+ summon_hotkey_override: string | null;
600
+ end_user_shortcuts_enabled: boolean;
601
+ fallback_commands: number[];
602
+ end_user_recents_enabled: boolean;
603
+ }>;
604
+ static updateSetting: (object: {
605
+ end_user_limit?: number | undefined;
606
+ user_seat_limit?: number | undefined;
607
+ analytics_dashboard_execution_limit?: number | undefined;
608
+ analytics_dashboard_deadend_limit?: number | undefined;
609
+ silent_mode?: boolean | undefined;
610
+ allow_event_handlers?: boolean | undefined;
611
+ event_attribute_block_list?: string[] | undefined;
612
+ skins_limit?: number | undefined;
613
+ skins_field_set?: "basic" | "pro" | undefined;
614
+ show_countdown_banner?: boolean | undefined;
615
+ can_install_foobar?: boolean | undefined;
616
+ releases_available?: boolean | undefined;
617
+ releases_enabled?: boolean | undefined;
618
+ releases_environments?: string[] | undefined;
619
+ in_bar_feedback?: boolean | undefined;
620
+ summon_hotkey_override?: string | null | undefined;
621
+ end_user_shortcuts_enabled?: boolean | undefined;
622
+ fallback_commands?: number[] | undefined;
623
+ end_user_recents_enabled?: boolean | undefined;
624
+ }, params?: Record<string, string> | undefined, callbacks?: {
625
+ onSuccess?: (() => void) | undefined;
626
+ onError?: ((err: string) => void) | undefined;
627
+ } | undefined) => Promise<{
628
+ end_user_limit: number;
629
+ user_seat_limit: number;
630
+ analytics_dashboard_execution_limit: number;
631
+ analytics_dashboard_deadend_limit: number;
632
+ silent_mode: boolean;
633
+ allow_event_handlers: boolean;
634
+ event_attribute_block_list: string[];
635
+ skins_limit: number;
636
+ skins_field_set: "basic" | "pro";
637
+ show_countdown_banner: boolean;
638
+ can_install_foobar: boolean;
639
+ releases_available: boolean;
640
+ releases_enabled: boolean;
641
+ releases_environments: string[];
642
+ in_bar_feedback: boolean;
643
+ summon_hotkey_override: string | null;
644
+ end_user_shortcuts_enabled: boolean;
645
+ fallback_commands: number[];
646
+ end_user_recents_enabled: boolean;
550
647
  }>;
551
648
  static decode: (data: any) => {
552
649
  id: string | number;
@@ -570,7 +667,10 @@ export declare class Organization {
570
667
  search?: boolean | undefined;
571
668
  label_field?: string | undefined;
572
669
  useCategory?: boolean | undefined;
573
- search_fields?: string[] | undefined;
670
+ search_fields?: (string | {
671
+ key: string;
672
+ label: string;
673
+ })[] | undefined;
574
674
  auto_execute?: boolean | undefined;
575
675
  unfurl?: boolean | undefined;
576
676
  description_field?: string | undefined;
@@ -579,12 +679,14 @@ export declare class Organization {
579
679
  max_options_count?: number | null | undefined;
580
680
  sortFunction?: any;
581
681
  default_command_id?: string | number | undefined;
682
+ render_as?: "grid" | "list" | undefined;
582
683
  showResources?: boolean | undefined;
583
684
  show_with_no_results?: boolean | undefined;
584
685
  search_tab_enabled?: boolean | undefined;
585
686
  search_tab_name?: string | null | undefined;
586
687
  search_tab_instruction?: string | null | undefined;
587
688
  setting_pin_to_bottom?: boolean | undefined;
689
+ track_recents?: boolean | undefined;
588
690
  };
589
691
  };
590
692
  should_show_onboarding: boolean;
@@ -597,8 +699,12 @@ export declare class Organization {
597
699
  allow_event_handlers: boolean;
598
700
  in_bar_feedback: boolean;
599
701
  summon_hotkey_override: string | null;
600
- end_user_hotkeys: boolean;
702
+ end_user_hotkeys: boolean | undefined;
703
+ end_user_shortcuts_enabled: boolean;
704
+ end_user_recents_enabled: boolean;
601
705
  releases_available: boolean;
602
706
  releases_enabled: boolean;
707
+ fallback_commands: number[];
708
+ tab_direction: "horizontal" | "vertical";
603
709
  };
604
710
  }
@@ -1,14 +1,18 @@
1
1
  /*******************************************************************************/
2
2
  import * as t from 'io-ts';
3
- import { BatchEditorCommandRequestV, BatchEditorCommandResponseV, BatchOperationV, CommandV, EditorCommandV } from './command';
3
+ import { BatchEditorCommandResponseV, BatchOperationV, CommandV, HelpSyncCommandV, EditorCommandV } from './command';
4
4
  import { ArgumentMapV, ArgumentTypeV, ConditionV, ConditionOperatorV, StepArgumentTypeV, ContextArgumentV, SetArgumentV, DynamicArgumentV, DependentArgumentV, FunctionArgumentV } from './helpers/argument';
5
- import { TemplateV, TemplateOptionsV } from './helpers/commandTemplate';
5
+ import { GenericBatchRequest } from './generics';
6
+ import { OptionGroupRenderAsV } from './helpers/optionGroup';
7
+ import { TemplateV, TemplateOptionsV, RequestTemplateV, RequestV } from './helpers/commandTemplate';
6
8
  import { CommandCategoryV } from './commandCategory';
7
9
  import { OrganizationStatusV, KeyEventV, ResourceSettingsByContextKeyV, InternalSettingsV, OrganizationSettingsV } from './organization';
8
10
  import { UserV } from './user';
9
11
  import { ContextV } from './context';
10
12
  import { GuideV } from './guide';
11
13
  import { HistoryEventV } from './historyEvent';
14
+ import { HelpDocsSyncV } from './helpDocsSync';
15
+ import { HelpDocsIntegrationV } from './helpDocsIntegration';
12
16
  import { EndUserV } from './helpers/endUser';
13
17
  import { SkinV } from './skin';
14
18
  import { ProfileV } from './profile';
@@ -20,12 +24,15 @@ export declare type IContextType = t.TypeOf<typeof ContextV>;
20
24
  export declare type IUserType = t.TypeOf<typeof UserV>;
21
25
  export declare type ICommandType = t.TypeOf<typeof CommandV>;
22
26
  export declare type IEditorCommandType = t.TypeOf<typeof EditorCommandV>;
27
+ export declare type IHelpSyncCommandType = t.TypeOf<typeof HelpSyncCommandV>;
23
28
  export type { ICommandFromClientType } from './ICommandFromClientType';
24
29
  export declare type ICommandCategoryType = t.TypeOf<typeof CommandCategoryV>;
25
30
  export declare type IGuideType = t.TypeOf<typeof GuideV> & {
26
31
  preview?: boolean;
27
32
  };
28
33
  export declare type IHistoryEventType = t.TypeOf<typeof HistoryEventV>;
34
+ export declare type IHelpDocsSyncType = t.TypeOf<typeof HelpDocsSyncV>;
35
+ export declare type IHelpDocsIntegrationType = t.TypeOf<typeof HelpDocsIntegrationV>;
29
36
  export type { IOrganizationType } from './OrganizationV';
30
37
  export declare type IOrganizationStatusType = t.TypeOf<typeof OrganizationStatusV>;
31
38
  export declare type IInternalSettingsType = t.TypeOf<typeof InternalSettingsV>;
@@ -39,7 +46,7 @@ export declare type IRelease = t.TypeOf<typeof ReleaseV>;
39
46
  export declare type IEnvReleaseInfo = t.TypeOf<typeof EnvReleaseInfoV>;
40
47
  /*******************************************************************************/
41
48
  export declare type IBatchOperation = t.TypeOf<typeof BatchOperationV>;
42
- export declare type IBatchEditorCommandRequst = t.TypeOf<typeof BatchEditorCommandRequestV>;
49
+ export declare type IBatchEditorCommandRequst = t.TypeOf<typeof GenericBatchRequest>;
43
50
  export declare type IBatchEditorCommandResponse = t.TypeOf<typeof BatchEditorCommandResponseV>;
44
51
  /*******************************************************************************/
45
52
  export declare type IKeyEventCategory = t.TypeOf<typeof KeyEventV>;
@@ -47,6 +54,8 @@ export declare type IArgumentMap = t.TypeOf<typeof ArgumentMapV>;
47
54
  export declare type IArgumentType = t.TypeOf<typeof ArgumentTypeV>;
48
55
  export declare type IStepArgumentType = t.TypeOf<typeof StepArgumentTypeV>;
49
56
  export declare type ITemplate = t.TypeOf<typeof TemplateV>;
57
+ export declare type RequestTemplateType = t.TypeOf<typeof RequestTemplateV>;
58
+ export declare type RequestType = t.TypeOf<typeof RequestV>;
50
59
  export declare type ITemplateOptions = t.TypeOf<typeof TemplateOptionsV>;
51
60
  export declare type IEndUserType = t.TypeOf<typeof EndUserV>;
52
61
  export declare type IConditionType = t.TypeOf<typeof ConditionV>;
@@ -56,6 +65,7 @@ export declare type ISetArgumentType = t.TypeOf<typeof SetArgumentV>;
56
65
  export declare type IDynamicArgumentType = t.TypeOf<typeof DynamicArgumentV>;
57
66
  export declare type IDependentArgumentType = t.TypeOf<typeof DependentArgumentV>;
58
67
  export declare type IFunctionArgumentType = t.TypeOf<typeof FunctionArgumentV>;
68
+ export declare type OptionGroupRenderAsType = t.TypeOf<typeof OptionGroupRenderAsV>;
59
69
  export interface ICommandInput {
60
70
  text: string;
61
71
  command: ICommandType;
@@ -89,6 +99,7 @@ export declare type IConfigEndpointResponse = {
89
99
  };
90
100
  export type { IResourceSettings } from './IResourceSettings';
91
101
  export declare type IResourceSettingsByContextKey = t.TypeOf<typeof ResourceSettingsByContextKeyV>;
102
+ export type { DetailPreviewObjectType, DetailPreviewType, DataRowMedata } from './detailPreview';
92
103
  /*******************************************************************************/
93
104
  export declare const isCommand: (command?: ICommandType | any) => command is {
94
105
  id: number;
@@ -119,7 +130,7 @@ export declare const isCommand: (command?: ICommandType | any) => command is {
119
130
  hoverTooltip?: boolean | undefined;
120
131
  operation?: "self" | "router" | "blank" | undefined;
121
132
  }) | ({
122
- type: "click" | "clickBySelector" | "clickByXpath";
133
+ type: "click" | "clickByXpath" | "clickBySelector";
123
134
  value: string[];
124
135
  } & {} & {
125
136
  commandType?: "object" | "independent" | "help" | undefined;
@@ -150,6 +161,35 @@ export declare const isCommand: (command?: ICommandType | any) => command is {
150
161
  object?: string | undefined;
151
162
  hoverTooltip?: boolean | undefined;
152
163
  operation?: "self" | "router" | "blank" | undefined;
164
+ }) | ({
165
+ type: "request";
166
+ value: {
167
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
168
+ url: string;
169
+ } & {
170
+ headers?: {
171
+ [key: string]: unknown;
172
+ } | undefined;
173
+ body?: {
174
+ [key: string]: unknown;
175
+ } | undefined;
176
+ onSend?: string | undefined;
177
+ onSuccess?: string | undefined;
178
+ onError?: string | undefined;
179
+ };
180
+ } & {} & {
181
+ commandType?: "object" | "independent" | "help" | undefined;
182
+ object?: string | undefined;
183
+ hoverTooltip?: boolean | undefined;
184
+ operation?: "self" | "router" | "blank" | undefined;
185
+ }) | ({
186
+ type: "appcues";
187
+ value: string;
188
+ } & {} & {
189
+ commandType?: "object" | "independent" | "help" | undefined;
190
+ object?: string | undefined;
191
+ hoverTooltip?: boolean | undefined;
192
+ operation?: "self" | "router" | "blank" | undefined;
153
193
  });
154
194
  } & {
155
195
  disabledReason?: string | undefined;
@@ -311,6 +351,13 @@ export declare const isCommand: (command?: ICommandType | any) => command is {
311
351
  shortcut_win: string[];
312
352
  hotkey_mac: string;
313
353
  hotkey_win: string;
354
+ detail: string | {
355
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
356
+ value: string;
357
+ } | (string | {
358
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
359
+ value: string;
360
+ })[] | null;
314
361
  };
315
362
  export declare const isResource: (option: any) => option is IResourceType;
316
363
  export declare const isContextArgument: (argument: IArgumentType) => argument is {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commandbar",
3
- "version": "1.6.8",
3
+ "version": "1.6.11",
4
4
  "description": "Javascript Utility for CommandBar",
5
5
  "main": "build/commandbar-js/src/index.js",
6
6
  "types": "build/commandbar-js/src/index.d.ts",
package/src/init.ts CHANGED
@@ -3,7 +3,7 @@ import 'es6-object-assign/auto';
3
3
  import 'es6-symbol/implement';
4
4
  import { getProxySDK } from '../../internal/src/client/proxy';
5
5
  import { _configuration } from '../../internal/src/client/symbols';
6
- import { IConfigEndpointResponse } from '@commandbar/internal/middleware/types';
6
+ import { IConfigEndpointResponse } from '../../internal/src/middleware/types';
7
7
 
8
8
  interface IInitOptions {
9
9
  debug?: boolean;