@scalar/oas-utils 0.2.34 → 0.2.36

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @scalar/oas-utils
2
2
 
3
+ ## 0.2.36
4
+
5
+ ### Patch Changes
6
+
7
+ - af75550: feat: sidebar request search
8
+
9
+ ## 0.2.35
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [910b1c2]
14
+ - @scalar/types@0.0.2
15
+
3
16
  ## 0.2.34
4
17
 
5
18
  ### Patch Changes
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Array of all of the events that we support
3
3
  */
4
- export declare const HOTKEY_EVENT_NAMES: readonly ["closeModal", "commandPaletteDown", "commandPaletteSelect", "commandPaletteUp", "openCommandPalette", "toggleSidebar", "addTopNav", "closeTopNav", "navigateTopNavLeft", "navigateTopNavRight", "focusAddressBar", "jumpToTab", "jumpToLastTab"];
4
+ export declare const HOTKEY_EVENT_NAMES: readonly ["closeModal", "navigateSearchResultsDown", "selectSearchResult", "navigateSearchResultsUp", "openCommandPalette", "toggleSidebar", "addTopNav", "closeTopNav", "navigateTopNavLeft", "navigateTopNavRight", "focusAddressBar", "jumpToTab", "jumpToLastTab", "focusRequestSearch"];
5
5
  export type HotkeyEventName = (typeof HOTKEY_EVENT_NAMES)[number];
6
6
  /**
7
7
  * Array of all of the hotkeys that we support
@@ -1 +1 @@
1
- {"version":3,"file":"hot-keys.d.ts","sourceRoot":"","sources":["../../../../src/entities/workspace/consts/hot-keys.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,kBAAkB,4PAcrB,CAAA;AACV,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAA;AAEjE;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,8hBAyFf,CAAA;AACV,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAA"}
1
+ {"version":3,"file":"hot-keys.d.ts","sourceRoot":"","sources":["../../../../src/entities/workspace/consts/hot-keys.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,kBAAkB,8RAerB,CAAA;AACV,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAA;AAEjE;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,8hBAyFf,CAAA;AACV,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAA"}
@@ -3,9 +3,9 @@
3
3
  */
4
4
  const HOTKEY_EVENT_NAMES = [
5
5
  'closeModal',
6
- 'commandPaletteDown',
7
- 'commandPaletteSelect',
8
- 'commandPaletteUp',
6
+ 'navigateSearchResultsDown',
7
+ 'selectSearchResult',
8
+ 'navigateSearchResultsUp',
9
9
  'openCommandPalette',
10
10
  'toggleSidebar',
11
11
  'addTopNav',
@@ -15,6 +15,7 @@ const HOTKEY_EVENT_NAMES = [
15
15
  'focusAddressBar',
16
16
  'jumpToTab',
17
17
  'jumpToLastTab',
18
+ 'focusRequestSearch',
18
19
  ];
19
20
  /**
20
21
  * Array of all of the hotkeys that we support
@@ -26,10 +26,10 @@ declare const requestExampleParametersSchema: z.ZodObject<{
26
26
  required?: boolean | undefined;
27
27
  description?: string | undefined;
28
28
  enum?: string[] | undefined;
29
- nullable?: boolean | undefined;
30
- format?: string | undefined;
31
29
  file?: any;
32
30
  refUid?: string | undefined;
31
+ format?: string | undefined;
32
+ nullable?: boolean | undefined;
33
33
  }, {
34
34
  minimum?: number | undefined;
35
35
  type?: string | undefined;
@@ -40,11 +40,11 @@ declare const requestExampleParametersSchema: z.ZodObject<{
40
40
  description?: string | undefined;
41
41
  key?: string | undefined;
42
42
  enum?: string[] | undefined;
43
- nullable?: boolean | undefined;
44
- format?: string | undefined;
45
43
  enabled?: boolean | undefined;
46
44
  file?: any;
47
45
  refUid?: string | undefined;
46
+ format?: string | undefined;
47
+ nullable?: boolean | undefined;
48
48
  }>;
49
49
  /** Request examples - formerly known as instances - are "children" of requests */
50
50
  export type RequestExampleParameter = z.infer<typeof requestExampleParametersSchema>;
@@ -61,10 +61,10 @@ export declare const createRequestExampleParameter: (payload: RequestExamplePara
61
61
  required?: boolean | undefined;
62
62
  description?: string | undefined;
63
63
  enum?: string[] | undefined;
64
- nullable?: boolean | undefined;
65
- format?: string | undefined;
66
64
  file?: any;
67
65
  refUid?: string | undefined;
66
+ format?: string | undefined;
67
+ nullable?: boolean | undefined;
68
68
  };
69
69
  declare const requestExampleSchema: z.ZodObject<{
70
70
  uid: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -77,10 +77,10 @@ declare const requestExampleSchema: z.ZodObject<{
77
77
  value: z.ZodDefault<z.ZodString>;
78
78
  }, "strip", z.ZodTypeAny, {
79
79
  value: string;
80
- encoding: "xml" | "javascript" | "json" | "text" | "html" | "yaml" | "edn";
80
+ encoding: "json" | "text" | "html" | "javascript" | "xml" | "yaml" | "edn";
81
81
  }, {
82
82
  value?: string | undefined;
83
- encoding?: "xml" | "javascript" | "json" | "text" | "html" | "yaml" | "edn" | undefined;
83
+ encoding?: "json" | "text" | "html" | "javascript" | "xml" | "yaml" | "edn" | undefined;
84
84
  }>>;
85
85
  formData: z.ZodDefault<z.ZodObject<{
86
86
  encoding: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"form-data">, z.ZodLiteral<"urlencoded">]>>;
@@ -111,10 +111,10 @@ declare const requestExampleSchema: z.ZodObject<{
111
111
  required?: boolean | undefined;
112
112
  description?: string | undefined;
113
113
  enum?: string[] | undefined;
114
- nullable?: boolean | undefined;
115
- format?: string | undefined;
116
114
  file?: any;
117
115
  refUid?: string | undefined;
116
+ format?: string | undefined;
117
+ nullable?: boolean | undefined;
118
118
  }, {
119
119
  minimum?: number | undefined;
120
120
  type?: string | undefined;
@@ -125,11 +125,11 @@ declare const requestExampleSchema: z.ZodObject<{
125
125
  description?: string | undefined;
126
126
  key?: string | undefined;
127
127
  enum?: string[] | undefined;
128
- nullable?: boolean | undefined;
129
- format?: string | undefined;
130
128
  enabled?: boolean | undefined;
131
129
  file?: any;
132
130
  refUid?: string | undefined;
131
+ format?: string | undefined;
132
+ nullable?: boolean | undefined;
133
133
  }>, "many">>;
134
134
  }, "strip", z.ZodTypeAny, {
135
135
  value: {
@@ -143,10 +143,10 @@ declare const requestExampleSchema: z.ZodObject<{
143
143
  required?: boolean | undefined;
144
144
  description?: string | undefined;
145
145
  enum?: string[] | undefined;
146
- nullable?: boolean | undefined;
147
- format?: string | undefined;
148
146
  file?: any;
149
147
  refUid?: string | undefined;
148
+ format?: string | undefined;
149
+ nullable?: boolean | undefined;
150
150
  }[];
151
151
  encoding: "form-data" | "urlencoded";
152
152
  }, {
@@ -160,11 +160,11 @@ declare const requestExampleSchema: z.ZodObject<{
160
160
  description?: string | undefined;
161
161
  key?: string | undefined;
162
162
  enum?: string[] | undefined;
163
- nullable?: boolean | undefined;
164
- format?: string | undefined;
165
163
  enabled?: boolean | undefined;
166
164
  file?: any;
167
165
  refUid?: string | undefined;
166
+ format?: string | undefined;
167
+ nullable?: boolean | undefined;
168
168
  }[] | undefined;
169
169
  encoding?: "form-data" | "urlencoded" | undefined;
170
170
  }>>;
@@ -173,7 +173,7 @@ declare const requestExampleSchema: z.ZodObject<{
173
173
  }, "strip", z.ZodTypeAny, {
174
174
  raw: {
175
175
  value: string;
176
- encoding: "xml" | "javascript" | "json" | "text" | "html" | "yaml" | "edn";
176
+ encoding: "json" | "text" | "html" | "javascript" | "xml" | "yaml" | "edn";
177
177
  };
178
178
  formData: {
179
179
  value: {
@@ -187,10 +187,10 @@ declare const requestExampleSchema: z.ZodObject<{
187
187
  required?: boolean | undefined;
188
188
  description?: string | undefined;
189
189
  enum?: string[] | undefined;
190
- nullable?: boolean | undefined;
191
- format?: string | undefined;
192
190
  file?: any;
193
191
  refUid?: string | undefined;
192
+ format?: string | undefined;
193
+ nullable?: boolean | undefined;
194
194
  }[];
195
195
  encoding: "form-data" | "urlencoded";
196
196
  };
@@ -199,7 +199,7 @@ declare const requestExampleSchema: z.ZodObject<{
199
199
  }, {
200
200
  raw?: {
201
201
  value?: string | undefined;
202
- encoding?: "xml" | "javascript" | "json" | "text" | "html" | "yaml" | "edn" | undefined;
202
+ encoding?: "json" | "text" | "html" | "javascript" | "xml" | "yaml" | "edn" | undefined;
203
203
  } | undefined;
204
204
  formData?: {
205
205
  value?: {
@@ -212,11 +212,11 @@ declare const requestExampleSchema: z.ZodObject<{
212
212
  description?: string | undefined;
213
213
  key?: string | undefined;
214
214
  enum?: string[] | undefined;
215
- nullable?: boolean | undefined;
216
- format?: string | undefined;
217
215
  enabled?: boolean | undefined;
218
216
  file?: any;
219
217
  refUid?: string | undefined;
218
+ format?: string | undefined;
219
+ nullable?: boolean | undefined;
220
220
  }[] | undefined;
221
221
  encoding?: "form-data" | "urlencoded" | undefined;
222
222
  } | undefined;
@@ -251,10 +251,10 @@ declare const requestExampleSchema: z.ZodObject<{
251
251
  required?: boolean | undefined;
252
252
  description?: string | undefined;
253
253
  enum?: string[] | undefined;
254
- nullable?: boolean | undefined;
255
- format?: string | undefined;
256
254
  file?: any;
257
255
  refUid?: string | undefined;
256
+ format?: string | undefined;
257
+ nullable?: boolean | undefined;
258
258
  }, {
259
259
  minimum?: number | undefined;
260
260
  type?: string | undefined;
@@ -265,11 +265,11 @@ declare const requestExampleSchema: z.ZodObject<{
265
265
  description?: string | undefined;
266
266
  key?: string | undefined;
267
267
  enum?: string[] | undefined;
268
- nullable?: boolean | undefined;
269
- format?: string | undefined;
270
268
  enabled?: boolean | undefined;
271
269
  file?: any;
272
270
  refUid?: string | undefined;
271
+ format?: string | undefined;
272
+ nullable?: boolean | undefined;
273
273
  }>, "many">>;
274
274
  query: z.ZodDefault<z.ZodArray<z.ZodObject<{
275
275
  key: z.ZodDefault<z.ZodString>;
@@ -298,10 +298,10 @@ declare const requestExampleSchema: z.ZodObject<{
298
298
  required?: boolean | undefined;
299
299
  description?: string | undefined;
300
300
  enum?: string[] | undefined;
301
- nullable?: boolean | undefined;
302
- format?: string | undefined;
303
301
  file?: any;
304
302
  refUid?: string | undefined;
303
+ format?: string | undefined;
304
+ nullable?: boolean | undefined;
305
305
  }, {
306
306
  minimum?: number | undefined;
307
307
  type?: string | undefined;
@@ -312,11 +312,11 @@ declare const requestExampleSchema: z.ZodObject<{
312
312
  description?: string | undefined;
313
313
  key?: string | undefined;
314
314
  enum?: string[] | undefined;
315
- nullable?: boolean | undefined;
316
- format?: string | undefined;
317
315
  enabled?: boolean | undefined;
318
316
  file?: any;
319
317
  refUid?: string | undefined;
318
+ format?: string | undefined;
319
+ nullable?: boolean | undefined;
320
320
  }>, "many">>;
321
321
  headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
322
322
  key: z.ZodDefault<z.ZodString>;
@@ -345,10 +345,10 @@ declare const requestExampleSchema: z.ZodObject<{
345
345
  required?: boolean | undefined;
346
346
  description?: string | undefined;
347
347
  enum?: string[] | undefined;
348
- nullable?: boolean | undefined;
349
- format?: string | undefined;
350
348
  file?: any;
351
349
  refUid?: string | undefined;
350
+ format?: string | undefined;
351
+ nullable?: boolean | undefined;
352
352
  }, {
353
353
  minimum?: number | undefined;
354
354
  type?: string | undefined;
@@ -359,11 +359,11 @@ declare const requestExampleSchema: z.ZodObject<{
359
359
  description?: string | undefined;
360
360
  key?: string | undefined;
361
361
  enum?: string[] | undefined;
362
- nullable?: boolean | undefined;
363
- format?: string | undefined;
364
362
  enabled?: boolean | undefined;
365
363
  file?: any;
366
364
  refUid?: string | undefined;
365
+ format?: string | undefined;
366
+ nullable?: boolean | undefined;
367
367
  }>, "many">>;
368
368
  cookies: z.ZodDefault<z.ZodArray<z.ZodObject<{
369
369
  key: z.ZodDefault<z.ZodString>;
@@ -392,10 +392,10 @@ declare const requestExampleSchema: z.ZodObject<{
392
392
  required?: boolean | undefined;
393
393
  description?: string | undefined;
394
394
  enum?: string[] | undefined;
395
- nullable?: boolean | undefined;
396
- format?: string | undefined;
397
395
  file?: any;
398
396
  refUid?: string | undefined;
397
+ format?: string | undefined;
398
+ nullable?: boolean | undefined;
399
399
  }, {
400
400
  minimum?: number | undefined;
401
401
  type?: string | undefined;
@@ -406,11 +406,11 @@ declare const requestExampleSchema: z.ZodObject<{
406
406
  description?: string | undefined;
407
407
  key?: string | undefined;
408
408
  enum?: string[] | undefined;
409
- nullable?: boolean | undefined;
410
- format?: string | undefined;
411
409
  enabled?: boolean | undefined;
412
410
  file?: any;
413
411
  refUid?: string | undefined;
412
+ format?: string | undefined;
413
+ nullable?: boolean | undefined;
414
414
  }>, "many">>;
415
415
  }, "strip", z.ZodTypeAny, {
416
416
  path: {
@@ -424,10 +424,10 @@ declare const requestExampleSchema: z.ZodObject<{
424
424
  required?: boolean | undefined;
425
425
  description?: string | undefined;
426
426
  enum?: string[] | undefined;
427
- nullable?: boolean | undefined;
428
- format?: string | undefined;
429
427
  file?: any;
430
428
  refUid?: string | undefined;
429
+ format?: string | undefined;
430
+ nullable?: boolean | undefined;
431
431
  }[];
432
432
  query: {
433
433
  value: string;
@@ -440,10 +440,10 @@ declare const requestExampleSchema: z.ZodObject<{
440
440
  required?: boolean | undefined;
441
441
  description?: string | undefined;
442
442
  enum?: string[] | undefined;
443
- nullable?: boolean | undefined;
444
- format?: string | undefined;
445
443
  file?: any;
446
444
  refUid?: string | undefined;
445
+ format?: string | undefined;
446
+ nullable?: boolean | undefined;
447
447
  }[];
448
448
  headers: {
449
449
  value: string;
@@ -456,10 +456,10 @@ declare const requestExampleSchema: z.ZodObject<{
456
456
  required?: boolean | undefined;
457
457
  description?: string | undefined;
458
458
  enum?: string[] | undefined;
459
- nullable?: boolean | undefined;
460
- format?: string | undefined;
461
459
  file?: any;
462
460
  refUid?: string | undefined;
461
+ format?: string | undefined;
462
+ nullable?: boolean | undefined;
463
463
  }[];
464
464
  cookies: {
465
465
  value: string;
@@ -472,10 +472,10 @@ declare const requestExampleSchema: z.ZodObject<{
472
472
  required?: boolean | undefined;
473
473
  description?: string | undefined;
474
474
  enum?: string[] | undefined;
475
- nullable?: boolean | undefined;
476
- format?: string | undefined;
477
475
  file?: any;
478
476
  refUid?: string | undefined;
477
+ format?: string | undefined;
478
+ nullable?: boolean | undefined;
479
479
  }[];
480
480
  }, {
481
481
  path?: {
@@ -488,11 +488,11 @@ declare const requestExampleSchema: z.ZodObject<{
488
488
  description?: string | undefined;
489
489
  key?: string | undefined;
490
490
  enum?: string[] | undefined;
491
- nullable?: boolean | undefined;
492
- format?: string | undefined;
493
491
  enabled?: boolean | undefined;
494
492
  file?: any;
495
493
  refUid?: string | undefined;
494
+ format?: string | undefined;
495
+ nullable?: boolean | undefined;
496
496
  }[] | undefined;
497
497
  query?: {
498
498
  minimum?: number | undefined;
@@ -504,11 +504,11 @@ declare const requestExampleSchema: z.ZodObject<{
504
504
  description?: string | undefined;
505
505
  key?: string | undefined;
506
506
  enum?: string[] | undefined;
507
- nullable?: boolean | undefined;
508
- format?: string | undefined;
509
507
  enabled?: boolean | undefined;
510
508
  file?: any;
511
509
  refUid?: string | undefined;
510
+ format?: string | undefined;
511
+ nullable?: boolean | undefined;
512
512
  }[] | undefined;
513
513
  headers?: {
514
514
  minimum?: number | undefined;
@@ -520,11 +520,11 @@ declare const requestExampleSchema: z.ZodObject<{
520
520
  description?: string | undefined;
521
521
  key?: string | undefined;
522
522
  enum?: string[] | undefined;
523
- nullable?: boolean | undefined;
524
- format?: string | undefined;
525
523
  enabled?: boolean | undefined;
526
524
  file?: any;
527
525
  refUid?: string | undefined;
526
+ format?: string | undefined;
527
+ nullable?: boolean | undefined;
528
528
  }[] | undefined;
529
529
  cookies?: {
530
530
  minimum?: number | undefined;
@@ -536,11 +536,11 @@ declare const requestExampleSchema: z.ZodObject<{
536
536
  description?: string | undefined;
537
537
  key?: string | undefined;
538
538
  enum?: string[] | undefined;
539
- nullable?: boolean | undefined;
540
- format?: string | undefined;
541
539
  enabled?: boolean | undefined;
542
540
  file?: any;
543
541
  refUid?: string | undefined;
542
+ format?: string | undefined;
543
+ nullable?: boolean | undefined;
544
544
  }[] | undefined;
545
545
  }>>>;
546
546
  auth: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -548,6 +548,34 @@ declare const requestExampleSchema: z.ZodObject<{
548
548
  uid: string;
549
549
  name: string;
550
550
  url: string;
551
+ requestUid: string;
552
+ body: {
553
+ raw: {
554
+ value: string;
555
+ encoding: "json" | "text" | "html" | "javascript" | "xml" | "yaml" | "edn";
556
+ };
557
+ formData: {
558
+ value: {
559
+ value: string;
560
+ key: string;
561
+ enabled: boolean;
562
+ minimum?: number | undefined;
563
+ type?: string | undefined;
564
+ maximum?: number | undefined;
565
+ default?: any;
566
+ required?: boolean | undefined;
567
+ description?: string | undefined;
568
+ enum?: string[] | undefined;
569
+ file?: any;
570
+ refUid?: string | undefined;
571
+ format?: string | undefined;
572
+ nullable?: boolean | undefined;
573
+ }[];
574
+ encoding: "form-data" | "urlencoded";
575
+ };
576
+ activeBody: "raw" | "formData" | "binary";
577
+ binary?: File | undefined;
578
+ };
551
579
  parameters: {
552
580
  path: {
553
581
  value: string;
@@ -560,10 +588,10 @@ declare const requestExampleSchema: z.ZodObject<{
560
588
  required?: boolean | undefined;
561
589
  description?: string | undefined;
562
590
  enum?: string[] | undefined;
563
- nullable?: boolean | undefined;
564
- format?: string | undefined;
565
591
  file?: any;
566
592
  refUid?: string | undefined;
593
+ format?: string | undefined;
594
+ nullable?: boolean | undefined;
567
595
  }[];
568
596
  query: {
569
597
  value: string;
@@ -576,10 +604,10 @@ declare const requestExampleSchema: z.ZodObject<{
576
604
  required?: boolean | undefined;
577
605
  description?: string | undefined;
578
606
  enum?: string[] | undefined;
579
- nullable?: boolean | undefined;
580
- format?: string | undefined;
581
607
  file?: any;
582
608
  refUid?: string | undefined;
609
+ format?: string | undefined;
610
+ nullable?: boolean | undefined;
583
611
  }[];
584
612
  headers: {
585
613
  value: string;
@@ -592,10 +620,10 @@ declare const requestExampleSchema: z.ZodObject<{
592
620
  required?: boolean | undefined;
593
621
  description?: string | undefined;
594
622
  enum?: string[] | undefined;
595
- nullable?: boolean | undefined;
596
- format?: string | undefined;
597
623
  file?: any;
598
624
  refUid?: string | undefined;
625
+ format?: string | undefined;
626
+ nullable?: boolean | undefined;
599
627
  }[];
600
628
  cookies: {
601
629
  value: string;
@@ -608,46 +636,45 @@ declare const requestExampleSchema: z.ZodObject<{
608
636
  required?: boolean | undefined;
609
637
  description?: string | undefined;
610
638
  enum?: string[] | undefined;
611
- nullable?: boolean | undefined;
612
- format?: string | undefined;
613
639
  file?: any;
614
640
  refUid?: string | undefined;
641
+ format?: string | undefined;
642
+ nullable?: boolean | undefined;
615
643
  }[];
616
644
  };
645
+ auth: Record<string, any>;
646
+ }, {
617
647
  requestUid: string;
618
- body: {
619
- raw: {
620
- value: string;
621
- encoding: "xml" | "javascript" | "json" | "text" | "html" | "yaml" | "edn";
622
- };
623
- formData: {
624
- value: {
625
- value: string;
626
- key: string;
627
- enabled: boolean;
648
+ uid?: string | undefined;
649
+ name?: string | undefined;
650
+ url?: string | undefined;
651
+ body?: {
652
+ raw?: {
653
+ value?: string | undefined;
654
+ encoding?: "json" | "text" | "html" | "javascript" | "xml" | "yaml" | "edn" | undefined;
655
+ } | undefined;
656
+ formData?: {
657
+ value?: {
628
658
  minimum?: number | undefined;
629
659
  type?: string | undefined;
630
660
  maximum?: number | undefined;
661
+ value?: string | number | undefined;
631
662
  default?: any;
632
663
  required?: boolean | undefined;
633
664
  description?: string | undefined;
665
+ key?: string | undefined;
634
666
  enum?: string[] | undefined;
635
- nullable?: boolean | undefined;
636
- format?: string | undefined;
667
+ enabled?: boolean | undefined;
637
668
  file?: any;
638
669
  refUid?: string | undefined;
639
- }[];
640
- encoding: "form-data" | "urlencoded";
641
- };
642
- activeBody: "raw" | "formData" | "binary";
670
+ format?: string | undefined;
671
+ nullable?: boolean | undefined;
672
+ }[] | undefined;
673
+ encoding?: "form-data" | "urlencoded" | undefined;
674
+ } | undefined;
643
675
  binary?: File | undefined;
644
- };
645
- auth: Record<string, any>;
646
- }, {
647
- requestUid: string;
648
- uid?: string | undefined;
649
- name?: string | undefined;
650
- url?: string | undefined;
676
+ activeBody?: "raw" | "formData" | "binary" | undefined;
677
+ } | undefined;
651
678
  parameters?: {
652
679
  path?: {
653
680
  minimum?: number | undefined;
@@ -659,11 +686,11 @@ declare const requestExampleSchema: z.ZodObject<{
659
686
  description?: string | undefined;
660
687
  key?: string | undefined;
661
688
  enum?: string[] | undefined;
662
- nullable?: boolean | undefined;
663
- format?: string | undefined;
664
689
  enabled?: boolean | undefined;
665
690
  file?: any;
666
691
  refUid?: string | undefined;
692
+ format?: string | undefined;
693
+ nullable?: boolean | undefined;
667
694
  }[] | undefined;
668
695
  query?: {
669
696
  minimum?: number | undefined;
@@ -675,11 +702,11 @@ declare const requestExampleSchema: z.ZodObject<{
675
702
  description?: string | undefined;
676
703
  key?: string | undefined;
677
704
  enum?: string[] | undefined;
678
- nullable?: boolean | undefined;
679
- format?: string | undefined;
680
705
  enabled?: boolean | undefined;
681
706
  file?: any;
682
707
  refUid?: string | undefined;
708
+ format?: string | undefined;
709
+ nullable?: boolean | undefined;
683
710
  }[] | undefined;
684
711
  headers?: {
685
712
  minimum?: number | undefined;
@@ -691,11 +718,11 @@ declare const requestExampleSchema: z.ZodObject<{
691
718
  description?: string | undefined;
692
719
  key?: string | undefined;
693
720
  enum?: string[] | undefined;
694
- nullable?: boolean | undefined;
695
- format?: string | undefined;
696
721
  enabled?: boolean | undefined;
697
722
  file?: any;
698
723
  refUid?: string | undefined;
724
+ format?: string | undefined;
725
+ nullable?: boolean | undefined;
699
726
  }[] | undefined;
700
727
  cookies?: {
701
728
  minimum?: number | undefined;
@@ -707,40 +734,13 @@ declare const requestExampleSchema: z.ZodObject<{
707
734
  description?: string | undefined;
708
735
  key?: string | undefined;
709
736
  enum?: string[] | undefined;
710
- nullable?: boolean | undefined;
711
- format?: string | undefined;
712
737
  enabled?: boolean | undefined;
713
738
  file?: any;
714
739
  refUid?: string | undefined;
740
+ format?: string | undefined;
741
+ nullable?: boolean | undefined;
715
742
  }[] | undefined;
716
743
  } | undefined;
717
- body?: {
718
- raw?: {
719
- value?: string | undefined;
720
- encoding?: "xml" | "javascript" | "json" | "text" | "html" | "yaml" | "edn" | undefined;
721
- } | undefined;
722
- formData?: {
723
- value?: {
724
- minimum?: number | undefined;
725
- type?: string | undefined;
726
- maximum?: number | undefined;
727
- value?: string | number | undefined;
728
- default?: any;
729
- required?: boolean | undefined;
730
- description?: string | undefined;
731
- key?: string | undefined;
732
- enum?: string[] | undefined;
733
- nullable?: boolean | undefined;
734
- format?: string | undefined;
735
- enabled?: boolean | undefined;
736
- file?: any;
737
- refUid?: string | undefined;
738
- }[] | undefined;
739
- encoding?: "form-data" | "urlencoded" | undefined;
740
- } | undefined;
741
- binary?: File | undefined;
742
- activeBody?: "raw" | "formData" | "binary" | undefined;
743
- } | undefined;
744
744
  auth?: Record<string, any> | undefined;
745
745
  }>;
746
746
  /** A single set of params for a request example */
@@ -751,6 +751,34 @@ export declare const createRequestExample: (payload: RequestExamplePayload) => {
751
751
  uid: string;
752
752
  name: string;
753
753
  url: string;
754
+ requestUid: string;
755
+ body: {
756
+ raw: {
757
+ value: string;
758
+ encoding: "json" | "text" | "html" | "javascript" | "xml" | "yaml" | "edn";
759
+ };
760
+ formData: {
761
+ value: {
762
+ value: string;
763
+ key: string;
764
+ enabled: boolean;
765
+ minimum?: number | undefined;
766
+ type?: string | undefined;
767
+ maximum?: number | undefined;
768
+ default?: any;
769
+ required?: boolean | undefined;
770
+ description?: string | undefined;
771
+ enum?: string[] | undefined;
772
+ file?: any;
773
+ refUid?: string | undefined;
774
+ format?: string | undefined;
775
+ nullable?: boolean | undefined;
776
+ }[];
777
+ encoding: "form-data" | "urlencoded";
778
+ };
779
+ activeBody: "raw" | "formData" | "binary";
780
+ binary?: File | undefined;
781
+ };
754
782
  parameters: {
755
783
  path: {
756
784
  value: string;
@@ -763,10 +791,10 @@ export declare const createRequestExample: (payload: RequestExamplePayload) => {
763
791
  required?: boolean | undefined;
764
792
  description?: string | undefined;
765
793
  enum?: string[] | undefined;
766
- nullable?: boolean | undefined;
767
- format?: string | undefined;
768
794
  file?: any;
769
795
  refUid?: string | undefined;
796
+ format?: string | undefined;
797
+ nullable?: boolean | undefined;
770
798
  }[];
771
799
  query: {
772
800
  value: string;
@@ -779,10 +807,10 @@ export declare const createRequestExample: (payload: RequestExamplePayload) => {
779
807
  required?: boolean | undefined;
780
808
  description?: string | undefined;
781
809
  enum?: string[] | undefined;
782
- nullable?: boolean | undefined;
783
- format?: string | undefined;
784
810
  file?: any;
785
811
  refUid?: string | undefined;
812
+ format?: string | undefined;
813
+ nullable?: boolean | undefined;
786
814
  }[];
787
815
  headers: {
788
816
  value: string;
@@ -795,10 +823,10 @@ export declare const createRequestExample: (payload: RequestExamplePayload) => {
795
823
  required?: boolean | undefined;
796
824
  description?: string | undefined;
797
825
  enum?: string[] | undefined;
798
- nullable?: boolean | undefined;
799
- format?: string | undefined;
800
826
  file?: any;
801
827
  refUid?: string | undefined;
828
+ format?: string | undefined;
829
+ nullable?: boolean | undefined;
802
830
  }[];
803
831
  cookies: {
804
832
  value: string;
@@ -811,40 +839,12 @@ export declare const createRequestExample: (payload: RequestExamplePayload) => {
811
839
  required?: boolean | undefined;
812
840
  description?: string | undefined;
813
841
  enum?: string[] | undefined;
814
- nullable?: boolean | undefined;
815
- format?: string | undefined;
816
842
  file?: any;
817
843
  refUid?: string | undefined;
844
+ format?: string | undefined;
845
+ nullable?: boolean | undefined;
818
846
  }[];
819
847
  };
820
- requestUid: string;
821
- body: {
822
- raw: {
823
- value: string;
824
- encoding: "xml" | "javascript" | "json" | "text" | "html" | "yaml" | "edn";
825
- };
826
- formData: {
827
- value: {
828
- value: string;
829
- key: string;
830
- enabled: boolean;
831
- minimum?: number | undefined;
832
- type?: string | undefined;
833
- maximum?: number | undefined;
834
- default?: any;
835
- required?: boolean | undefined;
836
- description?: string | undefined;
837
- enum?: string[] | undefined;
838
- nullable?: boolean | undefined;
839
- format?: string | undefined;
840
- file?: any;
841
- refUid?: string | undefined;
842
- }[];
843
- encoding: "form-data" | "urlencoded";
844
- };
845
- activeBody: "raw" | "formData" | "binary";
846
- binary?: File | undefined;
847
- };
848
848
  auth: Record<string, any>;
849
849
  };
850
850
  export {};
@@ -116,22 +116,22 @@ declare const requestSchema: z.ZodObject<{
116
116
  security?: Record<string, string[] | undefined>[] | undefined;
117
117
  tags?: string[] | undefined;
118
118
  childUids?: (string | undefined)[] | undefined;
119
- operationId?: string | undefined;
120
119
  parameters?: {
121
120
  path: Record<string, any>;
122
121
  query: Record<string, any>;
123
122
  headers: Record<string, any>;
124
123
  cookies: Record<string, any>;
125
124
  } | undefined;
126
- requestBody?: any;
127
125
  method?: "GET" | "HEAD" | "PATCH" | "POST" | "PUT" | "TRACE" | "CONNECT" | "DELETE" | "OPTIONS" | undefined;
128
126
  ref?: {
129
127
  path: string;
130
128
  isExternal: boolean;
131
129
  collectionRef?: string | undefined;
132
130
  } | null | undefined;
131
+ operationId?: string | undefined;
133
132
  securitySchemeUids?: (string | undefined)[] | undefined;
134
133
  selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
134
+ requestBody?: any;
135
135
  history?: any[] | undefined;
136
136
  }>;
137
137
  /**
@@ -3,12 +3,12 @@ declare const modifiers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDefault<z.Zo
3
3
  export type HotKeyModifiers = z.infer<typeof modifiers>;
4
4
  declare const hotKeys: z.ZodRecord<z.ZodEnum<["Space", "Backspace", "Tab", "Enter", "Escape", "ArrowDown", "ArrowLeft", "ArrowRight", "ArrowUp", "End", "Home", "PageDown", "PageUp", "Delete", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "*", "+", "-", ".", "/", "F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12", ";", "=", ",", "-", ".", "/", "`", "[", "\\", "]", ""]>, z.ZodObject<{
5
5
  modifiers: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDefault<z.ZodOptional<z.ZodEnum<["Meta", "Control", "Shift", "Alt", "default"]>>>, "many">>>>;
6
- event: z.ZodEnum<["closeModal", "commandPaletteDown", "commandPaletteSelect", "commandPaletteUp", "openCommandPalette", "toggleSidebar", "addTopNav", "closeTopNav", "navigateTopNavLeft", "navigateTopNavRight", "focusAddressBar", "jumpToTab", "jumpToLastTab"]>;
6
+ event: z.ZodEnum<["closeModal", "navigateSearchResultsDown", "selectSearchResult", "navigateSearchResultsUp", "openCommandPalette", "toggleSidebar", "addTopNav", "closeTopNav", "navigateTopNavLeft", "navigateTopNavRight", "focusAddressBar", "jumpToTab", "jumpToLastTab", "focusRequestSearch"]>;
7
7
  }, "strip", z.ZodTypeAny, {
8
- event: "closeModal" | "commandPaletteDown" | "commandPaletteSelect" | "commandPaletteUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab";
8
+ event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
9
9
  modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
10
10
  }, {
11
- event: "closeModal" | "commandPaletteDown" | "commandPaletteSelect" | "commandPaletteUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab";
11
+ event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
12
12
  modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default" | undefined)[] | undefined;
13
13
  }>>;
14
14
  export type HotKeyConfig = z.infer<typeof hotKeys>;
@@ -28,24 +28,24 @@ declare const workspaceSchema: z.ZodObject<{
28
28
  modifiers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDefault<z.ZodOptional<z.ZodEnum<["Meta", "Control", "Shift", "Alt", "default"]>>>, "many">>>;
29
29
  hotKeys: z.ZodOptional<z.ZodRecord<z.ZodEnum<["Space", "Backspace", "Tab", "Enter", "Escape", "ArrowDown", "ArrowLeft", "ArrowRight", "ArrowUp", "End", "Home", "PageDown", "PageUp", "Delete", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "*", "+", "-", ".", "/", "F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12", ";", "=", ",", "-", ".", "/", "`", "[", "\\", "]", ""]>, z.ZodObject<{
30
30
  modifiers: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDefault<z.ZodOptional<z.ZodEnum<["Meta", "Control", "Shift", "Alt", "default"]>>>, "many">>>>;
31
- event: z.ZodEnum<["closeModal", "commandPaletteDown", "commandPaletteSelect", "commandPaletteUp", "openCommandPalette", "toggleSidebar", "addTopNav", "closeTopNav", "navigateTopNavLeft", "navigateTopNavRight", "focusAddressBar", "jumpToTab", "jumpToLastTab"]>;
31
+ event: z.ZodEnum<["closeModal", "navigateSearchResultsDown", "selectSearchResult", "navigateSearchResultsUp", "openCommandPalette", "toggleSidebar", "addTopNav", "closeTopNav", "navigateTopNavLeft", "navigateTopNavRight", "focusAddressBar", "jumpToTab", "jumpToLastTab", "focusRequestSearch"]>;
32
32
  }, "strip", z.ZodTypeAny, {
33
- event: "closeModal" | "commandPaletteDown" | "commandPaletteSelect" | "commandPaletteUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab";
33
+ event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
34
34
  modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
35
35
  }, {
36
- event: "closeModal" | "commandPaletteDown" | "commandPaletteSelect" | "commandPaletteUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab";
36
+ event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
37
37
  modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default" | undefined)[] | undefined;
38
38
  }>>>;
39
39
  }, "strip", z.ZodTypeAny, {
40
40
  modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
41
41
  hotKeys?: Partial<Record<"" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
42
- event: "closeModal" | "commandPaletteDown" | "commandPaletteSelect" | "commandPaletteUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab";
42
+ event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
43
43
  modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
44
44
  }>> | undefined;
45
45
  }, {
46
46
  modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default" | undefined)[] | undefined;
47
47
  hotKeys?: Partial<Record<"" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
48
- event: "closeModal" | "commandPaletteDown" | "commandPaletteSelect" | "commandPaletteUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab";
48
+ event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
49
49
  modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default" | undefined)[] | undefined;
50
50
  }>> | undefined;
51
51
  }>>;
@@ -67,7 +67,7 @@ declare const workspaceSchema: z.ZodObject<{
67
67
  hotKeyConfig?: {
68
68
  modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
69
69
  hotKeys?: Partial<Record<"" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
70
- event: "closeModal" | "commandPaletteDown" | "commandPaletteSelect" | "commandPaletteUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab";
70
+ event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
71
71
  modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
72
72
  }>> | undefined;
73
73
  } | undefined;
@@ -82,7 +82,7 @@ declare const workspaceSchema: z.ZodObject<{
82
82
  hotKeyConfig?: {
83
83
  modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default" | undefined)[] | undefined;
84
84
  hotKeys?: Partial<Record<"" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
85
- event: "closeModal" | "commandPaletteDown" | "commandPaletteSelect" | "commandPaletteUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab";
85
+ event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
86
86
  modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default" | undefined)[] | undefined;
87
87
  }>> | undefined;
88
88
  } | undefined;
@@ -105,7 +105,7 @@ export declare const createWorkspace: (payload: WorkspacePayload) => {
105
105
  hotKeyConfig?: {
106
106
  modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
107
107
  hotKeys?: Partial<Record<"" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
108
- event: "closeModal" | "commandPaletteDown" | "commandPaletteSelect" | "commandPaletteUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab";
108
+ event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
109
109
  modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
110
110
  }>> | undefined;
111
111
  } | undefined;
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "specification",
17
17
  "yaml"
18
18
  ],
19
- "version": "0.2.34",
19
+ "version": "0.2.36",
20
20
  "engines": {
21
21
  "node": ">=18"
22
22
  },
@@ -92,7 +92,7 @@
92
92
  "zod": "^3.22.4",
93
93
  "@scalar/object-utils": "1.1.7",
94
94
  "@scalar/themes": "0.9.25",
95
- "@scalar/types": "0.0.1"
95
+ "@scalar/types": "0.0.2"
96
96
  },
97
97
  "devDependencies": {
98
98
  "@scalar/openapi-parser": "^0.7.2",