mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-04 17:27:09 +00:00
feat: 🎸 根据低代码协议文档, 完善UtilsMap的定义
This commit is contained in:
parent
7901c8e96d
commit
7fe4bc0ac1
@ -1,13 +1,21 @@
|
|||||||
import { NpmInfo } from './npm';
|
import { NpmInfo } from './npm';
|
||||||
|
import { JSExpression, JSFunction } from './value-type';
|
||||||
|
|
||||||
export type UtilsMap = Array<
|
export type UtilItem =
|
||||||
| {
|
| {
|
||||||
name: string;
|
name: string;
|
||||||
type: 'npm';
|
type: 'npm';
|
||||||
content: NpmInfo;
|
content: NpmInfo;
|
||||||
}
|
}
|
||||||
| {
|
| {
|
||||||
name: string;
|
name: string;
|
||||||
type: '';
|
type: 'tnpm';
|
||||||
}
|
content: NpmInfo;
|
||||||
>;
|
}
|
||||||
|
| {
|
||||||
|
name: string;
|
||||||
|
type: 'function';
|
||||||
|
content: JSFunction | JSExpression;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type UtilsMap = UtilItem[];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user