@common_ch/common 1.0.232 → 1.0.234
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/build/events/portal/ai-option/ai-option-set-default-show-event.d.ts +8 -0
- package/build/events/portal/ai-option/ai-option-set-default-show-event.js +2 -0
- package/build/events/portal/ai-option/ai-option-unset-defaultShow-event.d.ts +8 -0
- package/build/events/portal/ai-option/ai-option-unset-defaultShow-event.js +2 -0
- package/build/events/subjects.d.ts +5 -3
- package/build/events/subjects.js +5 -3
- package/build/index.d.ts +2 -0
- package/build/index.js +2 -0
- package/build/models/app/ai-option.d.ts +2 -0
- package/build/models/app/ai-option.js +5 -0
- package/package.json +1 -1
|
@@ -20,12 +20,14 @@ export declare enum Subjects {
|
|
|
20
20
|
OrgUpdatedInPortal = "org:updated-in-portal",
|
|
21
21
|
AiCreated = "ai:created",
|
|
22
22
|
AiUpdated = "ai:updated",
|
|
23
|
-
AiOptionChangeStatus = "ai-option:changeStatus",
|
|
24
|
-
AiOptionCreated = "ai-option:created",
|
|
25
|
-
AiOptionUpdated = "ai-option:updated",
|
|
26
23
|
AiChangeStatus = "ai:changeStatus",
|
|
27
24
|
AiSetDefaultShow = "ai:set-default-show",
|
|
28
25
|
AiUnSetDefaultShow = "ai:unset-default-show",
|
|
26
|
+
AiOptionSetDefaultShow = "ai-option:set-default-show",
|
|
27
|
+
AiOptionUnSetDefaultShow = "ai-option:unset-default-show",
|
|
28
|
+
AiOptionChangeStatus = "ai-option:changeStatus",
|
|
29
|
+
AiOptionCreated = "ai-option:created",
|
|
30
|
+
AiOptionUpdated = "ai-option:updated",
|
|
29
31
|
BlogCreated = "blog:created",
|
|
30
32
|
BlogUpdated = "blog:updated",
|
|
31
33
|
BlogChangeStatus = "blog:change-status",
|
package/build/events/subjects.js
CHANGED
|
@@ -24,12 +24,14 @@ var Subjects;
|
|
|
24
24
|
Subjects["OrgUpdatedInPortal"] = "org:updated-in-portal";
|
|
25
25
|
Subjects["AiCreated"] = "ai:created";
|
|
26
26
|
Subjects["AiUpdated"] = "ai:updated";
|
|
27
|
-
Subjects["AiOptionChangeStatus"] = "ai-option:changeStatus";
|
|
28
|
-
Subjects["AiOptionCreated"] = "ai-option:created";
|
|
29
|
-
Subjects["AiOptionUpdated"] = "ai-option:updated";
|
|
30
27
|
Subjects["AiChangeStatus"] = "ai:changeStatus";
|
|
31
28
|
Subjects["AiSetDefaultShow"] = "ai:set-default-show";
|
|
32
29
|
Subjects["AiUnSetDefaultShow"] = "ai:unset-default-show";
|
|
30
|
+
Subjects["AiOptionSetDefaultShow"] = "ai-option:set-default-show";
|
|
31
|
+
Subjects["AiOptionUnSetDefaultShow"] = "ai-option:unset-default-show";
|
|
32
|
+
Subjects["AiOptionChangeStatus"] = "ai-option:changeStatus";
|
|
33
|
+
Subjects["AiOptionCreated"] = "ai-option:created";
|
|
34
|
+
Subjects["AiOptionUpdated"] = "ai-option:updated";
|
|
33
35
|
Subjects["BlogCreated"] = "blog:created";
|
|
34
36
|
Subjects["BlogUpdated"] = "blog:updated";
|
|
35
37
|
Subjects["BlogChangeStatus"] = "blog:change-status";
|
package/build/index.d.ts
CHANGED
|
@@ -31,6 +31,8 @@ export * from './events/portal/ai/ai-unset-defaultShow-event';
|
|
|
31
31
|
export * from './events/portal/ai-option/ai-created-event';
|
|
32
32
|
export * from './events/portal/ai-option/ai-option-changeStatus-event';
|
|
33
33
|
export * from './events/portal/ai-option/ai-updated-event';
|
|
34
|
+
export * from './events/portal/ai-option/ai-option-set-default-show-event';
|
|
35
|
+
export * from './events/portal/ai-option/ai-option-unset-defaultShow-event';
|
|
34
36
|
export * from './events/portal/user/user-updated-event';
|
|
35
37
|
export * from './events/portal/user/user-change-status-event';
|
|
36
38
|
export * from './events/portal/user/user-updated-wallet-event';
|
package/build/index.js
CHANGED
|
@@ -57,6 +57,8 @@ __exportStar(require("./events/portal/ai/ai-unset-defaultShow-event"), exports);
|
|
|
57
57
|
__exportStar(require("./events/portal/ai-option/ai-created-event"), exports);
|
|
58
58
|
__exportStar(require("./events/portal/ai-option/ai-option-changeStatus-event"), exports);
|
|
59
59
|
__exportStar(require("./events/portal/ai-option/ai-updated-event"), exports);
|
|
60
|
+
__exportStar(require("./events/portal/ai-option/ai-option-set-default-show-event"), exports);
|
|
61
|
+
__exportStar(require("./events/portal/ai-option/ai-option-unset-defaultShow-event"), exports);
|
|
60
62
|
__exportStar(require("./events/portal/user/user-updated-event"), exports);
|
|
61
63
|
__exportStar(require("./events/portal/user/user-change-status-event"), exports);
|
|
62
64
|
__exportStar(require("./events/portal/user/user-updated-wallet-event"), exports);
|
|
@@ -5,6 +5,7 @@ export interface AiOptionAttrs {
|
|
|
5
5
|
name: string;
|
|
6
6
|
image?: string;
|
|
7
7
|
description?: string;
|
|
8
|
+
defaultShow?: boolean;
|
|
8
9
|
status?: AiOptionStatusEnum;
|
|
9
10
|
field: AiOptionFieldEnum;
|
|
10
11
|
aiId: string;
|
|
@@ -22,6 +23,7 @@ export interface AiOptionDoc extends mongoose.Document {
|
|
|
22
23
|
status: AiOptionStatusEnum;
|
|
23
24
|
version: number;
|
|
24
25
|
image?: string;
|
|
26
|
+
defaultShow?: boolean;
|
|
25
27
|
description?: string;
|
|
26
28
|
createdAt?: number;
|
|
27
29
|
updatedAt?: number;
|