mirror of
https://github.com/grafana/grafana.git
synced 2024-12-02 05:29:42 -06:00
8abef88b94
* mobx: poc in using each store as individual prop on the react containers * prettier test * fix: end the war between prettier vs tslint. * mobx: Move stores into their own folders * mobx: Refactor the AlertRule into its own file and add a helper-file * mobx: Move NavItem out of NavStore and remove lodash dependancy * mobx: Move ResultItem and SearchResultSection models out of the SearchStore * mobx: ServerStatsStore rename .tsx => .ts. And move ServerStat-model to its own file. * mobx: Remove lodash and jquery dependancy from ViewStore * mobx: Remove issue with double question mark
11 lines
301 B
TypeScript
11 lines
301 B
TypeScript
import { types } from 'mobx-state-tree';
|
|
|
|
export const ResultItem = types.model('ResultItem', {
|
|
id: types.identifier(types.number),
|
|
folderId: types.optional(types.number, 0),
|
|
title: types.string,
|
|
url: types.string,
|
|
icon: types.string,
|
|
folderTitle: types.optional(types.string, ''),
|
|
});
|