@xiaoguomeiyitian/core 1.1.1 → 1.1.2
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/dist/lib_linux_20.jsc +0 -0
- package/dist/lib_linux_22.jsc +0 -0
- package/dist/lib_win32_20.jsc +0 -0
- package/dist/lib_win32_22.jsc +0 -0
- package/package.json +1 -1
- package/types/lib.d.ts +4 -4
package/dist/lib_linux_20.jsc
CHANGED
Binary file
|
package/dist/lib_linux_22.jsc
CHANGED
Binary file
|
package/dist/lib_win32_20.jsc
CHANGED
Binary file
|
package/dist/lib_win32_22.jsc
CHANGED
Binary file
|
package/package.json
CHANGED
package/types/lib.d.ts
CHANGED
@@ -4,11 +4,11 @@ export declare class Global {
|
|
4
4
|
/** cwd路径 */
|
5
5
|
_cwdDir: string;
|
6
6
|
event: EventEmitter;
|
7
|
-
|
7
|
+
entityDefs: any;
|
8
8
|
serviceProto: any;
|
9
9
|
serviceProtoServer: any;
|
10
10
|
constructor();
|
11
|
-
init(
|
11
|
+
init(entityDefs: any, serviceProto: any, serviceProtoServer: any): Promise<void>;
|
12
12
|
/**获取某类实体属性的类型 */
|
13
13
|
getPropType(type: string, prop: string): any;
|
14
14
|
/**获取某类实体属性的默认值 */
|
@@ -83,10 +83,10 @@ export declare class Entity {
|
|
83
83
|
onDestroy(): void;
|
84
84
|
}
|
85
85
|
export declare class GenEntityDefs {
|
86
|
-
gen(filePath:
|
86
|
+
gen(filePath: string): void;
|
87
87
|
}
|
88
88
|
export declare class GenServiceFunc {
|
89
|
-
gen(fReadPath:
|
89
|
+
gen(fReadPath: string, fWritePath: string, types: string[]): void;
|
90
90
|
}
|
91
91
|
/** 拷贝文件或目录 */
|
92
92
|
export declare function copyDir(sourceDir: string, destDir: string): Promise<void>;
|