@hed-hog/core 0.0.328 → 0.0.329
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/ai/ai.service.d.ts +1 -1
- package/dist/auth/auth.controller.d.ts +2 -2
- package/dist/auth/auth.service.d.ts +2 -2
- package/dist/core/system.controller.d.ts +1 -1
- package/dist/core/system.service.d.ts +1 -1
- package/dist/core.module.d.ts.map +1 -1
- package/dist/core.module.js +4 -0
- package/dist/core.module.js.map +1 -1
- package/dist/dashboard/dashboard/dashboard.controller.d.ts +21 -21
- package/dist/dashboard/dashboard/dashboard.service.d.ts +21 -21
- package/dist/dashboard/dashboard-component/dashboard-component.controller.d.ts +11 -11
- package/dist/dashboard/dashboard-component/dashboard-component.service.d.ts +11 -11
- package/dist/dashboard/dashboard-component-role/dashboard-component-role.controller.d.ts +5 -5
- package/dist/dashboard/dashboard-component-role/dashboard-component-role.service.d.ts +5 -5
- package/dist/dashboard/dashboard-core/dashboard-core.controller.d.ts +4 -4
- package/dist/dashboard/dashboard-core/dashboard-core.service.d.ts +4 -4
- package/dist/dashboard/dashboard-item/dashboard-item.controller.d.ts +4 -4
- package/dist/dashboard/dashboard-item/dashboard-item.service.d.ts +4 -4
- package/dist/dashboard/dashboard-role/dashboard-role.controller.d.ts +3 -3
- package/dist/dashboard/dashboard-role/dashboard-role.service.d.ts +3 -3
- package/dist/file/file.controller.d.ts +6 -6
- package/dist/file/file.service.d.ts +12 -12
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/mail/mail.controller.d.ts +2 -2
- package/dist/mail/mail.service.d.ts +2 -2
- package/dist/mail-sent/mail-sent.controller.d.ts +3 -3
- package/dist/mail-sent/mail-sent.service.d.ts +3 -3
- package/dist/mcp/decorators/mcp-tool.decorator.d.ts +4 -0
- package/dist/mcp/decorators/mcp-tool.decorator.d.ts.map +1 -0
- package/dist/mcp/decorators/mcp-tool.decorator.js +8 -0
- package/dist/mcp/decorators/mcp-tool.decorator.js.map +1 -0
- package/dist/mcp/guards/mcp-auth.guard.d.ts +9 -0
- package/dist/mcp/guards/mcp-auth.guard.d.ts.map +1 -0
- package/dist/mcp/guards/mcp-auth.guard.js +41 -0
- package/dist/mcp/guards/mcp-auth.guard.js.map +1 -0
- package/dist/mcp/guards/mcp-permission.guard.d.ts +8 -0
- package/dist/mcp/guards/mcp-permission.guard.d.ts.map +1 -0
- package/dist/mcp/guards/mcp-permission.guard.js +57 -0
- package/dist/mcp/guards/mcp-permission.guard.js.map +1 -0
- package/dist/mcp/interfaces/mcp-tool-definition.interface.d.ts +7 -0
- package/dist/mcp/interfaces/mcp-tool-definition.interface.d.ts.map +1 -0
- package/dist/mcp/interfaces/mcp-tool-definition.interface.js +3 -0
- package/dist/mcp/interfaces/mcp-tool-definition.interface.js.map +1 -0
- package/dist/mcp/mcp-audit.service.d.ts +17 -0
- package/dist/mcp/mcp-audit.service.d.ts.map +1 -0
- package/dist/mcp/mcp-audit.service.js +46 -0
- package/dist/mcp/mcp-audit.service.js.map +1 -0
- package/dist/mcp/mcp-registry.service.d.ts +21 -0
- package/dist/mcp/mcp-registry.service.d.ts.map +1 -0
- package/dist/mcp/mcp-registry.service.js +69 -0
- package/dist/mcp/mcp-registry.service.js.map +1 -0
- package/dist/mcp/mcp-server.service.d.ts +12 -0
- package/dist/mcp/mcp-server.service.d.ts.map +1 -0
- package/dist/mcp/mcp-server.service.js +94 -0
- package/dist/mcp/mcp-server.service.js.map +1 -0
- package/dist/mcp/mcp.controller.d.ts +8 -0
- package/dist/mcp/mcp.controller.d.ts.map +1 -0
- package/dist/mcp/mcp.controller.js +54 -0
- package/dist/mcp/mcp.controller.js.map +1 -0
- package/dist/mcp/mcp.module.d.ts +3 -0
- package/dist/mcp/mcp.module.d.ts.map +1 -0
- package/dist/mcp/mcp.module.js +49 -0
- package/dist/mcp/mcp.module.js.map +1 -0
- package/dist/mcp/tools/core-settings.mcp-tools.d.ts +12 -0
- package/dist/mcp/tools/core-settings.mcp-tools.d.ts.map +1 -0
- package/dist/mcp/tools/core-settings.mcp-tools.js +66 -0
- package/dist/mcp/tools/core-settings.mcp-tools.js.map +1 -0
- package/dist/mcp/tools/core-users.mcp-tools.d.ts +55 -0
- package/dist/mcp/tools/core-users.mcp-tools.d.ts.map +1 -0
- package/dist/mcp/tools/core-users.mcp-tools.js +295 -0
- package/dist/mcp/tools/core-users.mcp-tools.js.map +1 -0
- package/dist/mcp/types/mcp-context.type.d.ts +7 -0
- package/dist/mcp/types/mcp-context.type.d.ts.map +1 -0
- package/dist/mcp/types/mcp-context.type.js +3 -0
- package/dist/mcp/types/mcp-context.type.js.map +1 -0
- package/dist/mcp-chat/dto/create-conversation.dto.d.ts +4 -0
- package/dist/mcp-chat/dto/create-conversation.dto.d.ts.map +1 -0
- package/dist/mcp-chat/dto/create-conversation.dto.js +22 -0
- package/dist/mcp-chat/dto/create-conversation.dto.js.map +1 -0
- package/dist/mcp-chat/dto/send-message.dto.d.ts +4 -0
- package/dist/mcp-chat/dto/send-message.dto.d.ts.map +1 -0
- package/dist/mcp-chat/dto/send-message.dto.js +22 -0
- package/dist/mcp-chat/dto/send-message.dto.js.map +1 -0
- package/dist/mcp-chat/mcp-chat.controller.d.ts +55 -0
- package/dist/mcp-chat/mcp-chat.controller.d.ts.map +1 -0
- package/dist/mcp-chat/mcp-chat.controller.js +90 -0
- package/dist/mcp-chat/mcp-chat.controller.js.map +1 -0
- package/dist/mcp-chat/mcp-chat.module.d.ts +3 -0
- package/dist/mcp-chat/mcp-chat.module.d.ts.map +1 -0
- package/dist/mcp-chat/mcp-chat.module.js +30 -0
- package/dist/mcp-chat/mcp-chat.module.js.map +1 -0
- package/dist/mcp-chat/mcp-chat.service.d.ts +50 -0
- package/dist/mcp-chat/mcp-chat.service.d.ts.map +1 -0
- package/dist/mcp-chat/mcp-chat.service.js +290 -0
- package/dist/mcp-chat/mcp-chat.service.js.map +1 -0
- package/dist/menu/menu.controller.d.ts +3 -3
- package/dist/menu/menu.service.d.ts +3 -3
- package/dist/profile/profile.controller.d.ts +2 -2
- package/dist/profile/profile.service.d.ts +2 -2
- package/dist/route/dto/create.dto.d.ts +6 -2
- package/dist/route/dto/create.dto.d.ts.map +1 -1
- package/dist/route/dto/create.dto.js +19 -1
- package/dist/route/dto/create.dto.js.map +1 -1
- package/dist/route/dto/update.dto.d.ts +4 -0
- package/dist/route/dto/update.dto.d.ts.map +1 -1
- package/dist/route/dto/update.dto.js +19 -3
- package/dist/route/dto/update.dto.js.map +1 -1
- package/dist/route/route.service.d.ts +1 -1
- package/dist/route/route.service.d.ts.map +1 -1
- package/dist/route/route.service.js +18 -11
- package/dist/route/route.service.js.map +1 -1
- package/dist/setting/setting.controller.d.ts +5 -5
- package/dist/setting/setting.service.d.ts +5 -5
- package/dist/user/user.controller.d.ts +3 -3
- package/dist/user/user.service.d.ts +6 -6
- package/hedhog/data/menu.yaml +40 -26
- package/hedhog/data/route.yaml +575 -152
- package/hedhog/frontend/app/mcp_chat/page.tsx.ejs +574 -0
- package/hedhog/frontend/messages/en.json +17 -0
- package/hedhog/frontend/messages/pt.json +17 -0
- package/hedhog/table/mcp_conversation.yaml +12 -0
- package/hedhog/table/mcp_conversation_message.yaml +23 -0
- package/hedhog/table/mcp_tool_call_log.yaml +22 -0
- package/hedhog/table/route.yaml +33 -22
- package/package.json +5 -4
- package/src/core.module.ts +14 -10
- package/src/index.ts +17 -10
- package/src/mcp/decorators/mcp-tool.decorator.ts +7 -0
- package/src/mcp/guards/mcp-auth.guard.ts +32 -0
- package/src/mcp/guards/mcp-permission.guard.ts +51 -0
- package/src/mcp/interfaces/mcp-tool-definition.interface.ts +6 -0
- package/src/mcp/mcp-audit.service.ts +36 -0
- package/src/mcp/mcp-registry.service.ts +69 -0
- package/src/mcp/mcp-server.service.ts +87 -0
- package/src/mcp/mcp.controller.ts +30 -0
- package/src/mcp/mcp.module.ts +36 -0
- package/src/mcp/tools/core-settings.mcp-tools.ts +53 -0
- package/src/mcp/tools/core-users.mcp-tools.ts +267 -0
- package/src/mcp/types/mcp-context.type.ts +6 -0
- package/src/mcp-chat/dto/create-conversation.dto.ts +7 -0
- package/src/mcp-chat/dto/send-message.dto.ts +7 -0
- package/src/mcp-chat/mcp-chat.controller.ts +60 -0
- package/src/mcp-chat/mcp-chat.module.ts +17 -0
- package/src/mcp-chat/mcp-chat.service.ts +332 -0
- package/src/route/dto/create.dto.ts +32 -14
- package/src/route/dto/update.dto.ts +31 -16
- package/src/route/route.service.ts +23 -12
package/dist/ai/ai.service.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ export declare class AiService implements OnModuleInit {
|
|
|
68
68
|
filename: string;
|
|
69
69
|
mimeType: string;
|
|
70
70
|
bytes: number;
|
|
71
|
-
mode: "
|
|
71
|
+
mode: "image" | "text" | "binary" | "pdf-text";
|
|
72
72
|
textLength: number;
|
|
73
73
|
textSample: string;
|
|
74
74
|
sha256: string;
|
|
@@ -20,9 +20,9 @@ export declare class AuthController {
|
|
|
20
20
|
}, locale: string): Promise<{
|
|
21
21
|
requires_password_reset: boolean;
|
|
22
22
|
user_identifier: {
|
|
23
|
-
value: string;
|
|
24
23
|
type: import("@prisma/client").$Enums.user_identifier_type_e66d505520_enum;
|
|
25
24
|
id: number;
|
|
25
|
+
value: string;
|
|
26
26
|
created_at: Date;
|
|
27
27
|
updated_at: Date;
|
|
28
28
|
user_id: number;
|
|
@@ -31,10 +31,10 @@ export declare class AuthController {
|
|
|
31
31
|
}[];
|
|
32
32
|
user_account: {
|
|
33
33
|
id: number;
|
|
34
|
+
email: string | null;
|
|
34
35
|
provider: import("@prisma/client").$Enums.user_account_provider_52222e2ecb_enum;
|
|
35
36
|
created_at: Date;
|
|
36
37
|
updated_at: Date;
|
|
37
|
-
email: string | null;
|
|
38
38
|
user_id: number;
|
|
39
39
|
provider_user_id: string;
|
|
40
40
|
scopes: string | null;
|
|
@@ -82,9 +82,9 @@ export declare class AuthService {
|
|
|
82
82
|
verifyUser(locale: string, userId: number): Promise<{
|
|
83
83
|
requires_password_reset: boolean;
|
|
84
84
|
user_identifier: {
|
|
85
|
-
value: string;
|
|
86
85
|
type: import("@prisma/client").$Enums.user_identifier_type_e66d505520_enum;
|
|
87
86
|
id: number;
|
|
87
|
+
value: string;
|
|
88
88
|
created_at: Date;
|
|
89
89
|
updated_at: Date;
|
|
90
90
|
user_id: number;
|
|
@@ -93,10 +93,10 @@ export declare class AuthService {
|
|
|
93
93
|
}[];
|
|
94
94
|
user_account: {
|
|
95
95
|
id: number;
|
|
96
|
+
email: string | null;
|
|
96
97
|
provider: import("@prisma/client").$Enums.user_account_provider_52222e2ecb_enum;
|
|
97
98
|
created_at: Date;
|
|
98
99
|
updated_at: Date;
|
|
99
|
-
email: string | null;
|
|
100
100
|
user_id: number;
|
|
101
101
|
provider_user_id: string;
|
|
102
102
|
scopes: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.module.d.ts","sourceRoot":"","sources":["../src/core.module.ts"],"names":[],"mappings":"AAMA,OAAO,EAA8B,kBAAkB,EAAU,UAAU,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"core.module.d.ts","sourceRoot":"","sources":["../src/core.module.ts"],"names":[],"mappings":"AAMA,OAAO,EAA8B,kBAAkB,EAAU,UAAU,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAyBlH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAS3D,qBAoEa,UAAW,YAAW,UAAU,EAAE,YAAY;IAGvD,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAAd,cAAc,EAAE,cAAc;IAGjD,YAAY;IAKZ,SAAS,CAAC,QAAQ,EAAE,kBAAkB;CAKvC"}
|
package/dist/core.module.js
CHANGED
|
@@ -23,6 +23,8 @@ const common_1 = require("@nestjs/common");
|
|
|
23
23
|
const config_1 = require("@nestjs/config");
|
|
24
24
|
const core_1 = require("@nestjs/core");
|
|
25
25
|
const ai_module_1 = require("./ai/ai.module");
|
|
26
|
+
const mcp_module_1 = require("./mcp/mcp.module");
|
|
27
|
+
const mcp_chat_module_1 = require("./mcp-chat/mcp-chat.module");
|
|
26
28
|
const auth_module_1 = require("./auth/auth.module");
|
|
27
29
|
const system_module_1 = require("./core/system.module");
|
|
28
30
|
const dashboard_module_1 = require("./dashboard/dashboard.module");
|
|
@@ -97,6 +99,8 @@ exports.CoreModule = CoreModule = __decorate([
|
|
|
97
99
|
(0, common_1.forwardRef)(() => oauth_module_1.OAuthModule),
|
|
98
100
|
(0, common_1.forwardRef)(() => integration_module_1.IntegrationModule),
|
|
99
101
|
(0, common_1.forwardRef)(() => webhook_integration_module_1.WebhookIntegrationModule),
|
|
102
|
+
(0, common_1.forwardRef)(() => mcp_module_1.McpModule),
|
|
103
|
+
(0, common_1.forwardRef)(() => mcp_chat_module_1.McpChatModule),
|
|
100
104
|
],
|
|
101
105
|
exports: [
|
|
102
106
|
user_module_1.UserModule,
|
package/dist/core.module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.module.js","sourceRoot":"","sources":["../src/core.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sCAA8C;AAC9C,oDAAmD;AACnD,gDAAiE;AACjE,4DAA2D;AAC3D,oDAAkE;AAClE,yCAA2C;AAC3C,2CAAkH;AAClH,2CAA8C;AAC9C,uCAA0D;AAC1D,8CAA0C;AAC1C,oDAAgD;AAChD,wDAAoD;AACpD,mEAA+D;AAC/D,oDAAgD;AAChD,6DAAyD;AACzD,yEAAqE;AACrE,mEAA8D;AAC9D,4EAAuE;AACvE,oDAAgD;AAChD,oDAAgD;AAChD,2FAAsF;AACtF,uDAAmD;AACnD,6DAAyD;AACzD,oDAAgD;AAChD,uDAAmD;AACnD,0DAAsD;AACtD,gEAA4D;AAC5D,6DAAyD;AACzD,6DAAyD;AACzD,+DAA2D;AAC3D,oDAAgD;AAChD,oDAAgD;AAChD,iGAA4F;AAC5F,oGAA8F;AAC9F,wGAAiG;AACjG,wHAAiH;AACjH,kEAAuE;
|
|
1
|
+
{"version":3,"file":"core.module.js","sourceRoot":"","sources":["../src/core.module.ts"],"names":[],"mappings":"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"}
|
|
@@ -19,8 +19,8 @@ export declare class DashboardController {
|
|
|
19
19
|
locale: {
|
|
20
20
|
code: string;
|
|
21
21
|
name: string;
|
|
22
|
-
region: string;
|
|
23
22
|
id: number;
|
|
23
|
+
region: string;
|
|
24
24
|
created_at: Date;
|
|
25
25
|
updated_at: Date;
|
|
26
26
|
enabled: boolean;
|
|
@@ -35,8 +35,9 @@ export declare class DashboardController {
|
|
|
35
35
|
dashboard_component_id: number;
|
|
36
36
|
})[];
|
|
37
37
|
} & {
|
|
38
|
-
width: number;
|
|
39
38
|
id: number;
|
|
39
|
+
height: number;
|
|
40
|
+
width: number;
|
|
40
41
|
created_at: Date;
|
|
41
42
|
updated_at: Date;
|
|
42
43
|
slug: string;
|
|
@@ -45,15 +46,14 @@ export declare class DashboardController {
|
|
|
45
46
|
max_width: number | null;
|
|
46
47
|
min_height: number;
|
|
47
48
|
max_height: number | null;
|
|
48
|
-
height: number;
|
|
49
49
|
is_resizable: boolean;
|
|
50
50
|
};
|
|
51
51
|
} & {
|
|
52
|
-
width: number;
|
|
53
52
|
id: number;
|
|
53
|
+
height: number;
|
|
54
|
+
width: number;
|
|
54
55
|
created_at: Date;
|
|
55
56
|
updated_at: Date;
|
|
56
|
-
height: number;
|
|
57
57
|
component_id: number;
|
|
58
58
|
dashboard_id: number;
|
|
59
59
|
x_axis: number;
|
|
@@ -63,8 +63,8 @@ export declare class DashboardController {
|
|
|
63
63
|
locale: {
|
|
64
64
|
code: string;
|
|
65
65
|
name: string;
|
|
66
|
-
region: string;
|
|
67
66
|
id: number;
|
|
67
|
+
region: string;
|
|
68
68
|
created_at: Date;
|
|
69
69
|
updated_at: Date;
|
|
70
70
|
enabled: boolean;
|
|
@@ -83,8 +83,8 @@ export declare class DashboardController {
|
|
|
83
83
|
locale: {
|
|
84
84
|
code: string;
|
|
85
85
|
name: string;
|
|
86
|
-
region: string;
|
|
87
86
|
id: number;
|
|
87
|
+
region: string;
|
|
88
88
|
created_at: Date;
|
|
89
89
|
updated_at: Date;
|
|
90
90
|
enabled: boolean;
|
|
@@ -126,8 +126,8 @@ export declare class DashboardController {
|
|
|
126
126
|
locale: {
|
|
127
127
|
code: string;
|
|
128
128
|
name: string;
|
|
129
|
-
region: string;
|
|
130
129
|
id: number;
|
|
130
|
+
region: string;
|
|
131
131
|
created_at: Date;
|
|
132
132
|
updated_at: Date;
|
|
133
133
|
enabled: boolean;
|
|
@@ -142,8 +142,9 @@ export declare class DashboardController {
|
|
|
142
142
|
dashboard_component_id: number;
|
|
143
143
|
})[];
|
|
144
144
|
} & {
|
|
145
|
-
width: number;
|
|
146
145
|
id: number;
|
|
146
|
+
height: number;
|
|
147
|
+
width: number;
|
|
147
148
|
created_at: Date;
|
|
148
149
|
updated_at: Date;
|
|
149
150
|
slug: string;
|
|
@@ -152,15 +153,14 @@ export declare class DashboardController {
|
|
|
152
153
|
max_width: number | null;
|
|
153
154
|
min_height: number;
|
|
154
155
|
max_height: number | null;
|
|
155
|
-
height: number;
|
|
156
156
|
is_resizable: boolean;
|
|
157
157
|
};
|
|
158
158
|
} & {
|
|
159
|
-
width: number;
|
|
160
159
|
id: number;
|
|
160
|
+
height: number;
|
|
161
|
+
width: number;
|
|
161
162
|
created_at: Date;
|
|
162
163
|
updated_at: Date;
|
|
163
|
-
height: number;
|
|
164
164
|
component_id: number;
|
|
165
165
|
dashboard_id: number;
|
|
166
166
|
x_axis: number;
|
|
@@ -170,8 +170,8 @@ export declare class DashboardController {
|
|
|
170
170
|
locale: {
|
|
171
171
|
code: string;
|
|
172
172
|
name: string;
|
|
173
|
-
region: string;
|
|
174
173
|
id: number;
|
|
174
|
+
region: string;
|
|
175
175
|
created_at: Date;
|
|
176
176
|
updated_at: Date;
|
|
177
177
|
enabled: boolean;
|
|
@@ -190,8 +190,8 @@ export declare class DashboardController {
|
|
|
190
190
|
locale: {
|
|
191
191
|
code: string;
|
|
192
192
|
name: string;
|
|
193
|
-
region: string;
|
|
194
193
|
id: number;
|
|
194
|
+
region: string;
|
|
195
195
|
created_at: Date;
|
|
196
196
|
updated_at: Date;
|
|
197
197
|
enabled: boolean;
|
|
@@ -233,8 +233,8 @@ export declare class DashboardController {
|
|
|
233
233
|
locale: {
|
|
234
234
|
code: string;
|
|
235
235
|
name: string;
|
|
236
|
-
region: string;
|
|
237
236
|
id: number;
|
|
237
|
+
region: string;
|
|
238
238
|
created_at: Date;
|
|
239
239
|
updated_at: Date;
|
|
240
240
|
enabled: boolean;
|
|
@@ -249,8 +249,9 @@ export declare class DashboardController {
|
|
|
249
249
|
dashboard_component_id: number;
|
|
250
250
|
})[];
|
|
251
251
|
} & {
|
|
252
|
-
width: number;
|
|
253
252
|
id: number;
|
|
253
|
+
height: number;
|
|
254
|
+
width: number;
|
|
254
255
|
created_at: Date;
|
|
255
256
|
updated_at: Date;
|
|
256
257
|
slug: string;
|
|
@@ -259,15 +260,14 @@ export declare class DashboardController {
|
|
|
259
260
|
max_width: number | null;
|
|
260
261
|
min_height: number;
|
|
261
262
|
max_height: number | null;
|
|
262
|
-
height: number;
|
|
263
263
|
is_resizable: boolean;
|
|
264
264
|
};
|
|
265
265
|
} & {
|
|
266
|
-
width: number;
|
|
267
266
|
id: number;
|
|
267
|
+
height: number;
|
|
268
|
+
width: number;
|
|
268
269
|
created_at: Date;
|
|
269
270
|
updated_at: Date;
|
|
270
|
-
height: number;
|
|
271
271
|
component_id: number;
|
|
272
272
|
dashboard_id: number;
|
|
273
273
|
x_axis: number;
|
|
@@ -277,8 +277,8 @@ export declare class DashboardController {
|
|
|
277
277
|
locale: {
|
|
278
278
|
code: string;
|
|
279
279
|
name: string;
|
|
280
|
-
region: string;
|
|
281
280
|
id: number;
|
|
281
|
+
region: string;
|
|
282
282
|
created_at: Date;
|
|
283
283
|
updated_at: Date;
|
|
284
284
|
enabled: boolean;
|
|
@@ -297,8 +297,8 @@ export declare class DashboardController {
|
|
|
297
297
|
locale: {
|
|
298
298
|
code: string;
|
|
299
299
|
name: string;
|
|
300
|
-
region: string;
|
|
301
300
|
id: number;
|
|
301
|
+
region: string;
|
|
302
302
|
created_at: Date;
|
|
303
303
|
updated_at: Date;
|
|
304
304
|
enabled: boolean;
|
|
@@ -21,8 +21,8 @@ export declare class DashboardService {
|
|
|
21
21
|
locale: {
|
|
22
22
|
code: string;
|
|
23
23
|
name: string;
|
|
24
|
-
region: string;
|
|
25
24
|
id: number;
|
|
25
|
+
region: string;
|
|
26
26
|
created_at: Date;
|
|
27
27
|
updated_at: Date;
|
|
28
28
|
enabled: boolean;
|
|
@@ -37,8 +37,9 @@ export declare class DashboardService {
|
|
|
37
37
|
dashboard_component_id: number;
|
|
38
38
|
})[];
|
|
39
39
|
} & {
|
|
40
|
-
width: number;
|
|
41
40
|
id: number;
|
|
41
|
+
height: number;
|
|
42
|
+
width: number;
|
|
42
43
|
created_at: Date;
|
|
43
44
|
updated_at: Date;
|
|
44
45
|
slug: string;
|
|
@@ -47,15 +48,14 @@ export declare class DashboardService {
|
|
|
47
48
|
max_width: number | null;
|
|
48
49
|
min_height: number;
|
|
49
50
|
max_height: number | null;
|
|
50
|
-
height: number;
|
|
51
51
|
is_resizable: boolean;
|
|
52
52
|
};
|
|
53
53
|
} & {
|
|
54
|
-
width: number;
|
|
55
54
|
id: number;
|
|
55
|
+
height: number;
|
|
56
|
+
width: number;
|
|
56
57
|
created_at: Date;
|
|
57
58
|
updated_at: Date;
|
|
58
|
-
height: number;
|
|
59
59
|
component_id: number;
|
|
60
60
|
dashboard_id: number;
|
|
61
61
|
x_axis: number;
|
|
@@ -65,8 +65,8 @@ export declare class DashboardService {
|
|
|
65
65
|
locale: {
|
|
66
66
|
code: string;
|
|
67
67
|
name: string;
|
|
68
|
-
region: string;
|
|
69
68
|
id: number;
|
|
69
|
+
region: string;
|
|
70
70
|
created_at: Date;
|
|
71
71
|
updated_at: Date;
|
|
72
72
|
enabled: boolean;
|
|
@@ -85,8 +85,8 @@ export declare class DashboardService {
|
|
|
85
85
|
locale: {
|
|
86
86
|
code: string;
|
|
87
87
|
name: string;
|
|
88
|
-
region: string;
|
|
89
88
|
id: number;
|
|
89
|
+
region: string;
|
|
90
90
|
created_at: Date;
|
|
91
91
|
updated_at: Date;
|
|
92
92
|
enabled: boolean;
|
|
@@ -128,8 +128,8 @@ export declare class DashboardService {
|
|
|
128
128
|
locale: {
|
|
129
129
|
code: string;
|
|
130
130
|
name: string;
|
|
131
|
-
region: string;
|
|
132
131
|
id: number;
|
|
132
|
+
region: string;
|
|
133
133
|
created_at: Date;
|
|
134
134
|
updated_at: Date;
|
|
135
135
|
enabled: boolean;
|
|
@@ -144,8 +144,9 @@ export declare class DashboardService {
|
|
|
144
144
|
dashboard_component_id: number;
|
|
145
145
|
})[];
|
|
146
146
|
} & {
|
|
147
|
-
width: number;
|
|
148
147
|
id: number;
|
|
148
|
+
height: number;
|
|
149
|
+
width: number;
|
|
149
150
|
created_at: Date;
|
|
150
151
|
updated_at: Date;
|
|
151
152
|
slug: string;
|
|
@@ -154,15 +155,14 @@ export declare class DashboardService {
|
|
|
154
155
|
max_width: number | null;
|
|
155
156
|
min_height: number;
|
|
156
157
|
max_height: number | null;
|
|
157
|
-
height: number;
|
|
158
158
|
is_resizable: boolean;
|
|
159
159
|
};
|
|
160
160
|
} & {
|
|
161
|
-
width: number;
|
|
162
161
|
id: number;
|
|
162
|
+
height: number;
|
|
163
|
+
width: number;
|
|
163
164
|
created_at: Date;
|
|
164
165
|
updated_at: Date;
|
|
165
|
-
height: number;
|
|
166
166
|
component_id: number;
|
|
167
167
|
dashboard_id: number;
|
|
168
168
|
x_axis: number;
|
|
@@ -172,8 +172,8 @@ export declare class DashboardService {
|
|
|
172
172
|
locale: {
|
|
173
173
|
code: string;
|
|
174
174
|
name: string;
|
|
175
|
-
region: string;
|
|
176
175
|
id: number;
|
|
176
|
+
region: string;
|
|
177
177
|
created_at: Date;
|
|
178
178
|
updated_at: Date;
|
|
179
179
|
enabled: boolean;
|
|
@@ -192,8 +192,8 @@ export declare class DashboardService {
|
|
|
192
192
|
locale: {
|
|
193
193
|
code: string;
|
|
194
194
|
name: string;
|
|
195
|
-
region: string;
|
|
196
195
|
id: number;
|
|
196
|
+
region: string;
|
|
197
197
|
created_at: Date;
|
|
198
198
|
updated_at: Date;
|
|
199
199
|
enabled: boolean;
|
|
@@ -235,8 +235,8 @@ export declare class DashboardService {
|
|
|
235
235
|
locale: {
|
|
236
236
|
code: string;
|
|
237
237
|
name: string;
|
|
238
|
-
region: string;
|
|
239
238
|
id: number;
|
|
239
|
+
region: string;
|
|
240
240
|
created_at: Date;
|
|
241
241
|
updated_at: Date;
|
|
242
242
|
enabled: boolean;
|
|
@@ -251,8 +251,9 @@ export declare class DashboardService {
|
|
|
251
251
|
dashboard_component_id: number;
|
|
252
252
|
})[];
|
|
253
253
|
} & {
|
|
254
|
-
width: number;
|
|
255
254
|
id: number;
|
|
255
|
+
height: number;
|
|
256
|
+
width: number;
|
|
256
257
|
created_at: Date;
|
|
257
258
|
updated_at: Date;
|
|
258
259
|
slug: string;
|
|
@@ -261,15 +262,14 @@ export declare class DashboardService {
|
|
|
261
262
|
max_width: number | null;
|
|
262
263
|
min_height: number;
|
|
263
264
|
max_height: number | null;
|
|
264
|
-
height: number;
|
|
265
265
|
is_resizable: boolean;
|
|
266
266
|
};
|
|
267
267
|
} & {
|
|
268
|
-
width: number;
|
|
269
268
|
id: number;
|
|
269
|
+
height: number;
|
|
270
|
+
width: number;
|
|
270
271
|
created_at: Date;
|
|
271
272
|
updated_at: Date;
|
|
272
|
-
height: number;
|
|
273
273
|
component_id: number;
|
|
274
274
|
dashboard_id: number;
|
|
275
275
|
x_axis: number;
|
|
@@ -279,8 +279,8 @@ export declare class DashboardService {
|
|
|
279
279
|
locale: {
|
|
280
280
|
code: string;
|
|
281
281
|
name: string;
|
|
282
|
-
region: string;
|
|
283
282
|
id: number;
|
|
283
|
+
region: string;
|
|
284
284
|
created_at: Date;
|
|
285
285
|
updated_at: Date;
|
|
286
286
|
enabled: boolean;
|
|
@@ -299,8 +299,8 @@ export declare class DashboardService {
|
|
|
299
299
|
locale: {
|
|
300
300
|
code: string;
|
|
301
301
|
name: string;
|
|
302
|
-
region: string;
|
|
303
302
|
id: number;
|
|
303
|
+
region: string;
|
|
304
304
|
created_at: Date;
|
|
305
305
|
updated_at: Date;
|
|
306
306
|
enabled: boolean;
|
|
@@ -31,8 +31,8 @@ export declare class DashboardComponentController {
|
|
|
31
31
|
locale: {
|
|
32
32
|
code: string;
|
|
33
33
|
name: string;
|
|
34
|
-
region: string;
|
|
35
34
|
id: number;
|
|
35
|
+
region: string;
|
|
36
36
|
created_at: Date;
|
|
37
37
|
updated_at: Date;
|
|
38
38
|
enabled: boolean;
|
|
@@ -47,8 +47,9 @@ export declare class DashboardComponentController {
|
|
|
47
47
|
dashboard_component_id: number;
|
|
48
48
|
})[];
|
|
49
49
|
} & {
|
|
50
|
-
width: number;
|
|
51
50
|
id: number;
|
|
51
|
+
height: number;
|
|
52
|
+
width: number;
|
|
52
53
|
created_at: Date;
|
|
53
54
|
updated_at: Date;
|
|
54
55
|
slug: string;
|
|
@@ -57,7 +58,6 @@ export declare class DashboardComponentController {
|
|
|
57
58
|
max_width: number | null;
|
|
58
59
|
min_height: number;
|
|
59
60
|
max_height: number | null;
|
|
60
|
-
height: number;
|
|
61
61
|
is_resizable: boolean;
|
|
62
62
|
}>;
|
|
63
63
|
createComponent(data: CreateDashboardComponentDTO, locale: string): Promise<{
|
|
@@ -65,8 +65,8 @@ export declare class DashboardComponentController {
|
|
|
65
65
|
locale: {
|
|
66
66
|
code: string;
|
|
67
67
|
name: string;
|
|
68
|
-
region: string;
|
|
69
68
|
id: number;
|
|
69
|
+
region: string;
|
|
70
70
|
created_at: Date;
|
|
71
71
|
updated_at: Date;
|
|
72
72
|
enabled: boolean;
|
|
@@ -81,8 +81,9 @@ export declare class DashboardComponentController {
|
|
|
81
81
|
dashboard_component_id: number;
|
|
82
82
|
})[];
|
|
83
83
|
} & {
|
|
84
|
-
width: number;
|
|
85
84
|
id: number;
|
|
85
|
+
height: number;
|
|
86
|
+
width: number;
|
|
86
87
|
created_at: Date;
|
|
87
88
|
updated_at: Date;
|
|
88
89
|
slug: string;
|
|
@@ -91,7 +92,6 @@ export declare class DashboardComponentController {
|
|
|
91
92
|
max_width: number | null;
|
|
92
93
|
min_height: number;
|
|
93
94
|
max_height: number | null;
|
|
94
|
-
height: number;
|
|
95
95
|
is_resizable: boolean;
|
|
96
96
|
}>;
|
|
97
97
|
updateComponent(id: number, data: UpdateDashboardComponentDTO, locale: string): Promise<{
|
|
@@ -99,8 +99,8 @@ export declare class DashboardComponentController {
|
|
|
99
99
|
locale: {
|
|
100
100
|
code: string;
|
|
101
101
|
name: string;
|
|
102
|
-
region: string;
|
|
103
102
|
id: number;
|
|
103
|
+
region: string;
|
|
104
104
|
created_at: Date;
|
|
105
105
|
updated_at: Date;
|
|
106
106
|
enabled: boolean;
|
|
@@ -115,8 +115,9 @@ export declare class DashboardComponentController {
|
|
|
115
115
|
dashboard_component_id: number;
|
|
116
116
|
})[];
|
|
117
117
|
} & {
|
|
118
|
-
width: number;
|
|
119
118
|
id: number;
|
|
119
|
+
height: number;
|
|
120
|
+
width: number;
|
|
120
121
|
created_at: Date;
|
|
121
122
|
updated_at: Date;
|
|
122
123
|
slug: string;
|
|
@@ -125,12 +126,12 @@ export declare class DashboardComponentController {
|
|
|
125
126
|
max_width: number | null;
|
|
126
127
|
min_height: number;
|
|
127
128
|
max_height: number | null;
|
|
128
|
-
height: number;
|
|
129
129
|
is_resizable: boolean;
|
|
130
130
|
}>;
|
|
131
131
|
deleteComponent(id: number, locale: string): Promise<{
|
|
132
|
-
width: number;
|
|
133
132
|
id: number;
|
|
133
|
+
height: number;
|
|
134
|
+
width: number;
|
|
134
135
|
created_at: Date;
|
|
135
136
|
updated_at: Date;
|
|
136
137
|
slug: string;
|
|
@@ -139,7 +140,6 @@ export declare class DashboardComponentController {
|
|
|
139
140
|
max_width: number | null;
|
|
140
141
|
min_height: number;
|
|
141
142
|
max_height: number | null;
|
|
142
|
-
height: number;
|
|
143
143
|
is_resizable: boolean;
|
|
144
144
|
}>;
|
|
145
145
|
savePreview(id: number, file: MulterFile, locale: string): Promise<{
|
|
@@ -33,8 +33,8 @@ export declare class DashboardComponentService {
|
|
|
33
33
|
locale: {
|
|
34
34
|
code: string;
|
|
35
35
|
name: string;
|
|
36
|
-
region: string;
|
|
37
36
|
id: number;
|
|
37
|
+
region: string;
|
|
38
38
|
created_at: Date;
|
|
39
39
|
updated_at: Date;
|
|
40
40
|
enabled: boolean;
|
|
@@ -49,8 +49,9 @@ export declare class DashboardComponentService {
|
|
|
49
49
|
dashboard_component_id: number;
|
|
50
50
|
})[];
|
|
51
51
|
} & {
|
|
52
|
-
width: number;
|
|
53
52
|
id: number;
|
|
53
|
+
height: number;
|
|
54
|
+
width: number;
|
|
54
55
|
created_at: Date;
|
|
55
56
|
updated_at: Date;
|
|
56
57
|
slug: string;
|
|
@@ -59,7 +60,6 @@ export declare class DashboardComponentService {
|
|
|
59
60
|
max_width: number | null;
|
|
60
61
|
min_height: number;
|
|
61
62
|
max_height: number | null;
|
|
62
|
-
height: number;
|
|
63
63
|
is_resizable: boolean;
|
|
64
64
|
}>;
|
|
65
65
|
createComponent(data: CreateDashboardComponentDTO, locale: string): Promise<{
|
|
@@ -67,8 +67,8 @@ export declare class DashboardComponentService {
|
|
|
67
67
|
locale: {
|
|
68
68
|
code: string;
|
|
69
69
|
name: string;
|
|
70
|
-
region: string;
|
|
71
70
|
id: number;
|
|
71
|
+
region: string;
|
|
72
72
|
created_at: Date;
|
|
73
73
|
updated_at: Date;
|
|
74
74
|
enabled: boolean;
|
|
@@ -83,8 +83,9 @@ export declare class DashboardComponentService {
|
|
|
83
83
|
dashboard_component_id: number;
|
|
84
84
|
})[];
|
|
85
85
|
} & {
|
|
86
|
-
width: number;
|
|
87
86
|
id: number;
|
|
87
|
+
height: number;
|
|
88
|
+
width: number;
|
|
88
89
|
created_at: Date;
|
|
89
90
|
updated_at: Date;
|
|
90
91
|
slug: string;
|
|
@@ -93,7 +94,6 @@ export declare class DashboardComponentService {
|
|
|
93
94
|
max_width: number | null;
|
|
94
95
|
min_height: number;
|
|
95
96
|
max_height: number | null;
|
|
96
|
-
height: number;
|
|
97
97
|
is_resizable: boolean;
|
|
98
98
|
}>;
|
|
99
99
|
updateComponent(id: number, data: UpdateDashboardComponentDTO, locale: string): Promise<{
|
|
@@ -101,8 +101,8 @@ export declare class DashboardComponentService {
|
|
|
101
101
|
locale: {
|
|
102
102
|
code: string;
|
|
103
103
|
name: string;
|
|
104
|
-
region: string;
|
|
105
104
|
id: number;
|
|
105
|
+
region: string;
|
|
106
106
|
created_at: Date;
|
|
107
107
|
updated_at: Date;
|
|
108
108
|
enabled: boolean;
|
|
@@ -117,8 +117,9 @@ export declare class DashboardComponentService {
|
|
|
117
117
|
dashboard_component_id: number;
|
|
118
118
|
})[];
|
|
119
119
|
} & {
|
|
120
|
-
width: number;
|
|
121
120
|
id: number;
|
|
121
|
+
height: number;
|
|
122
|
+
width: number;
|
|
122
123
|
created_at: Date;
|
|
123
124
|
updated_at: Date;
|
|
124
125
|
slug: string;
|
|
@@ -127,12 +128,12 @@ export declare class DashboardComponentService {
|
|
|
127
128
|
max_width: number | null;
|
|
128
129
|
min_height: number;
|
|
129
130
|
max_height: number | null;
|
|
130
|
-
height: number;
|
|
131
131
|
is_resizable: boolean;
|
|
132
132
|
}>;
|
|
133
133
|
deleteComponent(id: number, locale: string): Promise<{
|
|
134
|
-
width: number;
|
|
135
134
|
id: number;
|
|
135
|
+
height: number;
|
|
136
|
+
width: number;
|
|
136
137
|
created_at: Date;
|
|
137
138
|
updated_at: Date;
|
|
138
139
|
slug: string;
|
|
@@ -141,7 +142,6 @@ export declare class DashboardComponentService {
|
|
|
141
142
|
max_width: number | null;
|
|
142
143
|
min_height: number;
|
|
143
144
|
max_height: number | null;
|
|
144
|
-
height: number;
|
|
145
145
|
is_resizable: boolean;
|
|
146
146
|
}>;
|
|
147
147
|
private normalizeComponentIdentity;
|