UNPKG

jamis

Version:

一种支持通过JSON配置方式生成页面的组件库

38 lines (37 loc) 1.78 kB
import type { Instance } from 'mobx-state-tree'; import type { Api, RendererEnv } from 'jamis-core'; export declare const MappingStore: import("mobx-state-tree").IModelType<{ id: import("mobx-state-tree").ISimpleType<string>; path: import("mobx-state-tree").IType<string | undefined, string, string>; storeType: import("mobx-state-tree").ISimpleType<string>; disposed: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>; parentId: import("mobx-state-tree").IType<string | undefined, string, string>; childrenIds: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>; } & { fetching: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>; errorMsg: import("mobx-state-tree").IType<string | undefined, string, string>; map: import("mobx-state-tree").IType<{ [propName: string]: any; } | null | undefined, { [propName: string]: any; }, { [propName: string]: any; }>; }, { readonly parentStore: any; readonly __: any; readonly hasChildren: boolean; readonly children: any[]; readonly isAlive: boolean; } & { onChildStoreDispose(child: any): void; syncProps(props: any, prevProps: any, list?: Array<string>): void; syncProp(key: string, propValue: any, prevPropValue: any): void; dispose: (callback?: () => void) => void; addChildId: (id: string) => void; removeChildId: (id: string) => void; } & { load: (env: RendererEnv, api: Api, data: any) => Promise<any>; setMap(options: any): void; }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>; export type IMappingStore = Instance<typeof MappingStore>;