-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathindex.d.ts
44 lines (39 loc) · 1.11 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
declare module '@schema-plugin-flow/sifo-react' {
import * as SifoModelTypes from '@schema-plugin-flow/sifo-model';
export { SifoModelTypes };
interface SifoAppProps {
className?: string;
/**
* SifoModel插件
*/
plugins?: SifoModelTypes.SifoPlugin[];
/**
* 命名空间
*/
namespace: string;
schema: SifoModelTypes.SchemaNode;
components: SifoModelTypes.ModelOptions['components'];
/**
* 任意外部信息
*/
externals?: SifoModelTypes.ModelOptions['externals'];
/**
* 模型实例化可选参数
*/
modelApiRef?: SifoModelTypes.ModelOptions['modelApiRef'];
/**
* 是否开启sifo-logger打印
*/
openLogger?: boolean;
getModelPluginArgs?: SifoModelTypes.ModelOptions['getModelPluginArgs'];
/**
* 任意对象,mApi.getSifoExtProps 可以取到即时的值,这点与 externals 相区别
*/
sifoExtProps?: SifoModelTypes.DynamicObject;
}
interface SifoAppState {
refresh: number;
}
class SifoApp extends React.PureComponent<SifoAppProps, SifoAppState> { }
export default SifoApp;
}