@bearei/server-common 0.0.184 → 0.0.186
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/app.enum.d.ts
CHANGED
package/dist/app.enum.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.Order = exports.Action = exports.ActionResult = exports.Language = exports.EntityStatus = void 0;
|
|
4
4
|
var EntityStatus;
|
|
5
5
|
(function (EntityStatus) {
|
|
6
6
|
EntityStatus["SOFT_REMOVED"] = "SOFT_REMOVED";
|
|
@@ -32,10 +32,4 @@ var Order;
|
|
|
32
32
|
Order["ASC"] = "ASC";
|
|
33
33
|
Order["DESC"] = "DESC";
|
|
34
34
|
})(Order || (exports.Order = Order = {}));
|
|
35
|
-
var EmailTemplate;
|
|
36
|
-
(function (EmailTemplate) {
|
|
37
|
-
EmailTemplate["RESET_PASSWORD_CAPTCHA"] = "RESET_PASSWORD_CAPTCHA";
|
|
38
|
-
EmailTemplate["SIGN_IN_CAPTCHA"] = "SIGN_IN_CAPTCHA";
|
|
39
|
-
EmailTemplate["SIGN_UP_CAPTCHA"] = "SIGN_UP_CAPTCHA";
|
|
40
|
-
})(EmailTemplate || (exports.EmailTemplate = EmailTemplate = {}));
|
|
41
35
|
//# sourceMappingURL=app.enum.js.map
|
package/dist/app.enum.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.enum.js","sourceRoot":"","sources":["../src/app.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAGX;AAHD,WAAY,YAAY;IAChB,6CAA6B,CAAA;IAC7B,qCAAqB,CAAA;AAC7B,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB;AAED,IAAY,QAGX;AAHD,WAAY,QAAQ;IACZ,2BAAe,CAAA;IACf,2BAAe,CAAA;AACvB,CAAC,EAHW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AW,CAAA;IACX,sBAAa,CAAA;AACrB,CAAC,EAHW,KAAK,qBAAL,KAAK,QAGhB"}
|
package/dist/app.interface.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
2
|
import { CommonEntity } from './app.entity';
|
|
3
|
-
import { Action, ActionResult, Language } from './app.enum';
|
|
4
3
|
export type CustomHeaders = Record<'x-ei-client' | 'x-ei-domain-id' | 'x-ei-internal-authorization' | 'x-ei-ip' | 'x-ei-subject' | 'x-ei-subscription', string>;
|
|
5
4
|
export type RequestHeaders = Record<string, string> | CustomHeaders | AxiosRequestConfig['headers'];
|
|
6
5
|
export interface FindResult<T extends CommonEntity> {
|
|
@@ -9,67 +8,3 @@ export interface FindResult<T extends CommonEntity> {
|
|
|
9
8
|
results: T[];
|
|
10
9
|
total: string;
|
|
11
10
|
}
|
|
12
|
-
export declare class UserEntity extends CommonEntity {
|
|
13
|
-
avatar: string;
|
|
14
|
-
closedAt: Date;
|
|
15
|
-
email: string;
|
|
16
|
-
fullMobile: string;
|
|
17
|
-
mobile: string;
|
|
18
|
-
nickname: string;
|
|
19
|
-
password: string;
|
|
20
|
-
passwordExpiredAt: Date;
|
|
21
|
-
protected: boolean;
|
|
22
|
-
regionCode: string;
|
|
23
|
-
}
|
|
24
|
-
export declare class BookmarkEntity extends CommonEntity {
|
|
25
|
-
description: string;
|
|
26
|
-
name: string;
|
|
27
|
-
uri: string;
|
|
28
|
-
userId: string;
|
|
29
|
-
}
|
|
30
|
-
export declare class CartonEntity extends CommonEntity {
|
|
31
|
-
description: string;
|
|
32
|
-
icon: string;
|
|
33
|
-
name: string;
|
|
34
|
-
userId: string;
|
|
35
|
-
}
|
|
36
|
-
export declare class TagEntity extends CommonEntity {
|
|
37
|
-
description: string;
|
|
38
|
-
icon: string;
|
|
39
|
-
name: string;
|
|
40
|
-
userId: string;
|
|
41
|
-
}
|
|
42
|
-
export declare class EmailEntity extends CommonEntity {
|
|
43
|
-
content: string;
|
|
44
|
-
domainId: string;
|
|
45
|
-
expireTime: number;
|
|
46
|
-
fromEmail: string;
|
|
47
|
-
fromNickname: string;
|
|
48
|
-
headline: string;
|
|
49
|
-
language: Language;
|
|
50
|
-
signOff: string;
|
|
51
|
-
subject: string;
|
|
52
|
-
supporting: string;
|
|
53
|
-
template: string;
|
|
54
|
-
}
|
|
55
|
-
export declare class ProjectEntity extends CommonEntity {
|
|
56
|
-
description: string;
|
|
57
|
-
logo: string;
|
|
58
|
-
name: string;
|
|
59
|
-
protected: boolean;
|
|
60
|
-
url: string;
|
|
61
|
-
}
|
|
62
|
-
export declare class ActionLogEntity extends CommonEntity {
|
|
63
|
-
action: Action;
|
|
64
|
-
apiName: string;
|
|
65
|
-
client: string;
|
|
66
|
-
data: string;
|
|
67
|
-
domainId: string;
|
|
68
|
-
ip: string;
|
|
69
|
-
message: string;
|
|
70
|
-
raw: string;
|
|
71
|
-
result: ActionResult;
|
|
72
|
-
serviceName: string;
|
|
73
|
-
userAgent: string;
|
|
74
|
-
userId: string;
|
|
75
|
-
}
|
package/dist/app.interface.js
CHANGED
|
@@ -1,76 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ActionLogEntity = exports.ProjectEntity = exports.EmailEntity = exports.TagEntity = exports.CartonEntity = exports.BookmarkEntity = exports.UserEntity = void 0;
|
|
4
|
-
const app_entity_1 = require("./app.entity");
|
|
5
|
-
class UserEntity extends app_entity_1.CommonEntity {
|
|
6
|
-
avatar;
|
|
7
|
-
closedAt;
|
|
8
|
-
email;
|
|
9
|
-
fullMobile;
|
|
10
|
-
mobile;
|
|
11
|
-
nickname;
|
|
12
|
-
password;
|
|
13
|
-
passwordExpiredAt;
|
|
14
|
-
protected;
|
|
15
|
-
regionCode;
|
|
16
|
-
}
|
|
17
|
-
exports.UserEntity = UserEntity;
|
|
18
|
-
class BookmarkEntity extends app_entity_1.CommonEntity {
|
|
19
|
-
description;
|
|
20
|
-
name;
|
|
21
|
-
uri;
|
|
22
|
-
userId;
|
|
23
|
-
}
|
|
24
|
-
exports.BookmarkEntity = BookmarkEntity;
|
|
25
|
-
class CartonEntity extends app_entity_1.CommonEntity {
|
|
26
|
-
description;
|
|
27
|
-
icon;
|
|
28
|
-
name;
|
|
29
|
-
userId;
|
|
30
|
-
}
|
|
31
|
-
exports.CartonEntity = CartonEntity;
|
|
32
|
-
class TagEntity extends app_entity_1.CommonEntity {
|
|
33
|
-
description;
|
|
34
|
-
icon;
|
|
35
|
-
name;
|
|
36
|
-
userId;
|
|
37
|
-
}
|
|
38
|
-
exports.TagEntity = TagEntity;
|
|
39
|
-
class EmailEntity extends app_entity_1.CommonEntity {
|
|
40
|
-
content;
|
|
41
|
-
domainId;
|
|
42
|
-
expireTime;
|
|
43
|
-
fromEmail;
|
|
44
|
-
fromNickname;
|
|
45
|
-
headline;
|
|
46
|
-
language;
|
|
47
|
-
signOff;
|
|
48
|
-
subject;
|
|
49
|
-
supporting;
|
|
50
|
-
template;
|
|
51
|
-
}
|
|
52
|
-
exports.EmailEntity = EmailEntity;
|
|
53
|
-
class ProjectEntity extends app_entity_1.CommonEntity {
|
|
54
|
-
description;
|
|
55
|
-
logo;
|
|
56
|
-
name;
|
|
57
|
-
protected;
|
|
58
|
-
url;
|
|
59
|
-
}
|
|
60
|
-
exports.ProjectEntity = ProjectEntity;
|
|
61
|
-
class ActionLogEntity extends app_entity_1.CommonEntity {
|
|
62
|
-
action;
|
|
63
|
-
apiName;
|
|
64
|
-
client;
|
|
65
|
-
data;
|
|
66
|
-
domainId;
|
|
67
|
-
ip;
|
|
68
|
-
message;
|
|
69
|
-
raw;
|
|
70
|
-
result;
|
|
71
|
-
serviceName;
|
|
72
|
-
userAgent;
|
|
73
|
-
userId;
|
|
74
|
-
}
|
|
75
|
-
exports.ActionLogEntity = ActionLogEntity;
|
|
76
3
|
//# sourceMappingURL=app.interface.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.interface.js","sourceRoot":"","sources":["../src/app.interface.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.interface.js","sourceRoot":"","sources":["../src/app.interface.ts"],"names":[],"mappings":""}
|