@aws/mynah-ui 1.1.0 → 1.1.2

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
@@ -6,6 +6,7 @@ export interface MynahUIDataModel {
6
6
  loading?: boolean;
7
7
  liveSearchState?: LiveSearchState;
8
8
  query?: string;
9
+ code?: string;
9
10
  codeSelection?: SearchPayloadCodeSelection;
10
11
  codeQuery?: SearchPayloadCodeQuery;
11
12
  matchPolicy?: SearchPayloadMatchPolicy;
@@ -46,6 +47,7 @@ export interface ServiceConnector {
46
47
  clickAutocompleteSuggestionItem: (text: string, currSelected?: number, suggestionCount?: number) => void;
47
48
  }
48
49
  export declare enum MynahEventNames {
50
+ RESET_STORE = "resetStore",
49
51
  CONTEXT_VISIBILITY_CHANGE = "contextVisibilityChange",
50
52
  REQUEST_AUTOCOMPLETE_SUGGESTIONS = "requestAutocompleteSuggestions",
51
53
  AUTOCOMPLETE_SUGGESTION_CLICK = "autoCompleteSuggestionClick",
@@ -97,6 +99,7 @@ export interface SearchPayload {
97
99
  matchPolicy: SearchPayloadMatchPolicy;
98
100
  codeSelection: SearchPayloadCodeSelection;
99
101
  codeQuery?: SearchPayloadCodeQuery;
102
+ code?: string;
100
103
  }
101
104
  export interface SuggestionMetaData {
102
105
  site: string;
@@ -262,6 +265,7 @@ export interface SearchHistoryItem {
262
265
  trigger: string;
263
266
  codeQuery: CodeQuery;
264
267
  codeSelection: SearchPayloadCodeSelection;
268
+ code?: string;
265
269
  };
266
270
  recordDate?: number;
267
271
  suggestions: Suggestion[];
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.0",
4
+ "version": "1.1.2",
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",