@aws/mynah-ui 1.1.7 → 1.1.9

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/dist/static.d.ts CHANGED
@@ -76,7 +76,6 @@ export interface SearchPayload {
76
76
  code?: string;
77
77
  }
78
78
  export interface SuggestionMetaData {
79
- type: string;
80
79
  stars?: number;
81
80
  forks?: number;
82
81
  answerCount?: number;
@@ -85,6 +84,7 @@ export interface SuggestionMetaData {
85
84
  score?: number;
86
85
  lastActivityDate?: number;
87
86
  }
87
+ export declare type SuggestionMetaDataUnion = Record<string, SuggestionMetaData>;
88
88
  export interface Suggestion {
89
89
  id: string;
90
90
  title: string;
@@ -92,7 +92,7 @@ export interface Suggestion {
92
92
  body: string;
93
93
  context: string[];
94
94
  type?: string;
95
- metadata?: SuggestionMetaData;
95
+ metadata?: SuggestionMetaDataUnion;
96
96
  }
97
97
  export declare enum KeyMap {
98
98
  ESCAPE = "Escape",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws/mynah-ui",
3
3
  "displayName": "AWS Mynah UI",
4
- "version": "1.1.7",
4
+ "version": "1.1.9",
5
5
  "description": "AWS Tookit VSCode and Intellij IDE Extension Mynah UI",
6
6
  "publisher": "Amazon Web Services",
7
7
  "license": "Apache License 2.0",