mobx-view-model-devtools 0.0.44 → 0.0.45

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/index.d.ts CHANGED
@@ -58,11 +58,14 @@ declare class PropertyListItem extends ListItem<any> {
58
58
  isEditMode: boolean;
59
59
  get isExpanded(): boolean;
60
60
  get isExpandable(): boolean;
61
- get data(): any;
61
+ get data(): unknown;
62
62
  get descriptor(): PropertyDescriptor | null | undefined;
63
- get dataType(): "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function";
63
+ get dataType(): string;
64
64
  get stringifiedDataType(): string;
65
- get type(): "array" | "instance" | "function" | "object" | "primitive";
65
+ get instanceClassName(): string;
66
+ get isInaccessibleDisplay(): boolean;
67
+ get inaccessibleDisplayLabel(): string;
68
+ get type(): "primitive" | "array" | "function" | "instance" | "object";
66
69
  get children(): PropertyListItem[];
67
70
  get extraContent(): "," | null;
68
71
  private get propertyClosingTag();
@@ -97,11 +100,15 @@ interface SearchEngineConfig {
97
100
  getRootItems: () => ListItem<any>[];
98
101
  getPresentationMode: () => 'tree' | 'list';
99
102
  }
103
+ interface OwnerInfo {
104
+ type: 'vm' | 'extras' | 'unknown';
105
+ name: string;
106
+ key: string;
107
+ }
100
108
  interface SearchSuggestion {
101
109
  value: string;
102
110
  suffix: string;
103
- vmName: string;
104
- ownerKey: string;
111
+ owner: OwnerInfo;
105
112
  }
106
113
  declare class SearchEngine {
107
114
  private config;
@@ -184,8 +191,7 @@ declare class SearchEngine {
184
191
  * или `serviceAndProductSearch`.
185
192
  */
186
193
  private getPathMatchingProps;
187
- private getOwnerVMName;
188
- private getOwnerKey;
194
+ private getOwnerInfo;
189
195
  /**
190
196
  * Навигация вглубь по цепочке свойств.
191
197
  * Возвращает свойства на нужной глубине.