@teambit/command-bar 1.0.188 → 1.0.190

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.
@@ -0,0 +1,2264 @@
1
+ {
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "filePath": "index.ts",
5
+ "line": 1,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "ModuleSchema",
10
+ "location": {
11
+ "filePath": "index.ts",
12
+ "line": 1,
13
+ "character": 1
14
+ },
15
+ "exports": [
16
+ {
17
+ "__schema": "VariableLikeSchema",
18
+ "location": {
19
+ "filePath": "command-bar.aspect.ts",
20
+ "line": 3,
21
+ "character": 14
22
+ },
23
+ "signature": "const CommandBarAspect: Aspect",
24
+ "name": "CommandBarAspect",
25
+ "type": {
26
+ "__schema": "TypeRefSchema",
27
+ "location": {
28
+ "filePath": "command-bar.aspect.ts",
29
+ "line": 3,
30
+ "character": 14
31
+ },
32
+ "name": "Aspect",
33
+ "componentId": {
34
+ "scope": "teambit.harmony",
35
+ "name": "harmony",
36
+ "version": "0.4.6"
37
+ }
38
+ },
39
+ "isOptional": false,
40
+ "defaultValue": "Aspect.create({\n id: 'teambit.explorer/command-bar',\n dependencies: [],\n defaultConfig: {},\n})"
41
+ },
42
+ {
43
+ "__schema": "VariableLikeSchema",
44
+ "location": {
45
+ "filePath": "command-bar.aspect.ts",
46
+ "line": 3,
47
+ "character": 14
48
+ },
49
+ "signature": "const CommandBarAspect: Aspect",
50
+ "name": "CommandBarAspect",
51
+ "type": {
52
+ "__schema": "TypeRefSchema",
53
+ "location": {
54
+ "filePath": "command-bar.aspect.ts",
55
+ "line": 3,
56
+ "character": 14
57
+ },
58
+ "name": "Aspect",
59
+ "componentId": {
60
+ "scope": "teambit.harmony",
61
+ "name": "harmony",
62
+ "version": "0.4.6"
63
+ }
64
+ },
65
+ "isOptional": false,
66
+ "defaultValue": "Aspect.create({\n id: 'teambit.explorer/command-bar',\n dependencies: [],\n defaultConfig: {},\n})"
67
+ },
68
+ {
69
+ "__schema": "VariableLikeSchema",
70
+ "location": {
71
+ "filePath": "command-bar.commands.ts",
72
+ "line": 1,
73
+ "character": 14
74
+ },
75
+ "signature": "const commandBarCommands: {\n open: string;\n}",
76
+ "name": "commandBarCommands",
77
+ "type": {
78
+ "__schema": "InferenceTypeSchema",
79
+ "location": {
80
+ "filePath": "command-bar.commands.ts",
81
+ "line": 1,
82
+ "character": 14
83
+ },
84
+ "type": "{\n open: string;\n}"
85
+ },
86
+ "isOptional": false,
87
+ "defaultValue": "{\n open: 'command-bar.open',\n}"
88
+ },
89
+ {
90
+ "__schema": "InterfaceSchema",
91
+ "location": {
92
+ "filePath": "searchers/search-provider.ts",
93
+ "line": 3,
94
+ "character": 1
95
+ },
96
+ "signature": "interface SearchProvider",
97
+ "name": "SearchProvider",
98
+ "members": [
99
+ {
100
+ "__schema": "VariableLikeSchema",
101
+ "location": {
102
+ "filePath": "searchers/search-provider.ts",
103
+ "line": 5,
104
+ "character": 3
105
+ },
106
+ "doc": {
107
+ "__schema": "DocSchema",
108
+ "location": {
109
+ "filePath": "searchers/search-provider.ts",
110
+ "line": 4,
111
+ "character": 3
112
+ },
113
+ "raw": "/** provide completions for this search term */",
114
+ "comment": "provide completions for this search term"
115
+ },
116
+ "signature": "(property) SearchProvider.search: Searcher",
117
+ "name": "search",
118
+ "type": {
119
+ "__schema": "TypeRefSchema",
120
+ "location": {
121
+ "filePath": "searchers/search-provider.ts",
122
+ "line": 5,
123
+ "character": 11
124
+ },
125
+ "name": "Searcher"
126
+ },
127
+ "isOptional": false
128
+ },
129
+ {
130
+ "__schema": "FunctionLikeSchema",
131
+ "location": {
132
+ "filePath": "searchers/search-provider.ts",
133
+ "line": 7,
134
+ "character": 3
135
+ },
136
+ "doc": {
137
+ "__schema": "DocSchema",
138
+ "location": {
139
+ "filePath": "searchers/search-provider.ts",
140
+ "line": 6,
141
+ "character": 3
142
+ },
143
+ "raw": "/** determines what terms are handled by this searcher. */",
144
+ "comment": "determines what terms are handled by this searcher."
145
+ },
146
+ "signature": "(method) SearchProvider.test(term: string): boolean",
147
+ "name": "test",
148
+ "params": [
149
+ {
150
+ "__schema": "ParameterSchema",
151
+ "location": {
152
+ "filePath": "searchers/search-provider.ts",
153
+ "line": 7,
154
+ "character": 8
155
+ },
156
+ "name": "term",
157
+ "type": {
158
+ "__schema": "KeywordTypeSchema",
159
+ "location": {
160
+ "filePath": "searchers/search-provider.ts",
161
+ "line": 7,
162
+ "character": 14
163
+ },
164
+ "name": "string"
165
+ },
166
+ "isOptional": false,
167
+ "isSpread": false
168
+ }
169
+ ],
170
+ "returnType": {
171
+ "__schema": "KeywordTypeSchema",
172
+ "location": {
173
+ "filePath": "searchers/search-provider.ts",
174
+ "line": 7,
175
+ "character": 23
176
+ },
177
+ "name": "boolean"
178
+ },
179
+ "modifiers": []
180
+ }
181
+ ],
182
+ "extendsNodes": []
183
+ },
184
+ {
185
+ "__schema": "ClassSchema",
186
+ "location": {
187
+ "filePath": "command-bar.ui.runtime.tsx",
188
+ "line": 36,
189
+ "character": 1
190
+ },
191
+ "doc": {
192
+ "__schema": "DocSchema",
193
+ "location": {
194
+ "filePath": "command-bar.ui.runtime.tsx",
195
+ "line": 35,
196
+ "character": 1
197
+ },
198
+ "raw": "/** Quick launch actions. Use the `addSearcher` slot to extend the available actions */",
199
+ "comment": "Quick launch actions. Use the `addSearcher` slot to extend the available actions"
200
+ },
201
+ "signature": "class CommandBarUI",
202
+ "name": "CommandBarUI",
203
+ "members": [
204
+ {
205
+ "__schema": "VariableLikeSchema",
206
+ "location": {
207
+ "filePath": "command-bar.ui.runtime.tsx",
208
+ "line": 41,
209
+ "character": 3
210
+ },
211
+ "doc": {
212
+ "__schema": "DocSchema",
213
+ "location": {
214
+ "filePath": "command-bar.ui.runtime.tsx",
215
+ "line": 40,
216
+ "character": 3
217
+ },
218
+ "raw": "/** Opens the command bar */",
219
+ "comment": "Opens the command bar"
220
+ },
221
+ "signature": "(property) CommandBarUI.open: () => boolean",
222
+ "name": "open",
223
+ "type": {
224
+ "__schema": "InferenceTypeSchema",
225
+ "location": {
226
+ "filePath": "command-bar.ui.runtime.tsx",
227
+ "line": 41,
228
+ "character": 3
229
+ },
230
+ "type": "() => boolean"
231
+ },
232
+ "isOptional": true,
233
+ "defaultValue": "() => {\n this.setVisibility?.(true);\n return false; // aka prevent default\n }"
234
+ },
235
+ {
236
+ "__schema": "VariableLikeSchema",
237
+ "location": {
238
+ "filePath": "command-bar.ui.runtime.tsx",
239
+ "line": 47,
240
+ "character": 3
241
+ },
242
+ "doc": {
243
+ "__schema": "DocSchema",
244
+ "location": {
245
+ "filePath": "command-bar.ui.runtime.tsx",
246
+ "line": 46,
247
+ "character": 3
248
+ },
249
+ "raw": "/** Closes the command bar */",
250
+ "comment": "Closes the command bar"
251
+ },
252
+ "signature": "(property) CommandBarUI.close: () => void",
253
+ "name": "close",
254
+ "type": {
255
+ "__schema": "InferenceTypeSchema",
256
+ "location": {
257
+ "filePath": "command-bar.ui.runtime.tsx",
258
+ "line": 47,
259
+ "character": 3
260
+ },
261
+ "type": "() => void"
262
+ },
263
+ "isOptional": true,
264
+ "defaultValue": "() => {\n this.setVisibility?.(false);\n }"
265
+ },
266
+ {
267
+ "__schema": "FunctionLikeSchema",
268
+ "location": {
269
+ "filePath": "command-bar.ui.runtime.tsx",
270
+ "line": 52,
271
+ "character": 3
272
+ },
273
+ "doc": {
274
+ "__schema": "DocSchema",
275
+ "location": {
276
+ "filePath": "command-bar.ui.runtime.tsx",
277
+ "line": 51,
278
+ "character": 3
279
+ },
280
+ "raw": "/** Add and autocomplete provider. To support keyboard navigation, each result should have a props `active: boolean`, and `exectue: () => any` */",
281
+ "comment": "Add and autocomplete provider. To support keyboard navigation, each result should have a props `active: boolean`, and `exectue: () => any`"
282
+ },
283
+ "signature": "(method) CommandBarUI.addSearcher(...commandSearcher: SearchProvider[]): this",
284
+ "name": "addSearcher",
285
+ "params": [
286
+ {
287
+ "__schema": "ParameterSchema",
288
+ "location": {
289
+ "filePath": "command-bar.ui.runtime.tsx",
290
+ "line": 52,
291
+ "character": 15
292
+ },
293
+ "name": "commandSearcher",
294
+ "type": {
295
+ "__schema": "TypeArraySchema",
296
+ "location": {
297
+ "filePath": "command-bar.ui.runtime.tsx",
298
+ "line": 52,
299
+ "character": 35
300
+ },
301
+ "type": {
302
+ "__schema": "TypeRefSchema",
303
+ "location": {
304
+ "filePath": "command-bar.ui.runtime.tsx",
305
+ "line": 52,
306
+ "character": 35
307
+ },
308
+ "name": "SearchProvider"
309
+ }
310
+ },
311
+ "isOptional": false,
312
+ "isSpread": true
313
+ }
314
+ ],
315
+ "returnType": {
316
+ "__schema": "TypeRefSchema",
317
+ "location": {
318
+ "filePath": "command-bar.ui.runtime.tsx",
319
+ "line": 52,
320
+ "character": 3
321
+ },
322
+ "name": "CommandBarUI"
323
+ },
324
+ "modifiers": []
325
+ },
326
+ {
327
+ "__schema": "FunctionLikeSchema",
328
+ "location": {
329
+ "filePath": "command-bar.ui.runtime.tsx",
330
+ "line": 60,
331
+ "character": 3
332
+ },
333
+ "doc": {
334
+ "__schema": "DocSchema",
335
+ "location": {
336
+ "filePath": "command-bar.ui.runtime.tsx",
337
+ "line": 57,
338
+ "character": 3
339
+ },
340
+ "raw": "/**\n * registers a command\n */",
341
+ "comment": "registers a command"
342
+ },
343
+ "signature": "(method) CommandBarUI.addCommand(...originalCommands: CommandEntry[]): ((next: CommandHandler) => void)[]",
344
+ "name": "addCommand",
345
+ "params": [
346
+ {
347
+ "__schema": "ParameterSchema",
348
+ "location": {
349
+ "filePath": "command-bar.ui.runtime.tsx",
350
+ "line": 60,
351
+ "character": 14
352
+ },
353
+ "name": "originalCommands",
354
+ "type": {
355
+ "__schema": "TypeArraySchema",
356
+ "location": {
357
+ "filePath": "command-bar.ui.runtime.tsx",
358
+ "line": 60,
359
+ "character": 35
360
+ },
361
+ "type": {
362
+ "__schema": "TypeRefSchema",
363
+ "location": {
364
+ "filePath": "command-bar.ui.runtime.tsx",
365
+ "line": 60,
366
+ "character": 35
367
+ },
368
+ "name": "CommandEntry"
369
+ }
370
+ },
371
+ "isOptional": false,
372
+ "isSpread": true
373
+ }
374
+ ],
375
+ "returnType": {
376
+ "__schema": "InferenceTypeSchema",
377
+ "location": {
378
+ "filePath": "command-bar.ui.runtime.tsx",
379
+ "line": 60,
380
+ "character": 3
381
+ },
382
+ "type": "((next: CommandHandler) => void)[]"
383
+ },
384
+ "modifiers": []
385
+ },
386
+ {
387
+ "__schema": "FunctionLikeSchema",
388
+ "location": {
389
+ "filePath": "command-bar.ui.runtime.tsx",
390
+ "line": 93,
391
+ "character": 3
392
+ },
393
+ "doc": {
394
+ "__schema": "DocSchema",
395
+ "location": {
396
+ "filePath": "command-bar.ui.runtime.tsx",
397
+ "line": 89,
398
+ "character": 3
399
+ },
400
+ "raw": "/**\n * executes command by name, if exists.\n * @param commandId\n */",
401
+ "comment": "executes command by name, if exists.",
402
+ "tags": [
403
+ {
404
+ "__schema": "PropertyLikeTagSchema",
405
+ "location": {
406
+ "filePath": "command-bar.ui.runtime.tsx",
407
+ "line": 91,
408
+ "character": 6
409
+ },
410
+ "name": "commandId",
411
+ "tagName": "parameter"
412
+ }
413
+ ]
414
+ },
415
+ "signature": "(method) CommandBarUI.run(commandId: CommandId): any",
416
+ "name": "run",
417
+ "params": [
418
+ {
419
+ "__schema": "ParameterSchema",
420
+ "location": {
421
+ "filePath": "command-bar.ui.runtime.tsx",
422
+ "line": 93,
423
+ "character": 7
424
+ },
425
+ "name": "commandId",
426
+ "type": {
427
+ "__schema": "TypeRefSchema",
428
+ "location": {
429
+ "filePath": "command-bar.ui.runtime.tsx",
430
+ "line": 93,
431
+ "character": 18
432
+ },
433
+ "name": "CommandId"
434
+ },
435
+ "isOptional": false,
436
+ "isSpread": false
437
+ }
438
+ ],
439
+ "returnType": {
440
+ "__schema": "InferenceTypeSchema",
441
+ "location": {
442
+ "filePath": "command-bar.ui.runtime.tsx",
443
+ "line": 93,
444
+ "character": 3
445
+ },
446
+ "type": "any"
447
+ },
448
+ "modifiers": []
449
+ },
450
+ {
451
+ "__schema": "VariableLikeSchema",
452
+ "location": {
453
+ "filePath": "command-bar.ui.runtime.tsx",
454
+ "line": 103,
455
+ "character": 3
456
+ },
457
+ "doc": {
458
+ "__schema": "DocSchema",
459
+ "location": {
460
+ "filePath": "command-bar.ui.runtime.tsx",
461
+ "line": 100,
462
+ "character": 3
463
+ },
464
+ "raw": "/**\n * executes a keyboard shortcut manually\n */",
465
+ "comment": "executes a keyboard shortcut manually"
466
+ },
467
+ "signature": "(property) CommandBarUI.trigger: (key: string) => void",
468
+ "name": "trigger",
469
+ "type": {
470
+ "__schema": "InferenceTypeSchema",
471
+ "location": {
472
+ "filePath": "command-bar.ui.runtime.tsx",
473
+ "line": 103,
474
+ "character": 3
475
+ },
476
+ "type": "(key: string) => void"
477
+ },
478
+ "isOptional": true,
479
+ "defaultValue": "(key: string) => {\n this.mousetrap.trigger(key);\n }"
480
+ },
481
+ {
482
+ "__schema": "VariableLikeSchema",
483
+ "location": {
484
+ "filePath": "command-bar.ui.runtime.tsx",
485
+ "line": 135,
486
+ "character": 3
487
+ },
488
+ "doc": {
489
+ "__schema": "DocSchema",
490
+ "location": {
491
+ "filePath": "command-bar.ui.runtime.tsx",
492
+ "line": 132,
493
+ "character": 3
494
+ },
495
+ "raw": "/**\n * Opens and closes the command bar UI.\n */",
496
+ "comment": "Opens and closes the command bar UI."
497
+ },
498
+ "signature": "(property) CommandBarUI.setVisibility?: ((visible: boolean) => void) | undefined",
499
+ "name": "setVisibility",
500
+ "type": {
501
+ "__schema": "FunctionLikeSchema",
502
+ "location": {
503
+ "filePath": "command-bar.ui.runtime.tsx",
504
+ "line": 135,
505
+ "character": 19
506
+ },
507
+ "signature": "(visible: boolean): void",
508
+ "name": "",
509
+ "params": [
510
+ {
511
+ "__schema": "ParameterSchema",
512
+ "location": {
513
+ "filePath": "command-bar.ui.runtime.tsx",
514
+ "line": 135,
515
+ "character": 20
516
+ },
517
+ "name": "visible",
518
+ "type": {
519
+ "__schema": "KeywordTypeSchema",
520
+ "location": {
521
+ "filePath": "command-bar.ui.runtime.tsx",
522
+ "line": 135,
523
+ "character": 29
524
+ },
525
+ "name": "boolean"
526
+ },
527
+ "isOptional": false,
528
+ "isSpread": false
529
+ }
530
+ ],
531
+ "returnType": {
532
+ "__schema": "KeywordTypeSchema",
533
+ "location": {
534
+ "filePath": "command-bar.ui.runtime.tsx",
535
+ "line": 135,
536
+ "character": 41
537
+ },
538
+ "name": "void"
539
+ },
540
+ "modifiers": []
541
+ },
542
+ "isOptional": true
543
+ },
544
+ {
545
+ "__schema": "VariableLikeSchema",
546
+ "location": {
547
+ "filePath": "command-bar.ui.runtime.tsx",
548
+ "line": 140,
549
+ "character": 3
550
+ },
551
+ "doc": {
552
+ "__schema": "DocSchema",
553
+ "location": {
554
+ "filePath": "command-bar.ui.runtime.tsx",
555
+ "line": 137,
556
+ "character": 3
557
+ },
558
+ "raw": "/**\n * generate the ui for command bar\n */",
559
+ "comment": "generate the ui for command bar"
560
+ },
561
+ "signature": "(property) CommandBarUI.CommandBar: ({ ResultComponent, onEnter, }: {\n ResultComponent?: React.ComponentType<ResultsComponentProps> | undefined;\n onEnter?: ((value: string) => void) | undefined;\n}) => React.JSX.Element",
562
+ "name": "CommandBar",
563
+ "type": {
564
+ "__schema": "InferenceTypeSchema",
565
+ "location": {
566
+ "filePath": "command-bar.ui.runtime.tsx",
567
+ "line": 140,
568
+ "character": 3
569
+ },
570
+ "type": "({ ResultComponent, onEnter, }: {\n ResultComponent?: React.ComponentType<ResultsComponentProps> | undefined;\n onEnter?: ((value: string) => void) | undefined;\n}) => React.JSX.Element"
571
+ },
572
+ "isOptional": true,
573
+ "defaultValue": "({\n ResultComponent,\n onEnter,\n }: {\n ResultComponent?: ComponentType<ResultsComponentProps>;\n onEnter?: (value: string) => void;\n }) => {\n const [visible, setVisibility] = useState(false);\n this.setVisibility = setVisibility;\n\n const results = useSearcher(this.search, {\n debounce: this.config.debounce,\n });\n\n return (\n <CommandBar\n {...results}\n onEnter={onEnter}\n key=\"CommandBarUI\"\n className={styles.commanderUi}\n placeholder=\"Search anything or type > to only search commands\"\n visible={visible}\n ResultsComponent={ResultComponent}\n onVisibilityChange={setVisibility}\n autofocus\n />\n );\n }"
574
+ },
575
+ {
576
+ "__schema": "ConstructorSchema",
577
+ "location": {
578
+ "filePath": "command-bar.ui.runtime.tsx",
579
+ "line": 169,
580
+ "character": 3
581
+ },
582
+ "signature": "constructor CommandBarUI(searcherSlot: SearcherSlot, commandSlot: CommandSlot, config: CommandBarConfig): CommandBarUI",
583
+ "name": "constructor",
584
+ "params": [
585
+ {
586
+ "__schema": "ParameterSchema",
587
+ "location": {
588
+ "filePath": "command-bar.ui.runtime.tsx",
589
+ "line": 169,
590
+ "character": 15
591
+ },
592
+ "name": "searcherSlot",
593
+ "type": {
594
+ "__schema": "TypeRefSchema",
595
+ "location": {
596
+ "filePath": "command-bar.ui.runtime.tsx",
597
+ "line": 169,
598
+ "character": 37
599
+ },
600
+ "name": "SearcherSlot",
601
+ "internalFilePath": "command-bar.ui.runtime.tsx"
602
+ },
603
+ "isOptional": false,
604
+ "isSpread": false
605
+ },
606
+ {
607
+ "__schema": "ParameterSchema",
608
+ "location": {
609
+ "filePath": "command-bar.ui.runtime.tsx",
610
+ "line": 169,
611
+ "character": 51
612
+ },
613
+ "name": "commandSlot",
614
+ "type": {
615
+ "__schema": "TypeRefSchema",
616
+ "location": {
617
+ "filePath": "command-bar.ui.runtime.tsx",
618
+ "line": 169,
619
+ "character": 72
620
+ },
621
+ "name": "CommandSlot",
622
+ "internalFilePath": "command-bar.ui.runtime.tsx"
623
+ },
624
+ "isOptional": false,
625
+ "isSpread": false
626
+ },
627
+ {
628
+ "__schema": "ParameterSchema",
629
+ "location": {
630
+ "filePath": "command-bar.ui.runtime.tsx",
631
+ "line": 169,
632
+ "character": 85
633
+ },
634
+ "name": "config",
635
+ "type": {
636
+ "__schema": "TypeRefSchema",
637
+ "location": {
638
+ "filePath": "command-bar.ui.runtime.tsx",
639
+ "line": 169,
640
+ "character": 101
641
+ },
642
+ "name": "CommandBarConfig",
643
+ "internalFilePath": "command-bar.ui.runtime.tsx"
644
+ },
645
+ "isOptional": false,
646
+ "isSpread": false
647
+ }
648
+ ],
649
+ "returnType": {
650
+ "__schema": "ThisTypeSchema",
651
+ "location": {
652
+ "filePath": "command-bar.ui.runtime.tsx",
653
+ "line": 36,
654
+ "character": 1
655
+ },
656
+ "name": "CommandBarUI"
657
+ },
658
+ "modifiers": []
659
+ },
660
+ {
661
+ "__schema": "VariableLikeSchema",
662
+ "location": {
663
+ "filePath": "command-bar.ui.runtime.tsx",
664
+ "line": 171,
665
+ "character": 3
666
+ },
667
+ "signature": "(property) CommandBarUI.dependencies: Aspect[]",
668
+ "name": "dependencies",
669
+ "type": {
670
+ "__schema": "InferenceTypeSchema",
671
+ "location": {
672
+ "filePath": "command-bar.ui.runtime.tsx",
673
+ "line": 171,
674
+ "character": 3
675
+ },
676
+ "type": "Aspect[]"
677
+ },
678
+ "isOptional": true,
679
+ "defaultValue": "[UIAspect, PubsubAspect, ReactRouterAspect]"
680
+ },
681
+ {
682
+ "__schema": "VariableLikeSchema",
683
+ "location": {
684
+ "filePath": "command-bar.ui.runtime.tsx",
685
+ "line": 172,
686
+ "character": 3
687
+ },
688
+ "signature": "(property) CommandBarUI.slots: (((registerFn: () => string) => SlotRegistry<SearchProvider>) | ((registerFn: () => string) => SlotRegistry<CommandEntry[]>))[]",
689
+ "name": "slots",
690
+ "type": {
691
+ "__schema": "InferenceTypeSchema",
692
+ "location": {
693
+ "filePath": "command-bar.ui.runtime.tsx",
694
+ "line": 172,
695
+ "character": 3
696
+ },
697
+ "type": "(((registerFn: () => string) => SlotRegistry<SearchProvider>) | ((registerFn: () => string) => SlotRegistry<CommandEntry[]>))[]"
698
+ },
699
+ "isOptional": true,
700
+ "defaultValue": "[Slot.withType<SearchProvider>(), Slot.withType<CommandEntry[]>()]"
701
+ },
702
+ {
703
+ "__schema": "VariableLikeSchema",
704
+ "location": {
705
+ "filePath": "command-bar.ui.runtime.tsx",
706
+ "line": 173,
707
+ "character": 3
708
+ },
709
+ "signature": "(property) CommandBarUI.defaultConfig: CommandBarConfig",
710
+ "name": "defaultConfig",
711
+ "type": {
712
+ "__schema": "TypeRefSchema",
713
+ "location": {
714
+ "filePath": "command-bar.ui.runtime.tsx",
715
+ "line": 173,
716
+ "character": 3
717
+ },
718
+ "name": "CommandBarConfig",
719
+ "internalFilePath": "command-bar.ui.runtime.tsx"
720
+ },
721
+ "isOptional": true,
722
+ "defaultValue": "{\n debounce: undefined,\n }"
723
+ },
724
+ {
725
+ "__schema": "VariableLikeSchema",
726
+ "location": {
727
+ "filePath": "command-bar.ui.runtime.tsx",
728
+ "line": 177,
729
+ "character": 3
730
+ },
731
+ "signature": "(property) CommandBarUI.runtime: RuntimeDefinition",
732
+ "name": "runtime",
733
+ "type": {
734
+ "__schema": "InferenceTypeSchema",
735
+ "location": {
736
+ "filePath": "command-bar.ui.runtime.tsx",
737
+ "line": 177,
738
+ "character": 3
739
+ },
740
+ "type": "RuntimeDefinition"
741
+ },
742
+ "isOptional": true,
743
+ "defaultValue": "UIRuntime"
744
+ },
745
+ {
746
+ "__schema": "FunctionLikeSchema",
747
+ "location": {
748
+ "filePath": "command-bar.ui.runtime.tsx",
749
+ "line": 179,
750
+ "character": 3
751
+ },
752
+ "signature": "(method) CommandBarUI.provider([uiUi, pubsubUI]: [UiUI | undefined, PubsubUI | undefined], config: CommandBarConfig, [searcherSlot, commandSlots]: [SearcherSlot, CommandSlot]): Promise<CommandBarUI>",
753
+ "name": "provider",
754
+ "params": [
755
+ {
756
+ "__schema": "ParameterSchema",
757
+ "location": {
758
+ "filePath": "command-bar.ui.runtime.tsx",
759
+ "line": 180,
760
+ "character": 5
761
+ },
762
+ "name": "[ uiUi, pubsubUI ]",
763
+ "type": {
764
+ "__schema": "TupleTypeSchema",
765
+ "location": {
766
+ "filePath": "command-bar.ui.runtime.tsx",
767
+ "line": 180,
768
+ "character": 23
769
+ },
770
+ "elements": [
771
+ {
772
+ "__schema": "TypeUnionSchema",
773
+ "location": {
774
+ "filePath": "command-bar.ui.runtime.tsx",
775
+ "line": 180,
776
+ "character": 24
777
+ },
778
+ "types": [
779
+ {
780
+ "__schema": "TypeRefSchema",
781
+ "location": {
782
+ "filePath": "command-bar.ui.runtime.tsx",
783
+ "line": 180,
784
+ "character": 24
785
+ },
786
+ "name": "UiUI",
787
+ "componentId": {
788
+ "scope": "teambit.ui-foundation",
789
+ "name": "ui"
790
+ }
791
+ },
792
+ {
793
+ "__schema": "KeywordTypeSchema",
794
+ "location": {
795
+ "filePath": "command-bar.ui.runtime.tsx",
796
+ "line": 180,
797
+ "character": 31
798
+ },
799
+ "name": "undefined"
800
+ }
801
+ ]
802
+ },
803
+ {
804
+ "__schema": "TypeUnionSchema",
805
+ "location": {
806
+ "filePath": "command-bar.ui.runtime.tsx",
807
+ "line": 180,
808
+ "character": 42
809
+ },
810
+ "types": [
811
+ {
812
+ "__schema": "TypeRefSchema",
813
+ "location": {
814
+ "filePath": "command-bar.ui.runtime.tsx",
815
+ "line": 180,
816
+ "character": 42
817
+ },
818
+ "name": "PubsubUI",
819
+ "componentId": {
820
+ "scope": "teambit.harmony",
821
+ "name": "pubsub"
822
+ }
823
+ },
824
+ {
825
+ "__schema": "KeywordTypeSchema",
826
+ "location": {
827
+ "filePath": "command-bar.ui.runtime.tsx",
828
+ "line": 180,
829
+ "character": 53
830
+ },
831
+ "name": "undefined"
832
+ }
833
+ ]
834
+ }
835
+ ]
836
+ },
837
+ "isOptional": false,
838
+ "isSpread": false
839
+ },
840
+ {
841
+ "__schema": "ParameterSchema",
842
+ "location": {
843
+ "filePath": "command-bar.ui.runtime.tsx",
844
+ "line": 181,
845
+ "character": 5
846
+ },
847
+ "name": "config",
848
+ "type": {
849
+ "__schema": "TypeRefSchema",
850
+ "location": {
851
+ "filePath": "command-bar.ui.runtime.tsx",
852
+ "line": 181,
853
+ "character": 13
854
+ },
855
+ "name": "CommandBarConfig",
856
+ "internalFilePath": "command-bar.ui.runtime.tsx"
857
+ },
858
+ "isOptional": false,
859
+ "isSpread": false
860
+ },
861
+ {
862
+ "__schema": "ParameterSchema",
863
+ "location": {
864
+ "filePath": "command-bar.ui.runtime.tsx",
865
+ "line": 182,
866
+ "character": 5
867
+ },
868
+ "name": "[ searcherSlot, commandSlots ]",
869
+ "type": {
870
+ "__schema": "TupleTypeSchema",
871
+ "location": {
872
+ "filePath": "command-bar.ui.runtime.tsx",
873
+ "line": 182,
874
+ "character": 35
875
+ },
876
+ "elements": [
877
+ {
878
+ "__schema": "TypeRefSchema",
879
+ "location": {
880
+ "filePath": "command-bar.ui.runtime.tsx",
881
+ "line": 182,
882
+ "character": 36
883
+ },
884
+ "name": "SearcherSlot",
885
+ "internalFilePath": "command-bar.ui.runtime.tsx"
886
+ },
887
+ {
888
+ "__schema": "TypeRefSchema",
889
+ "location": {
890
+ "filePath": "command-bar.ui.runtime.tsx",
891
+ "line": 182,
892
+ "character": 50
893
+ },
894
+ "name": "CommandSlot",
895
+ "internalFilePath": "command-bar.ui.runtime.tsx"
896
+ }
897
+ ]
898
+ },
899
+ "isOptional": false,
900
+ "isSpread": false
901
+ }
902
+ ],
903
+ "returnType": {
904
+ "__schema": "InferenceTypeSchema",
905
+ "location": {
906
+ "filePath": "command-bar.ui.runtime.tsx",
907
+ "line": 179,
908
+ "character": 3
909
+ },
910
+ "type": "Promise<CommandBarUI>"
911
+ },
912
+ "modifiers": [
913
+ "static",
914
+ "async"
915
+ ]
916
+ }
917
+ ],
918
+ "extendsNodes": [],
919
+ "implementNodes": []
920
+ },
921
+ {
922
+ "__schema": "TypeSchema",
923
+ "location": {
924
+ "filePath": "command-bar.ui.runtime.tsx",
925
+ "line": 28,
926
+ "character": 1
927
+ },
928
+ "signature": "type CommandEntry = {\n id: CommandId;\n action: CommandHandler;\n keybinding?: Keybinding | undefined;\n displayName: string;\n}",
929
+ "name": "CommandEntry",
930
+ "type": {
931
+ "__schema": "TypeLiteralSchema",
932
+ "location": {
933
+ "filePath": "command-bar.ui.runtime.tsx",
934
+ "line": 28,
935
+ "character": 28
936
+ },
937
+ "members": [
938
+ {
939
+ "__schema": "VariableLikeSchema",
940
+ "location": {
941
+ "filePath": "command-bar.ui.runtime.tsx",
942
+ "line": 29,
943
+ "character": 3
944
+ },
945
+ "signature": "(property) id: string",
946
+ "name": "id",
947
+ "type": {
948
+ "__schema": "TypeRefSchema",
949
+ "location": {
950
+ "filePath": "command-bar.ui.runtime.tsx",
951
+ "line": 29,
952
+ "character": 7
953
+ },
954
+ "name": "CommandId"
955
+ },
956
+ "isOptional": false
957
+ },
958
+ {
959
+ "__schema": "VariableLikeSchema",
960
+ "location": {
961
+ "filePath": "command-bar.ui.runtime.tsx",
962
+ "line": 30,
963
+ "character": 3
964
+ },
965
+ "signature": "(property) action: Function",
966
+ "name": "action",
967
+ "type": {
968
+ "__schema": "TypeRefSchema",
969
+ "location": {
970
+ "filePath": "command-bar.ui.runtime.tsx",
971
+ "line": 30,
972
+ "character": 11
973
+ },
974
+ "name": "CommandHandler"
975
+ },
976
+ "isOptional": false
977
+ },
978
+ {
979
+ "__schema": "VariableLikeSchema",
980
+ "location": {
981
+ "filePath": "command-bar.ui.runtime.tsx",
982
+ "line": 31,
983
+ "character": 3
984
+ },
985
+ "signature": "(property) keybinding?: Keybinding | undefined",
986
+ "name": "keybinding",
987
+ "type": {
988
+ "__schema": "TypeRefSchema",
989
+ "location": {
990
+ "filePath": "command-bar.ui.runtime.tsx",
991
+ "line": 31,
992
+ "character": 16
993
+ },
994
+ "name": "Keybinding"
995
+ },
996
+ "isOptional": true
997
+ },
998
+ {
999
+ "__schema": "VariableLikeSchema",
1000
+ "location": {
1001
+ "filePath": "command-bar.ui.runtime.tsx",
1002
+ "line": 32,
1003
+ "character": 3
1004
+ },
1005
+ "signature": "(property) displayName: string",
1006
+ "name": "displayName",
1007
+ "type": {
1008
+ "__schema": "KeywordTypeSchema",
1009
+ "location": {
1010
+ "filePath": "command-bar.ui.runtime.tsx",
1011
+ "line": 32,
1012
+ "character": 16
1013
+ },
1014
+ "name": "string"
1015
+ },
1016
+ "isOptional": false
1017
+ }
1018
+ ]
1019
+ }
1020
+ },
1021
+ {
1022
+ "__schema": "TypeSchema",
1023
+ "location": {
1024
+ "filePath": "types.tsx",
1025
+ "line": 3,
1026
+ "character": 1
1027
+ },
1028
+ "signature": "type CommandHandler = Function",
1029
+ "name": "CommandHandler",
1030
+ "type": {
1031
+ "__schema": "TypeRefSchema",
1032
+ "location": {
1033
+ "filePath": "types.tsx",
1034
+ "line": 3,
1035
+ "character": 30
1036
+ },
1037
+ "name": "Function"
1038
+ }
1039
+ },
1040
+ {
1041
+ "__schema": "TypeSchema",
1042
+ "location": {
1043
+ "filePath": "types.tsx",
1044
+ "line": 2,
1045
+ "character": 1
1046
+ },
1047
+ "signature": "type CommandId = string",
1048
+ "name": "CommandId",
1049
+ "type": {
1050
+ "__schema": "KeywordTypeSchema",
1051
+ "location": {
1052
+ "filePath": "types.tsx",
1053
+ "line": 2,
1054
+ "character": 25
1055
+ },
1056
+ "name": "string"
1057
+ }
1058
+ },
1059
+ {
1060
+ "__schema": "TypeSchema",
1061
+ "location": {
1062
+ "filePath": "types.tsx",
1063
+ "line": 5,
1064
+ "character": 1
1065
+ },
1066
+ "signature": "type Keybinding = string | string[]",
1067
+ "name": "Keybinding",
1068
+ "type": {
1069
+ "__schema": "TypeUnionSchema",
1070
+ "location": {
1071
+ "filePath": "types.tsx",
1072
+ "line": 5,
1073
+ "character": 26
1074
+ },
1075
+ "types": [
1076
+ {
1077
+ "__schema": "KeywordTypeSchema",
1078
+ "location": {
1079
+ "filePath": "types.tsx",
1080
+ "line": 5,
1081
+ "character": 26
1082
+ },
1083
+ "name": "string"
1084
+ },
1085
+ {
1086
+ "__schema": "TypeArraySchema",
1087
+ "location": {
1088
+ "filePath": "types.tsx",
1089
+ "line": 5,
1090
+ "character": 35
1091
+ },
1092
+ "type": {
1093
+ "__schema": "KeywordTypeSchema",
1094
+ "location": {
1095
+ "filePath": "types.tsx",
1096
+ "line": 5,
1097
+ "character": 35
1098
+ },
1099
+ "name": "string"
1100
+ }
1101
+ }
1102
+ ]
1103
+ }
1104
+ },
1105
+ {
1106
+ "__schema": "TypeRefSchema",
1107
+ "location": {
1108
+ "filePath": "index.ts",
1109
+ "line": 6,
1110
+ "character": 15
1111
+ },
1112
+ "name": "SearchResult",
1113
+ "componentId": {
1114
+ "scope": "teambit.explorer",
1115
+ "name": "ui/command-bar",
1116
+ "version": "2.0.14"
1117
+ }
1118
+ },
1119
+ {
1120
+ "__schema": "TypeRefSchema",
1121
+ "location": {
1122
+ "filePath": "index.ts",
1123
+ "line": 6,
1124
+ "character": 29
1125
+ },
1126
+ "name": "ResultsComponentProps",
1127
+ "componentId": {
1128
+ "scope": "teambit.explorer",
1129
+ "name": "ui/command-bar",
1130
+ "version": "2.0.14"
1131
+ }
1132
+ },
1133
+ {
1134
+ "__schema": "TypeRefSchema",
1135
+ "location": {
1136
+ "filePath": "index.ts",
1137
+ "line": 6,
1138
+ "character": 52
1139
+ },
1140
+ "name": "SearchResults",
1141
+ "componentId": {
1142
+ "scope": "teambit.explorer",
1143
+ "name": "ui/command-bar",
1144
+ "version": "2.0.14"
1145
+ }
1146
+ },
1147
+ {
1148
+ "__schema": "TypeRefSchema",
1149
+ "location": {
1150
+ "filePath": "index.ts",
1151
+ "line": 7,
1152
+ "character": 15
1153
+ },
1154
+ "name": "FuzzySearchItem",
1155
+ "componentId": {
1156
+ "scope": "teambit.explorer",
1157
+ "name": "ui/command-bar",
1158
+ "version": "2.0.14"
1159
+ }
1160
+ },
1161
+ {
1162
+ "__schema": "TypeRefSchema",
1163
+ "location": {
1164
+ "filePath": "index.ts",
1165
+ "line": 8,
1166
+ "character": 10
1167
+ },
1168
+ "name": "FuzzySearcher",
1169
+ "componentId": {
1170
+ "scope": "teambit.explorer",
1171
+ "name": "ui/command-bar",
1172
+ "version": "2.0.14"
1173
+ }
1174
+ },
1175
+ {
1176
+ "__schema": "TypeRefSchema",
1177
+ "location": {
1178
+ "filePath": "index.ts",
1179
+ "line": 8,
1180
+ "character": 25
1181
+ },
1182
+ "name": "CommandBarItem",
1183
+ "componentId": {
1184
+ "scope": "teambit.explorer",
1185
+ "name": "ui/command-bar",
1186
+ "version": "2.0.14"
1187
+ }
1188
+ }
1189
+ ],
1190
+ "internals": []
1191
+ },
1192
+ "internals": [
1193
+ {
1194
+ "__schema": "ModuleSchema",
1195
+ "location": {
1196
+ "filePath": "command-bar.aspect.ts",
1197
+ "line": 1,
1198
+ "character": 1
1199
+ },
1200
+ "exports": [
1201
+ {
1202
+ "__schema": "VariableLikeSchema",
1203
+ "location": {
1204
+ "filePath": "command-bar.aspect.ts",
1205
+ "line": 3,
1206
+ "character": 14
1207
+ },
1208
+ "signature": "const CommandBarAspect: Aspect",
1209
+ "name": "CommandBarAspect",
1210
+ "type": {
1211
+ "__schema": "TypeRefSchema",
1212
+ "location": {
1213
+ "filePath": "command-bar.aspect.ts",
1214
+ "line": 3,
1215
+ "character": 14
1216
+ },
1217
+ "name": "Aspect",
1218
+ "componentId": {
1219
+ "scope": "teambit.harmony",
1220
+ "name": "harmony",
1221
+ "version": "0.4.6"
1222
+ }
1223
+ },
1224
+ "isOptional": false,
1225
+ "defaultValue": "Aspect.create({\n id: 'teambit.explorer/command-bar',\n dependencies: [],\n defaultConfig: {},\n})"
1226
+ },
1227
+ {
1228
+ "__schema": "UnImplementedSchema",
1229
+ "location": {
1230
+ "filePath": "command-bar.aspect.ts",
1231
+ "line": 9,
1232
+ "character": 16
1233
+ },
1234
+ "name": "CommandBarAspect",
1235
+ "type": "Identifier"
1236
+ }
1237
+ ],
1238
+ "internals": []
1239
+ },
1240
+ {
1241
+ "__schema": "ModuleSchema",
1242
+ "location": {
1243
+ "filePath": "command-bar.ui.runtime.tsx",
1244
+ "line": 1,
1245
+ "character": 1
1246
+ },
1247
+ "exports": [
1248
+ {
1249
+ "__schema": "TypeSchema",
1250
+ "location": {
1251
+ "filePath": "command-bar.ui.runtime.tsx",
1252
+ "line": 24,
1253
+ "character": 1
1254
+ },
1255
+ "signature": "type CommandBarConfig = {\n debounce?: number | undefined;\n}",
1256
+ "name": "CommandBarConfig",
1257
+ "type": {
1258
+ "__schema": "TypeLiteralSchema",
1259
+ "location": {
1260
+ "filePath": "command-bar.ui.runtime.tsx",
1261
+ "line": 24,
1262
+ "character": 32
1263
+ },
1264
+ "members": [
1265
+ {
1266
+ "__schema": "VariableLikeSchema",
1267
+ "location": {
1268
+ "filePath": "command-bar.ui.runtime.tsx",
1269
+ "line": 25,
1270
+ "character": 3
1271
+ },
1272
+ "signature": "(property) debounce?: number | undefined",
1273
+ "name": "debounce",
1274
+ "type": {
1275
+ "__schema": "KeywordTypeSchema",
1276
+ "location": {
1277
+ "filePath": "command-bar.ui.runtime.tsx",
1278
+ "line": 25,
1279
+ "character": 14
1280
+ },
1281
+ "name": "number"
1282
+ },
1283
+ "isOptional": true
1284
+ }
1285
+ ]
1286
+ }
1287
+ },
1288
+ {
1289
+ "__schema": "TypeSchema",
1290
+ "location": {
1291
+ "filePath": "command-bar.ui.runtime.tsx",
1292
+ "line": 28,
1293
+ "character": 1
1294
+ },
1295
+ "signature": "type CommandEntry = {\n id: CommandId;\n action: CommandHandler;\n keybinding?: Keybinding | undefined;\n displayName: string;\n}",
1296
+ "name": "CommandEntry",
1297
+ "type": {
1298
+ "__schema": "TypeLiteralSchema",
1299
+ "location": {
1300
+ "filePath": "command-bar.ui.runtime.tsx",
1301
+ "line": 28,
1302
+ "character": 28
1303
+ },
1304
+ "members": [
1305
+ {
1306
+ "__schema": "VariableLikeSchema",
1307
+ "location": {
1308
+ "filePath": "command-bar.ui.runtime.tsx",
1309
+ "line": 29,
1310
+ "character": 3
1311
+ },
1312
+ "signature": "(property) id: string",
1313
+ "name": "id",
1314
+ "type": {
1315
+ "__schema": "TypeRefSchema",
1316
+ "location": {
1317
+ "filePath": "command-bar.ui.runtime.tsx",
1318
+ "line": 29,
1319
+ "character": 7
1320
+ },
1321
+ "name": "CommandId"
1322
+ },
1323
+ "isOptional": false
1324
+ },
1325
+ {
1326
+ "__schema": "VariableLikeSchema",
1327
+ "location": {
1328
+ "filePath": "command-bar.ui.runtime.tsx",
1329
+ "line": 30,
1330
+ "character": 3
1331
+ },
1332
+ "signature": "(property) action: Function",
1333
+ "name": "action",
1334
+ "type": {
1335
+ "__schema": "TypeRefSchema",
1336
+ "location": {
1337
+ "filePath": "command-bar.ui.runtime.tsx",
1338
+ "line": 30,
1339
+ "character": 11
1340
+ },
1341
+ "name": "CommandHandler"
1342
+ },
1343
+ "isOptional": false
1344
+ },
1345
+ {
1346
+ "__schema": "VariableLikeSchema",
1347
+ "location": {
1348
+ "filePath": "command-bar.ui.runtime.tsx",
1349
+ "line": 31,
1350
+ "character": 3
1351
+ },
1352
+ "signature": "(property) keybinding?: Keybinding | undefined",
1353
+ "name": "keybinding",
1354
+ "type": {
1355
+ "__schema": "TypeRefSchema",
1356
+ "location": {
1357
+ "filePath": "command-bar.ui.runtime.tsx",
1358
+ "line": 31,
1359
+ "character": 16
1360
+ },
1361
+ "name": "Keybinding"
1362
+ },
1363
+ "isOptional": true
1364
+ },
1365
+ {
1366
+ "__schema": "VariableLikeSchema",
1367
+ "location": {
1368
+ "filePath": "command-bar.ui.runtime.tsx",
1369
+ "line": 32,
1370
+ "character": 3
1371
+ },
1372
+ "signature": "(property) displayName: string",
1373
+ "name": "displayName",
1374
+ "type": {
1375
+ "__schema": "KeywordTypeSchema",
1376
+ "location": {
1377
+ "filePath": "command-bar.ui.runtime.tsx",
1378
+ "line": 32,
1379
+ "character": 16
1380
+ },
1381
+ "name": "string"
1382
+ },
1383
+ "isOptional": false
1384
+ }
1385
+ ]
1386
+ }
1387
+ },
1388
+ {
1389
+ "__schema": "ClassSchema",
1390
+ "location": {
1391
+ "filePath": "command-bar.ui.runtime.tsx",
1392
+ "line": 36,
1393
+ "character": 1
1394
+ },
1395
+ "doc": {
1396
+ "__schema": "DocSchema",
1397
+ "location": {
1398
+ "filePath": "command-bar.ui.runtime.tsx",
1399
+ "line": 35,
1400
+ "character": 1
1401
+ },
1402
+ "raw": "/** Quick launch actions. Use the `addSearcher` slot to extend the available actions */",
1403
+ "comment": "Quick launch actions. Use the `addSearcher` slot to extend the available actions"
1404
+ },
1405
+ "signature": "class CommandBarUI",
1406
+ "name": "CommandBarUI",
1407
+ "members": [
1408
+ {
1409
+ "__schema": "VariableLikeSchema",
1410
+ "location": {
1411
+ "filePath": "command-bar.ui.runtime.tsx",
1412
+ "line": 41,
1413
+ "character": 3
1414
+ },
1415
+ "doc": {
1416
+ "__schema": "DocSchema",
1417
+ "location": {
1418
+ "filePath": "command-bar.ui.runtime.tsx",
1419
+ "line": 40,
1420
+ "character": 3
1421
+ },
1422
+ "raw": "/** Opens the command bar */",
1423
+ "comment": "Opens the command bar"
1424
+ },
1425
+ "signature": "(property) CommandBarUI.open: () => boolean",
1426
+ "name": "open",
1427
+ "type": {
1428
+ "__schema": "InferenceTypeSchema",
1429
+ "location": {
1430
+ "filePath": "command-bar.ui.runtime.tsx",
1431
+ "line": 41,
1432
+ "character": 3
1433
+ },
1434
+ "type": "() => boolean"
1435
+ },
1436
+ "isOptional": true,
1437
+ "defaultValue": "() => {\n this.setVisibility?.(true);\n return false; // aka prevent default\n }"
1438
+ },
1439
+ {
1440
+ "__schema": "VariableLikeSchema",
1441
+ "location": {
1442
+ "filePath": "command-bar.ui.runtime.tsx",
1443
+ "line": 47,
1444
+ "character": 3
1445
+ },
1446
+ "doc": {
1447
+ "__schema": "DocSchema",
1448
+ "location": {
1449
+ "filePath": "command-bar.ui.runtime.tsx",
1450
+ "line": 46,
1451
+ "character": 3
1452
+ },
1453
+ "raw": "/** Closes the command bar */",
1454
+ "comment": "Closes the command bar"
1455
+ },
1456
+ "signature": "(property) CommandBarUI.close: () => void",
1457
+ "name": "close",
1458
+ "type": {
1459
+ "__schema": "InferenceTypeSchema",
1460
+ "location": {
1461
+ "filePath": "command-bar.ui.runtime.tsx",
1462
+ "line": 47,
1463
+ "character": 3
1464
+ },
1465
+ "type": "() => void"
1466
+ },
1467
+ "isOptional": true,
1468
+ "defaultValue": "() => {\n this.setVisibility?.(false);\n }"
1469
+ },
1470
+ {
1471
+ "__schema": "FunctionLikeSchema",
1472
+ "location": {
1473
+ "filePath": "command-bar.ui.runtime.tsx",
1474
+ "line": 52,
1475
+ "character": 3
1476
+ },
1477
+ "doc": {
1478
+ "__schema": "DocSchema",
1479
+ "location": {
1480
+ "filePath": "command-bar.ui.runtime.tsx",
1481
+ "line": 51,
1482
+ "character": 3
1483
+ },
1484
+ "raw": "/** Add and autocomplete provider. To support keyboard navigation, each result should have a props `active: boolean`, and `exectue: () => any` */",
1485
+ "comment": "Add and autocomplete provider. To support keyboard navigation, each result should have a props `active: boolean`, and `exectue: () => any`"
1486
+ },
1487
+ "signature": "(method) CommandBarUI.addSearcher(...commandSearcher: SearchProvider[]): this",
1488
+ "name": "addSearcher",
1489
+ "params": [
1490
+ {
1491
+ "__schema": "ParameterSchema",
1492
+ "location": {
1493
+ "filePath": "command-bar.ui.runtime.tsx",
1494
+ "line": 52,
1495
+ "character": 15
1496
+ },
1497
+ "name": "commandSearcher",
1498
+ "type": {
1499
+ "__schema": "TypeArraySchema",
1500
+ "location": {
1501
+ "filePath": "command-bar.ui.runtime.tsx",
1502
+ "line": 52,
1503
+ "character": 35
1504
+ },
1505
+ "type": {
1506
+ "__schema": "TypeRefSchema",
1507
+ "location": {
1508
+ "filePath": "command-bar.ui.runtime.tsx",
1509
+ "line": 52,
1510
+ "character": 35
1511
+ },
1512
+ "name": "SearchProvider"
1513
+ }
1514
+ },
1515
+ "isOptional": false,
1516
+ "isSpread": true
1517
+ }
1518
+ ],
1519
+ "returnType": {
1520
+ "__schema": "TypeRefSchema",
1521
+ "location": {
1522
+ "filePath": "command-bar.ui.runtime.tsx",
1523
+ "line": 52,
1524
+ "character": 3
1525
+ },
1526
+ "name": "CommandBarUI"
1527
+ },
1528
+ "modifiers": []
1529
+ },
1530
+ {
1531
+ "__schema": "FunctionLikeSchema",
1532
+ "location": {
1533
+ "filePath": "command-bar.ui.runtime.tsx",
1534
+ "line": 60,
1535
+ "character": 3
1536
+ },
1537
+ "doc": {
1538
+ "__schema": "DocSchema",
1539
+ "location": {
1540
+ "filePath": "command-bar.ui.runtime.tsx",
1541
+ "line": 57,
1542
+ "character": 3
1543
+ },
1544
+ "raw": "/**\n * registers a command\n */",
1545
+ "comment": "registers a command"
1546
+ },
1547
+ "signature": "(method) CommandBarUI.addCommand(...originalCommands: CommandEntry[]): ((next: CommandHandler) => void)[]",
1548
+ "name": "addCommand",
1549
+ "params": [
1550
+ {
1551
+ "__schema": "ParameterSchema",
1552
+ "location": {
1553
+ "filePath": "command-bar.ui.runtime.tsx",
1554
+ "line": 60,
1555
+ "character": 14
1556
+ },
1557
+ "name": "originalCommands",
1558
+ "type": {
1559
+ "__schema": "TypeArraySchema",
1560
+ "location": {
1561
+ "filePath": "command-bar.ui.runtime.tsx",
1562
+ "line": 60,
1563
+ "character": 35
1564
+ },
1565
+ "type": {
1566
+ "__schema": "TypeRefSchema",
1567
+ "location": {
1568
+ "filePath": "command-bar.ui.runtime.tsx",
1569
+ "line": 60,
1570
+ "character": 35
1571
+ },
1572
+ "name": "CommandEntry"
1573
+ }
1574
+ },
1575
+ "isOptional": false,
1576
+ "isSpread": true
1577
+ }
1578
+ ],
1579
+ "returnType": {
1580
+ "__schema": "InferenceTypeSchema",
1581
+ "location": {
1582
+ "filePath": "command-bar.ui.runtime.tsx",
1583
+ "line": 60,
1584
+ "character": 3
1585
+ },
1586
+ "type": "((next: CommandHandler) => void)[]"
1587
+ },
1588
+ "modifiers": []
1589
+ },
1590
+ {
1591
+ "__schema": "FunctionLikeSchema",
1592
+ "location": {
1593
+ "filePath": "command-bar.ui.runtime.tsx",
1594
+ "line": 93,
1595
+ "character": 3
1596
+ },
1597
+ "doc": {
1598
+ "__schema": "DocSchema",
1599
+ "location": {
1600
+ "filePath": "command-bar.ui.runtime.tsx",
1601
+ "line": 89,
1602
+ "character": 3
1603
+ },
1604
+ "raw": "/**\n * executes command by name, if exists.\n * @param commandId\n */",
1605
+ "comment": "executes command by name, if exists.",
1606
+ "tags": [
1607
+ {
1608
+ "__schema": "PropertyLikeTagSchema",
1609
+ "location": {
1610
+ "filePath": "command-bar.ui.runtime.tsx",
1611
+ "line": 91,
1612
+ "character": 6
1613
+ },
1614
+ "name": "commandId",
1615
+ "tagName": "parameter"
1616
+ }
1617
+ ]
1618
+ },
1619
+ "signature": "(method) CommandBarUI.run(commandId: CommandId): any",
1620
+ "name": "run",
1621
+ "params": [
1622
+ {
1623
+ "__schema": "ParameterSchema",
1624
+ "location": {
1625
+ "filePath": "command-bar.ui.runtime.tsx",
1626
+ "line": 93,
1627
+ "character": 7
1628
+ },
1629
+ "name": "commandId",
1630
+ "type": {
1631
+ "__schema": "TypeRefSchema",
1632
+ "location": {
1633
+ "filePath": "command-bar.ui.runtime.tsx",
1634
+ "line": 93,
1635
+ "character": 18
1636
+ },
1637
+ "name": "CommandId"
1638
+ },
1639
+ "isOptional": false,
1640
+ "isSpread": false
1641
+ }
1642
+ ],
1643
+ "returnType": {
1644
+ "__schema": "InferenceTypeSchema",
1645
+ "location": {
1646
+ "filePath": "command-bar.ui.runtime.tsx",
1647
+ "line": 93,
1648
+ "character": 3
1649
+ },
1650
+ "type": "any"
1651
+ },
1652
+ "modifiers": []
1653
+ },
1654
+ {
1655
+ "__schema": "VariableLikeSchema",
1656
+ "location": {
1657
+ "filePath": "command-bar.ui.runtime.tsx",
1658
+ "line": 103,
1659
+ "character": 3
1660
+ },
1661
+ "doc": {
1662
+ "__schema": "DocSchema",
1663
+ "location": {
1664
+ "filePath": "command-bar.ui.runtime.tsx",
1665
+ "line": 100,
1666
+ "character": 3
1667
+ },
1668
+ "raw": "/**\n * executes a keyboard shortcut manually\n */",
1669
+ "comment": "executes a keyboard shortcut manually"
1670
+ },
1671
+ "signature": "(property) CommandBarUI.trigger: (key: string) => void",
1672
+ "name": "trigger",
1673
+ "type": {
1674
+ "__schema": "InferenceTypeSchema",
1675
+ "location": {
1676
+ "filePath": "command-bar.ui.runtime.tsx",
1677
+ "line": 103,
1678
+ "character": 3
1679
+ },
1680
+ "type": "(key: string) => void"
1681
+ },
1682
+ "isOptional": true,
1683
+ "defaultValue": "(key: string) => {\n this.mousetrap.trigger(key);\n }"
1684
+ },
1685
+ {
1686
+ "__schema": "VariableLikeSchema",
1687
+ "location": {
1688
+ "filePath": "command-bar.ui.runtime.tsx",
1689
+ "line": 135,
1690
+ "character": 3
1691
+ },
1692
+ "doc": {
1693
+ "__schema": "DocSchema",
1694
+ "location": {
1695
+ "filePath": "command-bar.ui.runtime.tsx",
1696
+ "line": 132,
1697
+ "character": 3
1698
+ },
1699
+ "raw": "/**\n * Opens and closes the command bar UI.\n */",
1700
+ "comment": "Opens and closes the command bar UI."
1701
+ },
1702
+ "signature": "(property) CommandBarUI.setVisibility?: ((visible: boolean) => void) | undefined",
1703
+ "name": "setVisibility",
1704
+ "type": {
1705
+ "__schema": "FunctionLikeSchema",
1706
+ "location": {
1707
+ "filePath": "command-bar.ui.runtime.tsx",
1708
+ "line": 135,
1709
+ "character": 19
1710
+ },
1711
+ "signature": "(visible: boolean): void",
1712
+ "name": "",
1713
+ "params": [
1714
+ {
1715
+ "__schema": "ParameterSchema",
1716
+ "location": {
1717
+ "filePath": "command-bar.ui.runtime.tsx",
1718
+ "line": 135,
1719
+ "character": 20
1720
+ },
1721
+ "name": "visible",
1722
+ "type": {
1723
+ "__schema": "KeywordTypeSchema",
1724
+ "location": {
1725
+ "filePath": "command-bar.ui.runtime.tsx",
1726
+ "line": 135,
1727
+ "character": 29
1728
+ },
1729
+ "name": "boolean"
1730
+ },
1731
+ "isOptional": false,
1732
+ "isSpread": false
1733
+ }
1734
+ ],
1735
+ "returnType": {
1736
+ "__schema": "KeywordTypeSchema",
1737
+ "location": {
1738
+ "filePath": "command-bar.ui.runtime.tsx",
1739
+ "line": 135,
1740
+ "character": 41
1741
+ },
1742
+ "name": "void"
1743
+ },
1744
+ "modifiers": []
1745
+ },
1746
+ "isOptional": true
1747
+ },
1748
+ {
1749
+ "__schema": "VariableLikeSchema",
1750
+ "location": {
1751
+ "filePath": "command-bar.ui.runtime.tsx",
1752
+ "line": 140,
1753
+ "character": 3
1754
+ },
1755
+ "doc": {
1756
+ "__schema": "DocSchema",
1757
+ "location": {
1758
+ "filePath": "command-bar.ui.runtime.tsx",
1759
+ "line": 137,
1760
+ "character": 3
1761
+ },
1762
+ "raw": "/**\n * generate the ui for command bar\n */",
1763
+ "comment": "generate the ui for command bar"
1764
+ },
1765
+ "signature": "(property) CommandBarUI.CommandBar: ({ ResultComponent, onEnter, }: {\n ResultComponent?: React.ComponentType<ResultsComponentProps> | undefined;\n onEnter?: ((value: string) => void) | undefined;\n}) => React.JSX.Element",
1766
+ "name": "CommandBar",
1767
+ "type": {
1768
+ "__schema": "InferenceTypeSchema",
1769
+ "location": {
1770
+ "filePath": "command-bar.ui.runtime.tsx",
1771
+ "line": 140,
1772
+ "character": 3
1773
+ },
1774
+ "type": "({ ResultComponent, onEnter, }: {\n ResultComponent?: React.ComponentType<ResultsComponentProps> | undefined;\n onEnter?: ((value: string) => void) | undefined;\n}) => React.JSX.Element"
1775
+ },
1776
+ "isOptional": true,
1777
+ "defaultValue": "({\n ResultComponent,\n onEnter,\n }: {\n ResultComponent?: ComponentType<ResultsComponentProps>;\n onEnter?: (value: string) => void;\n }) => {\n const [visible, setVisibility] = useState(false);\n this.setVisibility = setVisibility;\n\n const results = useSearcher(this.search, {\n debounce: this.config.debounce,\n });\n\n return (\n <CommandBar\n {...results}\n onEnter={onEnter}\n key=\"CommandBarUI\"\n className={styles.commanderUi}\n placeholder=\"Search anything or type > to only search commands\"\n visible={visible}\n ResultsComponent={ResultComponent}\n onVisibilityChange={setVisibility}\n autofocus\n />\n );\n }"
1778
+ },
1779
+ {
1780
+ "__schema": "ConstructorSchema",
1781
+ "location": {
1782
+ "filePath": "command-bar.ui.runtime.tsx",
1783
+ "line": 169,
1784
+ "character": 3
1785
+ },
1786
+ "signature": "constructor CommandBarUI(searcherSlot: SearcherSlot, commandSlot: CommandSlot, config: CommandBarConfig): CommandBarUI",
1787
+ "name": "constructor",
1788
+ "params": [
1789
+ {
1790
+ "__schema": "ParameterSchema",
1791
+ "location": {
1792
+ "filePath": "command-bar.ui.runtime.tsx",
1793
+ "line": 169,
1794
+ "character": 15
1795
+ },
1796
+ "name": "searcherSlot",
1797
+ "type": {
1798
+ "__schema": "TypeRefSchema",
1799
+ "location": {
1800
+ "filePath": "command-bar.ui.runtime.tsx",
1801
+ "line": 169,
1802
+ "character": 37
1803
+ },
1804
+ "name": "SearcherSlot",
1805
+ "internalFilePath": "command-bar.ui.runtime.tsx"
1806
+ },
1807
+ "isOptional": false,
1808
+ "isSpread": false
1809
+ },
1810
+ {
1811
+ "__schema": "ParameterSchema",
1812
+ "location": {
1813
+ "filePath": "command-bar.ui.runtime.tsx",
1814
+ "line": 169,
1815
+ "character": 51
1816
+ },
1817
+ "name": "commandSlot",
1818
+ "type": {
1819
+ "__schema": "TypeRefSchema",
1820
+ "location": {
1821
+ "filePath": "command-bar.ui.runtime.tsx",
1822
+ "line": 169,
1823
+ "character": 72
1824
+ },
1825
+ "name": "CommandSlot",
1826
+ "internalFilePath": "command-bar.ui.runtime.tsx"
1827
+ },
1828
+ "isOptional": false,
1829
+ "isSpread": false
1830
+ },
1831
+ {
1832
+ "__schema": "ParameterSchema",
1833
+ "location": {
1834
+ "filePath": "command-bar.ui.runtime.tsx",
1835
+ "line": 169,
1836
+ "character": 85
1837
+ },
1838
+ "name": "config",
1839
+ "type": {
1840
+ "__schema": "TypeRefSchema",
1841
+ "location": {
1842
+ "filePath": "command-bar.ui.runtime.tsx",
1843
+ "line": 169,
1844
+ "character": 101
1845
+ },
1846
+ "name": "CommandBarConfig",
1847
+ "internalFilePath": "command-bar.ui.runtime.tsx"
1848
+ },
1849
+ "isOptional": false,
1850
+ "isSpread": false
1851
+ }
1852
+ ],
1853
+ "returnType": {
1854
+ "__schema": "ThisTypeSchema",
1855
+ "location": {
1856
+ "filePath": "command-bar.ui.runtime.tsx",
1857
+ "line": 36,
1858
+ "character": 1
1859
+ },
1860
+ "name": "CommandBarUI"
1861
+ },
1862
+ "modifiers": []
1863
+ },
1864
+ {
1865
+ "__schema": "VariableLikeSchema",
1866
+ "location": {
1867
+ "filePath": "command-bar.ui.runtime.tsx",
1868
+ "line": 171,
1869
+ "character": 3
1870
+ },
1871
+ "signature": "(property) CommandBarUI.dependencies: Aspect[]",
1872
+ "name": "dependencies",
1873
+ "type": {
1874
+ "__schema": "InferenceTypeSchema",
1875
+ "location": {
1876
+ "filePath": "command-bar.ui.runtime.tsx",
1877
+ "line": 171,
1878
+ "character": 3
1879
+ },
1880
+ "type": "Aspect[]"
1881
+ },
1882
+ "isOptional": true,
1883
+ "defaultValue": "[UIAspect, PubsubAspect, ReactRouterAspect]"
1884
+ },
1885
+ {
1886
+ "__schema": "VariableLikeSchema",
1887
+ "location": {
1888
+ "filePath": "command-bar.ui.runtime.tsx",
1889
+ "line": 172,
1890
+ "character": 3
1891
+ },
1892
+ "signature": "(property) CommandBarUI.slots: (((registerFn: () => string) => SlotRegistry<SearchProvider>) | ((registerFn: () => string) => SlotRegistry<CommandEntry[]>))[]",
1893
+ "name": "slots",
1894
+ "type": {
1895
+ "__schema": "InferenceTypeSchema",
1896
+ "location": {
1897
+ "filePath": "command-bar.ui.runtime.tsx",
1898
+ "line": 172,
1899
+ "character": 3
1900
+ },
1901
+ "type": "(((registerFn: () => string) => SlotRegistry<SearchProvider>) | ((registerFn: () => string) => SlotRegistry<CommandEntry[]>))[]"
1902
+ },
1903
+ "isOptional": true,
1904
+ "defaultValue": "[Slot.withType<SearchProvider>(), Slot.withType<CommandEntry[]>()]"
1905
+ },
1906
+ {
1907
+ "__schema": "VariableLikeSchema",
1908
+ "location": {
1909
+ "filePath": "command-bar.ui.runtime.tsx",
1910
+ "line": 173,
1911
+ "character": 3
1912
+ },
1913
+ "signature": "(property) CommandBarUI.defaultConfig: CommandBarConfig",
1914
+ "name": "defaultConfig",
1915
+ "type": {
1916
+ "__schema": "TypeRefSchema",
1917
+ "location": {
1918
+ "filePath": "command-bar.ui.runtime.tsx",
1919
+ "line": 173,
1920
+ "character": 3
1921
+ },
1922
+ "name": "CommandBarConfig",
1923
+ "internalFilePath": "command-bar.ui.runtime.tsx"
1924
+ },
1925
+ "isOptional": true,
1926
+ "defaultValue": "{\n debounce: undefined,\n }"
1927
+ },
1928
+ {
1929
+ "__schema": "VariableLikeSchema",
1930
+ "location": {
1931
+ "filePath": "command-bar.ui.runtime.tsx",
1932
+ "line": 177,
1933
+ "character": 3
1934
+ },
1935
+ "signature": "(property) CommandBarUI.runtime: RuntimeDefinition",
1936
+ "name": "runtime",
1937
+ "type": {
1938
+ "__schema": "InferenceTypeSchema",
1939
+ "location": {
1940
+ "filePath": "command-bar.ui.runtime.tsx",
1941
+ "line": 177,
1942
+ "character": 3
1943
+ },
1944
+ "type": "RuntimeDefinition"
1945
+ },
1946
+ "isOptional": true,
1947
+ "defaultValue": "UIRuntime"
1948
+ },
1949
+ {
1950
+ "__schema": "FunctionLikeSchema",
1951
+ "location": {
1952
+ "filePath": "command-bar.ui.runtime.tsx",
1953
+ "line": 179,
1954
+ "character": 3
1955
+ },
1956
+ "signature": "(method) CommandBarUI.provider([uiUi, pubsubUI]: [UiUI | undefined, PubsubUI | undefined], config: CommandBarConfig, [searcherSlot, commandSlots]: [SearcherSlot, CommandSlot]): Promise<CommandBarUI>",
1957
+ "name": "provider",
1958
+ "params": [
1959
+ {
1960
+ "__schema": "ParameterSchema",
1961
+ "location": {
1962
+ "filePath": "command-bar.ui.runtime.tsx",
1963
+ "line": 180,
1964
+ "character": 5
1965
+ },
1966
+ "name": "[ uiUi, pubsubUI ]",
1967
+ "type": {
1968
+ "__schema": "TupleTypeSchema",
1969
+ "location": {
1970
+ "filePath": "command-bar.ui.runtime.tsx",
1971
+ "line": 180,
1972
+ "character": 23
1973
+ },
1974
+ "elements": [
1975
+ {
1976
+ "__schema": "TypeUnionSchema",
1977
+ "location": {
1978
+ "filePath": "command-bar.ui.runtime.tsx",
1979
+ "line": 180,
1980
+ "character": 24
1981
+ },
1982
+ "types": [
1983
+ {
1984
+ "__schema": "TypeRefSchema",
1985
+ "location": {
1986
+ "filePath": "command-bar.ui.runtime.tsx",
1987
+ "line": 180,
1988
+ "character": 24
1989
+ },
1990
+ "name": "UiUI",
1991
+ "componentId": {
1992
+ "scope": "teambit.ui-foundation",
1993
+ "name": "ui"
1994
+ }
1995
+ },
1996
+ {
1997
+ "__schema": "KeywordTypeSchema",
1998
+ "location": {
1999
+ "filePath": "command-bar.ui.runtime.tsx",
2000
+ "line": 180,
2001
+ "character": 31
2002
+ },
2003
+ "name": "undefined"
2004
+ }
2005
+ ]
2006
+ },
2007
+ {
2008
+ "__schema": "TypeUnionSchema",
2009
+ "location": {
2010
+ "filePath": "command-bar.ui.runtime.tsx",
2011
+ "line": 180,
2012
+ "character": 42
2013
+ },
2014
+ "types": [
2015
+ {
2016
+ "__schema": "TypeRefSchema",
2017
+ "location": {
2018
+ "filePath": "command-bar.ui.runtime.tsx",
2019
+ "line": 180,
2020
+ "character": 42
2021
+ },
2022
+ "name": "PubsubUI",
2023
+ "componentId": {
2024
+ "scope": "teambit.harmony",
2025
+ "name": "pubsub"
2026
+ }
2027
+ },
2028
+ {
2029
+ "__schema": "KeywordTypeSchema",
2030
+ "location": {
2031
+ "filePath": "command-bar.ui.runtime.tsx",
2032
+ "line": 180,
2033
+ "character": 53
2034
+ },
2035
+ "name": "undefined"
2036
+ }
2037
+ ]
2038
+ }
2039
+ ]
2040
+ },
2041
+ "isOptional": false,
2042
+ "isSpread": false
2043
+ },
2044
+ {
2045
+ "__schema": "ParameterSchema",
2046
+ "location": {
2047
+ "filePath": "command-bar.ui.runtime.tsx",
2048
+ "line": 181,
2049
+ "character": 5
2050
+ },
2051
+ "name": "config",
2052
+ "type": {
2053
+ "__schema": "TypeRefSchema",
2054
+ "location": {
2055
+ "filePath": "command-bar.ui.runtime.tsx",
2056
+ "line": 181,
2057
+ "character": 13
2058
+ },
2059
+ "name": "CommandBarConfig",
2060
+ "internalFilePath": "command-bar.ui.runtime.tsx"
2061
+ },
2062
+ "isOptional": false,
2063
+ "isSpread": false
2064
+ },
2065
+ {
2066
+ "__schema": "ParameterSchema",
2067
+ "location": {
2068
+ "filePath": "command-bar.ui.runtime.tsx",
2069
+ "line": 182,
2070
+ "character": 5
2071
+ },
2072
+ "name": "[ searcherSlot, commandSlots ]",
2073
+ "type": {
2074
+ "__schema": "TupleTypeSchema",
2075
+ "location": {
2076
+ "filePath": "command-bar.ui.runtime.tsx",
2077
+ "line": 182,
2078
+ "character": 35
2079
+ },
2080
+ "elements": [
2081
+ {
2082
+ "__schema": "TypeRefSchema",
2083
+ "location": {
2084
+ "filePath": "command-bar.ui.runtime.tsx",
2085
+ "line": 182,
2086
+ "character": 36
2087
+ },
2088
+ "name": "SearcherSlot",
2089
+ "internalFilePath": "command-bar.ui.runtime.tsx"
2090
+ },
2091
+ {
2092
+ "__schema": "TypeRefSchema",
2093
+ "location": {
2094
+ "filePath": "command-bar.ui.runtime.tsx",
2095
+ "line": 182,
2096
+ "character": 50
2097
+ },
2098
+ "name": "CommandSlot",
2099
+ "internalFilePath": "command-bar.ui.runtime.tsx"
2100
+ }
2101
+ ]
2102
+ },
2103
+ "isOptional": false,
2104
+ "isSpread": false
2105
+ }
2106
+ ],
2107
+ "returnType": {
2108
+ "__schema": "InferenceTypeSchema",
2109
+ "location": {
2110
+ "filePath": "command-bar.ui.runtime.tsx",
2111
+ "line": 179,
2112
+ "character": 3
2113
+ },
2114
+ "type": "Promise<CommandBarUI>"
2115
+ },
2116
+ "modifiers": [
2117
+ "static",
2118
+ "async"
2119
+ ]
2120
+ }
2121
+ ],
2122
+ "extendsNodes": [],
2123
+ "implementNodes": []
2124
+ }
2125
+ ],
2126
+ "internals": [
2127
+ {
2128
+ "__schema": "ModuleSchema",
2129
+ "location": {
2130
+ "filePath": "command-bar.ui.runtime.tsx",
2131
+ "line": 20,
2132
+ "character": 1
2133
+ },
2134
+ "exports": [
2135
+ {
2136
+ "__schema": "VariableLikeSchema",
2137
+ "location": {
2138
+ "filePath": "command-bar.ui.runtime.tsx",
2139
+ "line": 20,
2140
+ "character": 7
2141
+ },
2142
+ "signature": "const RESULT_LIMIT: 5",
2143
+ "name": "RESULT_LIMIT",
2144
+ "type": {
2145
+ "__schema": "InferenceTypeSchema",
2146
+ "location": {
2147
+ "filePath": "command-bar.ui.runtime.tsx",
2148
+ "line": 20,
2149
+ "character": 7
2150
+ },
2151
+ "type": "5"
2152
+ },
2153
+ "isOptional": false,
2154
+ "defaultValue": "5"
2155
+ }
2156
+ ],
2157
+ "internals": []
2158
+ },
2159
+ {
2160
+ "__schema": "TypeSchema",
2161
+ "location": {
2162
+ "filePath": "command-bar.ui.runtime.tsx",
2163
+ "line": 21,
2164
+ "character": 1
2165
+ },
2166
+ "signature": "type SearcherSlot = SlotRegistry<SearchProvider[]>",
2167
+ "name": "SearcherSlot",
2168
+ "type": {
2169
+ "__schema": "TypeRefSchema",
2170
+ "location": {
2171
+ "filePath": "command-bar.ui.runtime.tsx",
2172
+ "line": 21,
2173
+ "character": 21
2174
+ },
2175
+ "name": "SlotRegistry",
2176
+ "componentId": {
2177
+ "scope": "teambit.harmony",
2178
+ "name": "harmony",
2179
+ "version": "0.4.6"
2180
+ },
2181
+ "typeArgs": [
2182
+ {
2183
+ "__schema": "TypeArraySchema",
2184
+ "location": {
2185
+ "filePath": "command-bar.ui.runtime.tsx",
2186
+ "line": 21,
2187
+ "character": 34
2188
+ },
2189
+ "type": {
2190
+ "__schema": "TypeRefSchema",
2191
+ "location": {
2192
+ "filePath": "command-bar.ui.runtime.tsx",
2193
+ "line": 21,
2194
+ "character": 34
2195
+ },
2196
+ "name": "SearchProvider"
2197
+ }
2198
+ }
2199
+ ]
2200
+ }
2201
+ },
2202
+ {
2203
+ "__schema": "TypeSchema",
2204
+ "location": {
2205
+ "filePath": "command-bar.ui.runtime.tsx",
2206
+ "line": 22,
2207
+ "character": 1
2208
+ },
2209
+ "signature": "type CommandSlot = SlotRegistry<CommandEntry[]>",
2210
+ "name": "CommandSlot",
2211
+ "type": {
2212
+ "__schema": "TypeRefSchema",
2213
+ "location": {
2214
+ "filePath": "command-bar.ui.runtime.tsx",
2215
+ "line": 22,
2216
+ "character": 20
2217
+ },
2218
+ "name": "SlotRegistry",
2219
+ "componentId": {
2220
+ "scope": "teambit.harmony",
2221
+ "name": "harmony",
2222
+ "version": "0.4.6"
2223
+ },
2224
+ "typeArgs": [
2225
+ {
2226
+ "__schema": "TypeArraySchema",
2227
+ "location": {
2228
+ "filePath": "command-bar.ui.runtime.tsx",
2229
+ "line": 22,
2230
+ "character": 33
2231
+ },
2232
+ "type": {
2233
+ "__schema": "TypeRefSchema",
2234
+ "location": {
2235
+ "filePath": "command-bar.ui.runtime.tsx",
2236
+ "line": 22,
2237
+ "character": 33
2238
+ },
2239
+ "name": "CommandEntry"
2240
+ }
2241
+ }
2242
+ ]
2243
+ }
2244
+ },
2245
+ {
2246
+ "__schema": "UnImplementedSchema",
2247
+ "location": {
2248
+ "filePath": "command-bar.ui.runtime.tsx",
2249
+ "line": 209,
2250
+ "character": 1
2251
+ },
2252
+ "name": "CommandBarAspect.addRuntime(CommandBarUI);",
2253
+ "type": "ExpressionStatement"
2254
+ }
2255
+ ]
2256
+ }
2257
+ ],
2258
+ "componentId": {
2259
+ "scope": "teambit.explorer",
2260
+ "name": "command-bar",
2261
+ "version": "1.0.190"
2262
+ },
2263
+ "taggedModuleExports": []
2264
+ }