cgserver 9.2.7 → 10.0.0
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/README.md +10 -0
- package/dist/lib/Framework/AI/BehaviorAI.js +6 -6
- package/dist/lib/Framework/AI/TriggerMgr.js +7 -8
- package/dist/lib/Framework/Config/FrameworkConfig.js +2 -2
- package/dist/lib/Framework/Config/IServerConfig.js +3 -3
- package/dist/lib/Framework/Core/ByteTool.js +2 -2
- package/dist/lib/Framework/Core/Core.js +4 -4
- package/dist/lib/Framework/Core/Timer.js +5 -5
- package/dist/lib/Framework/Database/Decorator/DBCache.js +5 -6
- package/dist/lib/Framework/Database/MSSqlManager.js +4 -5
- package/dist/lib/Framework/Database/Mongo/MongoBaseService.js +128 -0
- package/dist/lib/Framework/Database/Mongo/MongoManager.js +509 -0
- package/dist/lib/Framework/Database/Mongo/MongoServiceManager.js +26 -0
- package/dist/lib/Framework/Database/MysqlBaseService.js +24 -26
- package/dist/lib/Framework/Database/MysqlManager.js +7 -10
- package/dist/lib/Framework/Database/RedisManager.js +5 -7
- package/dist/lib/Framework/Decorator/SyncCall.js +3 -3
- package/dist/lib/Framework/Decorator/SyncCallServer.js +11 -12
- package/dist/lib/Framework/Logic/CacheTool.js +2 -3
- package/dist/lib/Framework/Logic/EventTool.js +2 -2
- package/dist/lib/Framework/Logic/HttpTool.js +11 -12
- package/dist/lib/Framework/Logic/Log.js +2 -3
- package/dist/lib/Framework/Logic/SyncQueueTool.js +2 -2
- package/dist/lib/Framework/Service/MongoAccountService.js +17 -19
- package/dist/lib/Framework/Service/MongoCacheService.js +7 -9
- package/dist/lib/Framework/Service/MongoUserService.js +10 -10
- package/dist/lib/Framework/Service/MysqlAccountService.js +4 -6
- package/dist/lib/Framework/SocketServer/IClientWebSocket.js +4 -4
- package/dist/lib/Framework/SocketServer/IRpcClientWebSocket.js +6 -7
- package/dist/lib/Framework/SocketServer/IRpcServerWebSocket.js +6 -7
- package/dist/lib/Framework/SocketServer/IServerWebSocket.js +3 -3
- package/dist/lib/Framework/SocketServer/ISocketServer.js +18 -21
- package/dist/lib/Framework/SocketServer/IWebSocket.js +12 -14
- package/dist/lib/Framework/SocketServer/ProtoFilter/GoogleProtoFilter.js +4 -4
- package/dist/lib/Framework/SocketServer/ProtoFilter/JsonProtoFilter.js +2 -2
- package/dist/lib/Framework/SocketServer/ProtoFilter/ProtoFactory.js +2 -3
- package/dist/lib/Framework/ThirdParty/AlipayTool.js +17 -19
- package/dist/lib/Framework/ThirdParty/Alisms.js +10 -12
- package/dist/lib/Framework/ThirdParty/AppleTool.js +14 -17
- package/dist/lib/Framework/ThirdParty/CgMq.js +3 -3
- package/dist/lib/Framework/ThirdParty/EmailTool.js +12 -14
- package/dist/lib/Framework/ThirdParty/QQTool.js +19 -23
- package/dist/lib/Framework/ThirdParty/QiniuTool.js +9 -11
- package/dist/lib/Framework/ThirdParty/Rpc.js +2 -2
- package/dist/lib/Framework/ThirdParty/WechatTool.js +66 -16
- package/dist/lib/Framework/WebServer/Controller/MongoBaseUserController.js +16 -17
- package/dist/lib/Framework/WebServer/Controller/MysqlBaseUserController.js +12 -13
- package/dist/lib/Framework/WebServer/Engine/ControllerManager.js +2 -3
- package/dist/lib/Framework/WebServer/Engine/Engine.js +17 -18
- package/dist/lib/Framework/WebServer/Engine/RazorJs.js +3 -4
- package/dist/lib/Framework/WebServer/Engine/Request.js +3 -3
- package/dist/lib/Framework/WebServer/Engine/Response.js +2 -2
- package/dist/lib/Framework/WebServer/IWebServer.js +6 -9
- package/dist/lib/Framework/cgserver.js +10 -15
- package/dist/lib/Framework/global.js +56 -0
- package/dist/lib/Framework/index.js +3 -200
- package/dist/lib/Framework/index_export_.js +161 -0
- package/dist/lib/test/test.js +2 -2
- package/dist/types/Framework/AI/TriggerMgr.d.ts +1 -3
- package/dist/types/Framework/Config/DbConfig.d.ts +1 -1
- package/dist/types/Framework/Config/IServerConfig.d.ts +0 -1
- package/dist/types/Framework/Core/ByteTool.d.ts +1 -3
- package/dist/types/Framework/Database/Decorator/DBCache.d.ts +1 -3
- package/dist/types/Framework/Database/MSSqlManager.d.ts +1 -3
- package/dist/types/Framework/Database/Mongo/MongoBaseService.d.ts +105 -0
- package/dist/types/Framework/Database/Mongo/MongoManager.d.ts +193 -0
- package/dist/types/Framework/Database/Mongo/MongoServiceManager.d.ts +13 -0
- package/dist/types/Framework/Database/MysqlManager.d.ts +1 -3
- package/dist/types/Framework/Database/RedisManager.d.ts +0 -1
- package/dist/types/Framework/Logic/CacheTool.d.ts +1 -2
- package/dist/types/Framework/Logic/EventTool.d.ts +1 -3
- package/dist/types/Framework/Logic/HttpTool.d.ts +1 -3
- package/dist/types/Framework/Logic/Log.d.ts +1 -3
- package/dist/types/Framework/Logic/SyncQueueTool.d.ts +1 -2
- package/dist/types/Framework/Service/MongoAccountService.d.ts +2 -2
- package/dist/types/Framework/Service/MongoCacheService.d.ts +3 -5
- package/dist/types/Framework/Service/MongoUserService.d.ts +4 -4
- package/dist/types/Framework/SocketServer/ProtoFilter/ProtoFactory.d.ts +1 -2
- package/dist/types/Framework/ThirdParty/AlipayTool.d.ts +1 -3
- package/dist/types/Framework/ThirdParty/Alisms.d.ts +1 -3
- package/dist/types/Framework/ThirdParty/AppleTool.d.ts +1 -2
- package/dist/types/Framework/ThirdParty/EmailTool.d.ts +1 -3
- package/dist/types/Framework/ThirdParty/QQTool.d.ts +0 -1
- package/dist/types/Framework/ThirdParty/QiniuTool.d.ts +1 -3
- package/dist/types/Framework/ThirdParty/WechatTool.d.ts +10 -1
- package/dist/types/Framework/WebServer/Engine/ControllerManager.d.ts +1 -3
- package/dist/types/Framework/cgserver.d.ts +1 -3
- package/dist/types/Framework/global.d.ts +53 -0
- package/dist/types/Framework/index.d.ts +2 -91
- package/dist/types/Framework/index_export_.d.ts +74 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MongoBaseService } from '../Database/MongoBaseService';
|
|
2
|
-
import { MongoBaseModel } from '../Database/MongoManager';
|
|
1
|
+
import { MongoBaseService } from '../Database/Mongo/MongoBaseService';
|
|
2
|
+
import { MongoBaseModel } from '../Database/Mongo/MongoManager';
|
|
3
3
|
import { EAccountFrom } from './ini';
|
|
4
4
|
import { MongoUserModel } from './MongoUserService';
|
|
5
5
|
export declare class MongoAccountModel extends MongoBaseModel {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { MongoBaseService } from "../Database/MongoBaseService";
|
|
2
|
-
import { MongoBaseModel } from "../Database/MongoManager";
|
|
1
|
+
import { MongoBaseService } from "../Database/Mongo/MongoBaseService";
|
|
2
|
+
import { MongoBaseModel } from "../Database/Mongo/MongoManager";
|
|
3
3
|
export declare class MongoCacheModel extends MongoBaseModel {
|
|
4
4
|
key: string;
|
|
5
5
|
data: any;
|
|
6
6
|
expireAt: number;
|
|
7
7
|
}
|
|
8
|
-
export declare
|
|
9
|
-
declare class MongoCacheService extends MongoBaseService<MongoCacheModel> {
|
|
8
|
+
export declare class MongoCacheService extends MongoBaseService<MongoCacheModel> {
|
|
10
9
|
constructor();
|
|
11
10
|
getData(key: string): Promise<any>;
|
|
12
11
|
addData(key: string, data: any, expireAt?: number): Promise<MongoCacheModel>;
|
|
13
12
|
}
|
|
14
|
-
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MongoBaseService } from "../Database/MongoBaseService";
|
|
2
|
-
import { MongoBaseModel } from "../Database/MongoManager";
|
|
1
|
+
import { MongoBaseService } from "../Database/Mongo/MongoBaseService";
|
|
2
|
+
import { MongoBaseModel } from "../Database/Mongo/MongoManager";
|
|
3
3
|
import { ERoleGroup } from "./ini";
|
|
4
4
|
export declare class MongoUserModel extends MongoBaseModel {
|
|
5
5
|
id: number;
|
|
@@ -23,8 +23,8 @@ export declare class MongoUserModel extends MongoBaseModel {
|
|
|
23
23
|
is_robot: number;
|
|
24
24
|
create_time: number;
|
|
25
25
|
}
|
|
26
|
-
export declare let
|
|
27
|
-
export declare class
|
|
26
|
+
export declare let GMongoUserSer: MongoUserService<MongoUserModel>;
|
|
27
|
+
export declare class MongoUserService<T extends MongoUserModel> extends MongoBaseService<T> {
|
|
28
28
|
constructor(table: string, type: {
|
|
29
29
|
new (): T;
|
|
30
30
|
});
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { IProtoFilter } from './IProtoFilter';
|
|
2
2
|
import { EProtoType } from "./IProtoFilter";
|
|
3
|
-
export declare let GProtoFactory: ProtoFactory;
|
|
4
3
|
type ProtoFilterClass = new () => IProtoFilter;
|
|
5
|
-
declare class ProtoFactory {
|
|
4
|
+
export declare class ProtoFactory {
|
|
6
5
|
protected _filters: Map<EProtoType, IProtoFilter>;
|
|
7
6
|
protected _type_filter_classes: Map<EProtoType, ProtoFilterClass>;
|
|
8
7
|
constructor();
|
|
@@ -46,8 +46,7 @@ export declare class AlipayCallBack {
|
|
|
46
46
|
buyer_logon_id: string;
|
|
47
47
|
point_amount: number;
|
|
48
48
|
}
|
|
49
|
-
export declare
|
|
50
|
-
declare class AlipayTool {
|
|
49
|
+
export declare class AlipayTool {
|
|
51
50
|
protected _alipaySdk: AlipaySdk;
|
|
52
51
|
protected _aliPay: AliPayUtil;
|
|
53
52
|
protected _cfg: {
|
|
@@ -106,4 +105,3 @@ declare class AlipayTool {
|
|
|
106
105
|
*/
|
|
107
106
|
getAlipayPage(method: "get" | "post", notifyUrl: string, returnUrl: string, outTradeNo: string, money: number, subject: string, body: string): Promise<string | import("alipay-sdk").AlipaySdkCommonResult>;
|
|
108
107
|
}
|
|
109
|
-
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
declare class SMSTool {
|
|
1
|
+
export declare class SMSTool {
|
|
3
2
|
protected _is_init: boolean;
|
|
4
3
|
protected _sms_client: any;
|
|
5
4
|
init(): boolean;
|
|
@@ -11,4 +10,3 @@ declare class SMSTool {
|
|
|
11
10
|
*/
|
|
12
11
|
sendSMS(code: number, phone: string): Promise<String>;
|
|
13
12
|
}
|
|
14
|
-
export {};
|
|
@@ -115,8 +115,7 @@ export declare class NotificationBody {
|
|
|
115
115
|
auto_renew_product_id: string;
|
|
116
116
|
notification_type: string;
|
|
117
117
|
}
|
|
118
|
-
export declare
|
|
119
|
-
declare class AppleTool {
|
|
118
|
+
export declare class AppleTool {
|
|
120
119
|
protected _verifyUrl: string;
|
|
121
120
|
protected _sandboxVerifyUrl: string;
|
|
122
121
|
onNotify(nb: NotificationBody): Promise<void>;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
export declare class WechatOAMsg {
|
|
2
|
+
toUserName: string;
|
|
3
|
+
fromUserName: string;
|
|
4
|
+
createTime: number;
|
|
5
|
+
msgType: string;
|
|
6
|
+
content: string;
|
|
7
|
+
msgId: number;
|
|
8
|
+
}
|
|
1
9
|
export declare class WechatUserInfo {
|
|
2
10
|
openid: string;
|
|
3
11
|
nickname: string;
|
|
@@ -9,7 +17,6 @@ export declare class WechatUserInfo {
|
|
|
9
17
|
privilege: string[];
|
|
10
18
|
unionid: string;
|
|
11
19
|
}
|
|
12
|
-
export declare let GWechatTool: WechatTool;
|
|
13
20
|
export declare class WechatTool {
|
|
14
21
|
/**
|
|
15
22
|
* 获取获取code的url
|
|
@@ -17,4 +24,6 @@ export declare class WechatTool {
|
|
|
17
24
|
getAuthCodeUrl(): string;
|
|
18
25
|
getAccessInfo(auth_code: string): Promise<any>;
|
|
19
26
|
getUserInfo(access_token: string, openid: string): Promise<WechatUserInfo>;
|
|
27
|
+
convertOAMsg(xmlStr: string): WechatOAMsg;
|
|
28
|
+
toReplyXmlStr(msg: WechatOAMsg): string;
|
|
20
29
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BaseController } from "../Controller/BaseController";
|
|
2
|
-
export declare
|
|
3
|
-
declare class ControllerManager {
|
|
2
|
+
export declare class ControllerManager {
|
|
4
3
|
protected _static_ctr: {
|
|
5
4
|
[module_name: string]: {
|
|
6
5
|
[ctrname: string]: BaseController;
|
|
@@ -32,4 +31,3 @@ declare class ControllerManager {
|
|
|
32
31
|
getStaticCtr(module_name: string, controller_name: string): BaseController;
|
|
33
32
|
getClass(module_name: string, controller_name: string): any;
|
|
34
33
|
}
|
|
35
|
-
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IWebServer } from "./WebServer/IWebServer";
|
|
2
2
|
import { ISocketServer } from "./SocketServer/ISocketServer";
|
|
3
3
|
import { DbConfig } from "./Config/DbConfig";
|
|
4
|
-
declare class CgServer {
|
|
4
|
+
export declare class CgServer {
|
|
5
5
|
protected _webservers: IWebServer[];
|
|
6
6
|
get webServers(): IWebServer[];
|
|
7
7
|
protected _socketservers: ISocketServer[];
|
|
@@ -37,5 +37,3 @@ declare class CgServer {
|
|
|
37
37
|
pause(): void;
|
|
38
38
|
resume(): void;
|
|
39
39
|
}
|
|
40
|
-
export declare let GCgServer: CgServer;
|
|
41
|
-
export {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { TriggerManager } from './AI/TriggerMgr';
|
|
2
|
+
import { IServerConfig } from './Config/IServerConfig';
|
|
3
|
+
import { ByteTool } from './Core/ByteTool';
|
|
4
|
+
import { DBCache } from './Database/Decorator/DBCache';
|
|
5
|
+
import { MSSqlManager } from './Database/MSSqlManager';
|
|
6
|
+
import { MongoManager } from './Database/Mongo/MongoManager';
|
|
7
|
+
import { MongoServiceManager } from './Database/Mongo/MongoServiceManager';
|
|
8
|
+
import { MysqlManager } from './Database/MysqlManager';
|
|
9
|
+
import { RedisManager } from './Database/RedisManager';
|
|
10
|
+
import { CacheTool } from './Logic/CacheTool';
|
|
11
|
+
import { EventTool } from './Logic/EventTool';
|
|
12
|
+
import { HttpTool } from './Logic/HttpTool';
|
|
13
|
+
import { Log } from './Logic/Log';
|
|
14
|
+
import { SyncQueueTool } from './Logic/SyncQueueTool';
|
|
15
|
+
import { MongoCacheService } from './Service/MongoCacheService';
|
|
16
|
+
import { ProtoFactory } from './SocketServer/ProtoFilter/ProtoFactory';
|
|
17
|
+
import { AlipayTool } from './ThirdParty/AlipayTool';
|
|
18
|
+
import { SMSTool } from './ThirdParty/Alisms';
|
|
19
|
+
import { AppleTool } from './ThirdParty/AppleTool';
|
|
20
|
+
import { EmailTool } from './ThirdParty/EmailTool';
|
|
21
|
+
import { QQTool } from './ThirdParty/QQTool';
|
|
22
|
+
import { QiniuTool } from './ThirdParty/QiniuTool';
|
|
23
|
+
import { WechatTool } from './ThirdParty/WechatTool';
|
|
24
|
+
import { ControllerManager } from './WebServer/Engine/ControllerManager';
|
|
25
|
+
import { CgServer } from './cgserver';
|
|
26
|
+
export declare class global {
|
|
27
|
+
static gMongoServiceMgr: MongoServiceManager;
|
|
28
|
+
static gCgServer: CgServer;
|
|
29
|
+
static gDbCache: DBCache;
|
|
30
|
+
static gTriggerMgr: TriggerManager;
|
|
31
|
+
static gServerCfg: IServerConfig;
|
|
32
|
+
static gMongoMgr: MongoManager;
|
|
33
|
+
static gMSSqlMgr: MSSqlManager;
|
|
34
|
+
static gMysqlMgr: MysqlManager;
|
|
35
|
+
static gRedisMgr: RedisManager;
|
|
36
|
+
static gCacheTool: CacheTool;
|
|
37
|
+
static gHttpTool: HttpTool;
|
|
38
|
+
static gLog: Log;
|
|
39
|
+
static gSyncQueueTool: SyncQueueTool;
|
|
40
|
+
static gEventTool: EventTool;
|
|
41
|
+
static gByteTool: ByteTool;
|
|
42
|
+
static gSmsTool: SMSTool;
|
|
43
|
+
static gEmailTool: EmailTool;
|
|
44
|
+
static gQiniuTool: QiniuTool;
|
|
45
|
+
static gQQTool: QQTool;
|
|
46
|
+
static gWechatTool: WechatTool;
|
|
47
|
+
static gWechatOATool: WechatTool;
|
|
48
|
+
static gAlipayTool: AlipayTool;
|
|
49
|
+
static gAppleTool: AppleTool;
|
|
50
|
+
static gProtoFactory: ProtoFactory;
|
|
51
|
+
static gCtrMgr: ControllerManager;
|
|
52
|
+
static gMongoCacheSer: MongoCacheService;
|
|
53
|
+
}
|
|
@@ -1,91 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
export { AiObject } from "./AI/AiObject";
|
|
4
|
-
export { AStar } from "./AI/Astar";
|
|
5
|
-
export { BehaviorAI } from "./AI/BehaviorAI";
|
|
6
|
-
export { Entity } from "./AI/Entity";
|
|
7
|
-
export { Point } from "./AI/Point";
|
|
8
|
-
export { Trigger, GTriggerMgr } from "./AI/TriggerMgr";
|
|
9
|
-
export { FrameworkErrorCode } from "./Config/_error_";
|
|
10
|
-
export { Config } from "./Config/Config";
|
|
11
|
-
export { FrameworkConfig } from "./Config/FrameworkConfig";
|
|
12
|
-
export { IServerConfig, GServerCfg } from "./Config/IServerConfig";
|
|
13
|
-
export { core } from "./Core/Core";
|
|
14
|
-
export { Timer } from "./Core/Timer";
|
|
15
|
-
export { AutoIncrement } from "./Database/Decorator/AutoIncrement";
|
|
16
|
-
export { NotNull } from './Database/Decorator/NotNull';
|
|
17
|
-
export { PrimaryKey } from './Database/Decorator/PrimaryKey';
|
|
18
|
-
export { Property } from './Database/Decorator/Property';
|
|
19
|
-
export { Table } from './Database/Decorator/Table';
|
|
20
|
-
export { Type } from './Database/Decorator/Type';
|
|
21
|
-
export { EPropertyType } from './Database/Decorator/Property';
|
|
22
|
-
export { MongoBaseService } from './Database/MongoBaseService';
|
|
23
|
-
export { BaseModel as MysqlBaseModel } from './Database/MysqlBaseService';
|
|
24
|
-
export { MongoBaseModel, MongoManager, MongoExt } from './Database/MongoManager';
|
|
25
|
-
export { GMongoMgr } from './Database/MongoManager';
|
|
26
|
-
export { GMSSqlMgr } from './Database/MSSqlManager';
|
|
27
|
-
export { MysqlBaseService } from './Database/MysqlBaseService';
|
|
28
|
-
export { GMysqlMgr, SqlReturn, SqlReturns } from './Database/MysqlManager';
|
|
29
|
-
export { GRedisMgr, RedisManager } from './Database/RedisManager';
|
|
30
|
-
export { GCacheTool } from './Logic/CacheTool';
|
|
31
|
-
export { GHttpTool } from './Logic/HttpTool';
|
|
32
|
-
export { GLog } from './Logic/Log';
|
|
33
|
-
export { ERoleGroup, EUserState, EAccountFrom } from './Service/ini';
|
|
34
|
-
export { MysqlAccountService } from './Service/MysqlAccountService';
|
|
35
|
-
export { MongoAccountService } from './Service/MongoAccountService';
|
|
36
|
-
export { MysqlUserService } from './Service/MysqlUserService';
|
|
37
|
-
export { UserService as MongoUserService } from './Service/MongoUserService';
|
|
38
|
-
export { MysqlUserModel } from './Service/MysqlUserService';
|
|
39
|
-
export { MongoUserModel } from './Service/MongoUserService';
|
|
40
|
-
export { GMongoCacheSer, MongoCacheModel } from './Service/MongoCacheService';
|
|
41
|
-
export { DbConfig } from './Config/DbConfig';
|
|
42
|
-
export { MSSqlConfig } from './Database/MSSqlManager';
|
|
43
|
-
export { MongoConfig } from './Database/MongoManager';
|
|
44
|
-
export { MysqlConfig } from './Database/MysqlManager';
|
|
45
|
-
export { RedisConfig } from './Database/RedisManager';
|
|
46
|
-
export { GProtoFactory } from './SocketServer/ProtoFilter/ProtoFactory';
|
|
47
|
-
export { EProtoType } from './SocketServer/ProtoFilter/IProtoFilter';
|
|
48
|
-
export { GoogleProtoFilter } from './SocketServer/ProtoFilter/GoogleProtoFilter';
|
|
49
|
-
export { IProtoFilter } from './SocketServer/ProtoFilter/IProtoFilter';
|
|
50
|
-
export { JsonProtoFilter } from './SocketServer/ProtoFilter/JsonProtoFilter';
|
|
51
|
-
export { IServerWebSocket } from './SocketServer/IServerWebSocket';
|
|
52
|
-
export { IClientWebSocket } from './SocketServer/IClientWebSocket';
|
|
53
|
-
export { ISocketServer } from './SocketServer/ISocketServer';
|
|
54
|
-
export { IWebSocket, BaseMsg } from './SocketServer/IWebSocket';
|
|
55
|
-
export { GAlipayTool, AlipayResult, AlipayCallBack } from './ThirdParty/AlipayTool';
|
|
56
|
-
export { GSmsTool } from './ThirdParty/Alisms';
|
|
57
|
-
export { GAppleTool } from './ThirdParty/AppleTool';
|
|
58
|
-
export { GEmailTool } from './ThirdParty/EmailTool';
|
|
59
|
-
export { GQiniuTool } from './ThirdParty/QiniuTool';
|
|
60
|
-
export { GQQTool } from './ThirdParty/QQTool';
|
|
61
|
-
export { GWechatOATool } from './ThirdParty/WechatOATool';
|
|
62
|
-
export { GWechatTool } from './ThirdParty/WechatTool';
|
|
63
|
-
export { IWebServer } from './WebServer/IWebServer';
|
|
64
|
-
export { BaseController } from './WebServer/Controller/BaseController';
|
|
65
|
-
export { MysqlBaseUserController } from './WebServer/Controller/MysqlBaseUserController';
|
|
66
|
-
export { MongoBaseUserController } from './WebServer/Controller/MongoBaseUserController';
|
|
67
|
-
export { MysqlAccountModel } from './Service/MysqlAccountService';
|
|
68
|
-
export { MongoAccountModel } from './Service/MongoAccountService';
|
|
69
|
-
export { AdminValidate } from './Decorator/AdminValidate';
|
|
70
|
-
export { AuthorityValidate } from './Decorator/AuthorityValidate';
|
|
71
|
-
export { CreatorValidate } from './Decorator/CreatorValidate';
|
|
72
|
-
export { JsonAdminValidate } from './Decorator/JsonAdminValidate';
|
|
73
|
-
export { JsonAuthorityValidate } from './Decorator/JsonAuthorityValidate';
|
|
74
|
-
export { JsonCreatorValidate } from './Decorator/JsonCreatorValidate';
|
|
75
|
-
export { GCtrMgr } from './WebServer/Engine/ControllerManager';
|
|
76
|
-
export { Engine } from './WebServer/Engine/Engine';
|
|
77
|
-
export { RazorJs } from './WebServer/Engine/RazorJs';
|
|
78
|
-
export { Request } from './WebServer/Engine/Request';
|
|
79
|
-
export { Response } from './WebServer/Engine/Response';
|
|
80
|
-
export { WebServerConfig } from './Config/FrameworkConfig';
|
|
81
|
-
export { GSyncQueueTool } from './Logic/SyncQueueTool';
|
|
82
|
-
export { GEventTool } from './Logic/EventTool';
|
|
83
|
-
export { EAccountState } from './Service/ini';
|
|
84
|
-
export { RpcMsg as RpcBaseMsg } from './SocketServer/IRpc';
|
|
85
|
-
export { Rpc } from './ThirdParty/Rpc';
|
|
86
|
-
export { CgMq, RpcConfig } from './ThirdParty/CgMq';
|
|
87
|
-
export { IRpcServerWebSocket } from './SocketServer/IRpcServerWebSocket';
|
|
88
|
-
export { IRpcClientWebSocket } from './SocketServer/IRpcClientWebSocket';
|
|
89
|
-
export { SyncCall, SyncCall2 } from './Decorator/SyncCall';
|
|
90
|
-
export { SyncCallServer, SyncCallServer2 } from './Decorator/SyncCallServer';
|
|
91
|
-
export { GByteTool } from './Core/ByteTool';
|
|
1
|
+
import * as cg from "./index_export_";
|
|
2
|
+
export { cg };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export { MongoServiceManager } from './Database/Mongo/MongoServiceManager';
|
|
2
|
+
export { AiObject } from "./AI/AiObject";
|
|
3
|
+
export { AStar } from "./AI/Astar";
|
|
4
|
+
export { BehaviorAI } from "./AI/BehaviorAI";
|
|
5
|
+
export { Entity } from "./AI/Entity";
|
|
6
|
+
export { Point } from "./AI/Point";
|
|
7
|
+
export { Trigger } from "./AI/TriggerMgr";
|
|
8
|
+
export { FrameworkErrorCode } from "./Config/_error_";
|
|
9
|
+
export { Config } from "./Config/Config";
|
|
10
|
+
export { FrameworkConfig } from "./Config/FrameworkConfig";
|
|
11
|
+
export { IServerConfig } from "./Config/IServerConfig";
|
|
12
|
+
export { core } from "./Core/Core";
|
|
13
|
+
export { Timer } from "./Core/Timer";
|
|
14
|
+
export { AutoIncrement } from "./Database/Decorator/AutoIncrement";
|
|
15
|
+
export { NotNull } from './Database/Decorator/NotNull';
|
|
16
|
+
export { PrimaryKey } from './Database/Decorator/PrimaryKey';
|
|
17
|
+
export { Property } from './Database/Decorator/Property';
|
|
18
|
+
export { Table } from './Database/Decorator/Table';
|
|
19
|
+
export { Type } from './Database/Decorator/Type';
|
|
20
|
+
export { EPropertyType } from './Database/Decorator/Property';
|
|
21
|
+
export { MongoBaseService } from './Database/Mongo/MongoBaseService';
|
|
22
|
+
export { BaseModel as MysqlBaseModel } from './Database/MysqlBaseService';
|
|
23
|
+
export { MongoBaseModel, MongoManager, MongoExt } from './Database/Mongo/MongoManager';
|
|
24
|
+
export { MysqlBaseService } from './Database/MysqlBaseService';
|
|
25
|
+
export { SqlReturn, SqlReturns } from './Database/MysqlManager';
|
|
26
|
+
export { RedisManager } from './Database/RedisManager';
|
|
27
|
+
export { ERoleGroup, EUserState, EAccountFrom } from './Service/ini';
|
|
28
|
+
export { MysqlAccountService } from './Service/MysqlAccountService';
|
|
29
|
+
export { MongoAccountService } from './Service/MongoAccountService';
|
|
30
|
+
export { MysqlUserService } from './Service/MysqlUserService';
|
|
31
|
+
export { MongoUserService } from './Service/MongoUserService';
|
|
32
|
+
export { MysqlUserModel } from './Service/MysqlUserService';
|
|
33
|
+
export { MongoUserModel } from './Service/MongoUserService';
|
|
34
|
+
export { MongoCacheModel } from './Service/MongoCacheService';
|
|
35
|
+
export { DbConfig } from './Config/DbConfig';
|
|
36
|
+
export { MSSqlConfig } from './Database/MSSqlManager';
|
|
37
|
+
export { MongoConfig } from './Database/Mongo/MongoManager';
|
|
38
|
+
export { MysqlConfig } from './Database/MysqlManager';
|
|
39
|
+
export { RedisConfig } from './Database/RedisManager';
|
|
40
|
+
export { EProtoType } from './SocketServer/ProtoFilter/IProtoFilter';
|
|
41
|
+
export { GoogleProtoFilter } from './SocketServer/ProtoFilter/GoogleProtoFilter';
|
|
42
|
+
export { IProtoFilter } from './SocketServer/ProtoFilter/IProtoFilter';
|
|
43
|
+
export { JsonProtoFilter } from './SocketServer/ProtoFilter/JsonProtoFilter';
|
|
44
|
+
export { IServerWebSocket } from './SocketServer/IServerWebSocket';
|
|
45
|
+
export { IClientWebSocket } from './SocketServer/IClientWebSocket';
|
|
46
|
+
export { ISocketServer } from './SocketServer/ISocketServer';
|
|
47
|
+
export { IWebSocket, BaseMsg } from './SocketServer/IWebSocket';
|
|
48
|
+
export { AlipayResult, AlipayCallBack } from './ThirdParty/AlipayTool';
|
|
49
|
+
export { IWebServer } from './WebServer/IWebServer';
|
|
50
|
+
export { BaseController } from './WebServer/Controller/BaseController';
|
|
51
|
+
export { MysqlBaseUserController } from './WebServer/Controller/MysqlBaseUserController';
|
|
52
|
+
export { MongoBaseUserController } from './WebServer/Controller/MongoBaseUserController';
|
|
53
|
+
export { MysqlAccountModel } from './Service/MysqlAccountService';
|
|
54
|
+
export { MongoAccountModel } from './Service/MongoAccountService';
|
|
55
|
+
export { AdminValidate } from './Decorator/AdminValidate';
|
|
56
|
+
export { AuthorityValidate } from './Decorator/AuthorityValidate';
|
|
57
|
+
export { CreatorValidate } from './Decorator/CreatorValidate';
|
|
58
|
+
export { JsonAdminValidate } from './Decorator/JsonAdminValidate';
|
|
59
|
+
export { JsonAuthorityValidate } from './Decorator/JsonAuthorityValidate';
|
|
60
|
+
export { JsonCreatorValidate } from './Decorator/JsonCreatorValidate';
|
|
61
|
+
export { Engine } from './WebServer/Engine/Engine';
|
|
62
|
+
export { RazorJs } from './WebServer/Engine/RazorJs';
|
|
63
|
+
export { Request } from './WebServer/Engine/Request';
|
|
64
|
+
export { Response } from './WebServer/Engine/Response';
|
|
65
|
+
export { WebServerConfig } from './Config/FrameworkConfig';
|
|
66
|
+
export { EAccountState } from './Service/ini';
|
|
67
|
+
export { RpcMsg as RpcBaseMsg } from './SocketServer/IRpc';
|
|
68
|
+
export { Rpc } from './ThirdParty/Rpc';
|
|
69
|
+
export { CgMq, RpcConfig } from './ThirdParty/CgMq';
|
|
70
|
+
export { IRpcServerWebSocket } from './SocketServer/IRpcServerWebSocket';
|
|
71
|
+
export { IRpcClientWebSocket } from './SocketServer/IRpcClientWebSocket';
|
|
72
|
+
export { SyncCall, SyncCall2 } from './Decorator/SyncCall';
|
|
73
|
+
export { SyncCallServer, SyncCallServer2 } from './Decorator/SyncCallServer';
|
|
74
|
+
export { global } from "./global";
|