@manycore/budget-plugin-api 0.0.1-alpha.4 → 0.0.1-alpha.6
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/package.json
CHANGED
|
@@ -4,16 +4,49 @@ export declare enum ESystematic {
|
|
|
4
4
|
SYSTEMATIC = 0,
|
|
5
5
|
CUSTOM = 1
|
|
6
6
|
}
|
|
7
|
-
export interface
|
|
7
|
+
export interface IProjectInfo {
|
|
8
|
+
/**
|
|
9
|
+
* 项目信息的唯一标识
|
|
10
|
+
*/
|
|
8
11
|
obsId: string;
|
|
12
|
+
/**
|
|
13
|
+
* 清单ID
|
|
14
|
+
*/
|
|
9
15
|
listingId: string;
|
|
16
|
+
/**
|
|
17
|
+
* 字段名
|
|
18
|
+
*/
|
|
10
19
|
name: string;
|
|
20
|
+
/**
|
|
21
|
+
* 字段值
|
|
22
|
+
*/
|
|
11
23
|
value: string;
|
|
24
|
+
/**
|
|
25
|
+
* 列结构, json字符串
|
|
26
|
+
*/
|
|
12
27
|
struct?: string;
|
|
28
|
+
/**
|
|
29
|
+
* 1-文本
|
|
30
|
+
* 2-日期
|
|
31
|
+
* 3-单选
|
|
32
|
+
*/
|
|
13
33
|
type: 1 | 2 | 3;
|
|
34
|
+
/**
|
|
35
|
+
* SYSTEMATIC-系统字段
|
|
36
|
+
* CUSTOM-自定义
|
|
37
|
+
*/
|
|
14
38
|
systemic: ESystematic;
|
|
39
|
+
/**
|
|
40
|
+
* 顺序
|
|
41
|
+
*/
|
|
15
42
|
order: number;
|
|
43
|
+
/**
|
|
44
|
+
* 创建时间
|
|
45
|
+
*/
|
|
16
46
|
created: number;
|
|
47
|
+
/**
|
|
48
|
+
* 最后修改时间
|
|
49
|
+
*/
|
|
17
50
|
lastmodified: number;
|
|
18
51
|
}
|
|
19
52
|
/**
|
|
@@ -166,7 +199,7 @@ export interface IListingMeta {
|
|
|
166
199
|
/**
|
|
167
200
|
* 清单项目信息列表
|
|
168
201
|
*/
|
|
169
|
-
projectInfos: Array<
|
|
202
|
+
projectInfos: Array<IProjectInfo>;
|
|
170
203
|
}
|
|
171
204
|
/**
|
|
172
205
|
* 清单详情
|
|
@@ -224,7 +257,7 @@ export interface IProjectInfoUpdateParams {
|
|
|
224
257
|
/**
|
|
225
258
|
* 清单项目信息列表
|
|
226
259
|
*/
|
|
227
|
-
projectInfos:
|
|
260
|
+
projectInfos: IProjectInfo[];
|
|
228
261
|
}
|
|
229
262
|
/**
|
|
230
263
|
* 清单插件平台API,给插件提供读写清单数据的api
|
|
@@ -254,5 +287,5 @@ export declare class ListingService extends ServService {
|
|
|
254
287
|
/**
|
|
255
288
|
* 更新项目信息
|
|
256
289
|
*/
|
|
257
|
-
updateProjectInfo(params: IProjectInfoUpdateParams): ServAPIRetn<
|
|
290
|
+
updateProjectInfo(params: IProjectInfoUpdateParams): ServAPIRetn<void>;
|
|
258
291
|
}
|