@hed-hog/core 0.0.330 → 0.0.332
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 +23 -23
- package/dist/auth/auth.service.d.ts +41 -41
- package/dist/challenge/challenge.service.d.ts +14 -14
- package/dist/core/system.controller.d.ts +2 -2
- package/dist/core/system.service.d.ts +2 -2
- package/dist/dashboard/dashboard/dashboard.controller.d.ts +87 -87
- package/dist/dashboard/dashboard/dashboard.service.d.ts +87 -87
- package/dist/dashboard/dashboard-component/dashboard-component.controller.d.ts +33 -33
- package/dist/dashboard/dashboard-component/dashboard-component.service.d.ts +33 -33
- package/dist/dashboard/dashboard-component-role/dashboard-component-role.controller.d.ts +42 -42
- package/dist/dashboard/dashboard-component-role/dashboard-component-role.service.d.ts +42 -42
- package/dist/dashboard/dashboard-core/dashboard-core.controller.d.ts +12 -12
- package/dist/dashboard/dashboard-core/dashboard-core.service.d.ts +12 -12
- package/dist/dashboard/dashboard-item/dashboard-item.controller.d.ts +7 -7
- package/dist/dashboard/dashboard-item/dashboard-item.service.d.ts +7 -7
- package/dist/dashboard/dashboard-role/dashboard-role.controller.d.ts +33 -33
- package/dist/dashboard/dashboard-role/dashboard-role.service.d.ts +33 -33
- package/dist/dashboard/dashboard-user/dashboard-user.controller.d.ts +3 -3
- package/dist/dashboard/dashboard-user/dashboard-user.service.d.ts +3 -3
- package/dist/file/file.controller.d.ts +8 -8
- package/dist/file/file.service.d.ts +18 -18
- package/dist/mail/mail.controller.d.ts +15 -15
- package/dist/mail/mail.service.d.ts +15 -15
- package/dist/mail-profile/mail-profile.controller.d.ts +9 -9
- package/dist/mail-profile/mail-profile.service.d.ts +9 -9
- package/dist/mail-sent/mail-sent.controller.d.ts +17 -17
- package/dist/mail-sent/mail-sent.service.d.ts +17 -17
- package/dist/mcp-chat/mcp-chat.controller.d.ts +10 -10
- package/dist/mcp-chat/mcp-chat.service.d.ts +10 -10
- package/dist/menu/menu.controller.d.ts +11 -11
- package/dist/menu/menu.service.d.ts +11 -11
- package/dist/profile/profile.controller.d.ts +17 -17
- package/dist/profile/profile.service.d.ts +17 -17
- package/dist/role/role.controller.d.ts +12 -12
- package/dist/role/role.service.d.ts +12 -12
- package/dist/route/route.service.d.ts.map +1 -1
- package/dist/route/route.service.js +14 -0
- package/dist/route/route.service.js.map +1 -1
- package/dist/screen/screen.controller.d.ts +3 -3
- package/dist/screen/screen.service.d.ts +3 -3
- package/dist/session/session.controller.d.ts +4 -4
- package/dist/session/session.service.d.ts +12 -12
- package/dist/setting/setting.controller.d.ts +13 -13
- package/dist/setting/setting.service.d.ts +13 -13
- package/dist/user/user.controller.d.ts +24 -24
- package/dist/user/user.service.d.ts +55 -55
- package/hedhog/data/menu.yaml +18 -4
- package/hedhog/frontend/app/account/layout.tsx.ejs +1 -1
- package/hedhog/frontend/app/configurations/[slug]/components/setting-field.tsx.ejs +27 -23
- package/hedhog/frontend/app/mail/template/page.tsx.ejs +5 -5
- package/hedhog/frontend/app/menu/page.tsx.ejs +7 -2
- package/hedhog/frontend/app/preferences/page.tsx.ejs +1 -1
- package/hedhog/frontend/app/roles/page.tsx.ejs +7 -2
- package/hedhog/frontend/app/routes/page.tsx.ejs +1339 -0
- package/hedhog/frontend/app/users/page.tsx.ejs +1 -1
- package/hedhog/frontend/messages/en.json +108 -1
- package/hedhog/frontend/messages/pt.json +108 -1
- package/package.json +5 -5
- package/src/route/route.service.ts +14 -0
|
@@ -15,103 +15,103 @@ export declare class DashboardComponentRoleController {
|
|
|
15
15
|
role: {
|
|
16
16
|
role_locale: ({
|
|
17
17
|
locale: {
|
|
18
|
-
created_at: Date;
|
|
19
|
-
id: number;
|
|
20
|
-
updated_at: Date;
|
|
21
|
-
name: string;
|
|
22
18
|
code: string;
|
|
19
|
+
name: string;
|
|
20
|
+
id: number;
|
|
23
21
|
region: string;
|
|
22
|
+
created_at: Date;
|
|
23
|
+
updated_at: Date;
|
|
24
24
|
enabled: boolean;
|
|
25
25
|
};
|
|
26
26
|
} & {
|
|
27
|
-
|
|
27
|
+
name: string;
|
|
28
28
|
id: number;
|
|
29
|
+
description: string | null;
|
|
30
|
+
created_at: Date;
|
|
29
31
|
updated_at: Date;
|
|
30
|
-
name: string;
|
|
31
32
|
locale_id: number;
|
|
32
|
-
description: string | null;
|
|
33
33
|
role_id: number;
|
|
34
34
|
})[];
|
|
35
35
|
} & {
|
|
36
|
-
created_at: Date;
|
|
37
36
|
id: number;
|
|
37
|
+
created_at: Date;
|
|
38
38
|
updated_at: Date;
|
|
39
39
|
slug: string;
|
|
40
40
|
};
|
|
41
41
|
} & {
|
|
42
|
-
created_at: Date;
|
|
43
42
|
id: number;
|
|
43
|
+
created_at: Date;
|
|
44
44
|
updated_at: Date;
|
|
45
|
-
role_id: number;
|
|
46
45
|
component_id: number;
|
|
46
|
+
role_id: number;
|
|
47
47
|
})[]>;
|
|
48
48
|
create(data: CreateDashboardComponentRoleDTO, locale: string): Promise<{
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
role: {
|
|
50
|
+
role_locale: ({
|
|
51
51
|
locale: {
|
|
52
|
-
created_at: Date;
|
|
53
|
-
id: number;
|
|
54
|
-
updated_at: Date;
|
|
55
|
-
name: string;
|
|
56
52
|
code: string;
|
|
53
|
+
name: string;
|
|
54
|
+
id: number;
|
|
57
55
|
region: string;
|
|
56
|
+
created_at: Date;
|
|
57
|
+
updated_at: Date;
|
|
58
58
|
enabled: boolean;
|
|
59
59
|
};
|
|
60
60
|
} & {
|
|
61
|
-
|
|
61
|
+
name: string;
|
|
62
62
|
id: number;
|
|
63
|
+
description: string | null;
|
|
64
|
+
created_at: Date;
|
|
63
65
|
updated_at: Date;
|
|
64
|
-
name: string;
|
|
65
66
|
locale_id: number;
|
|
66
|
-
|
|
67
|
-
dashboard_component_id: number;
|
|
67
|
+
role_id: number;
|
|
68
68
|
})[];
|
|
69
69
|
} & {
|
|
70
|
-
created_at: Date;
|
|
71
70
|
id: number;
|
|
71
|
+
created_at: Date;
|
|
72
72
|
updated_at: Date;
|
|
73
73
|
slug: string;
|
|
74
|
-
library_slug: string;
|
|
75
|
-
min_width: number;
|
|
76
|
-
max_width: number | null;
|
|
77
|
-
min_height: number;
|
|
78
|
-
max_height: number | null;
|
|
79
|
-
width: number;
|
|
80
|
-
height: number;
|
|
81
|
-
is_resizable: boolean;
|
|
82
74
|
};
|
|
83
|
-
|
|
84
|
-
|
|
75
|
+
dashboard_component: {
|
|
76
|
+
dashboard_component_locale: ({
|
|
85
77
|
locale: {
|
|
86
|
-
created_at: Date;
|
|
87
|
-
id: number;
|
|
88
|
-
updated_at: Date;
|
|
89
|
-
name: string;
|
|
90
78
|
code: string;
|
|
79
|
+
name: string;
|
|
80
|
+
id: number;
|
|
91
81
|
region: string;
|
|
82
|
+
created_at: Date;
|
|
83
|
+
updated_at: Date;
|
|
92
84
|
enabled: boolean;
|
|
93
85
|
};
|
|
94
86
|
} & {
|
|
95
|
-
|
|
87
|
+
name: string;
|
|
96
88
|
id: number;
|
|
89
|
+
description: string;
|
|
90
|
+
created_at: Date;
|
|
97
91
|
updated_at: Date;
|
|
98
|
-
name: string;
|
|
99
92
|
locale_id: number;
|
|
100
|
-
|
|
101
|
-
role_id: number;
|
|
93
|
+
dashboard_component_id: number;
|
|
102
94
|
})[];
|
|
103
95
|
} & {
|
|
104
|
-
created_at: Date;
|
|
105
96
|
id: number;
|
|
97
|
+
height: number;
|
|
98
|
+
width: number;
|
|
99
|
+
created_at: Date;
|
|
106
100
|
updated_at: Date;
|
|
107
101
|
slug: string;
|
|
102
|
+
library_slug: string;
|
|
103
|
+
min_width: number;
|
|
104
|
+
max_width: number | null;
|
|
105
|
+
min_height: number;
|
|
106
|
+
max_height: number | null;
|
|
107
|
+
is_resizable: boolean;
|
|
108
108
|
};
|
|
109
109
|
} & {
|
|
110
|
-
created_at: Date;
|
|
111
110
|
id: number;
|
|
111
|
+
created_at: Date;
|
|
112
112
|
updated_at: Date;
|
|
113
|
-
role_id: number;
|
|
114
113
|
component_id: number;
|
|
114
|
+
role_id: number;
|
|
115
115
|
}>;
|
|
116
116
|
createBatch(data: CreateDashboardComponentRoleBatchDTO, locale: string): Promise<{
|
|
117
117
|
success: boolean;
|
|
@@ -18,103 +18,103 @@ export declare class DashboardComponentRoleService {
|
|
|
18
18
|
role: {
|
|
19
19
|
role_locale: ({
|
|
20
20
|
locale: {
|
|
21
|
-
created_at: Date;
|
|
22
|
-
id: number;
|
|
23
|
-
updated_at: Date;
|
|
24
|
-
name: string;
|
|
25
21
|
code: string;
|
|
22
|
+
name: string;
|
|
23
|
+
id: number;
|
|
26
24
|
region: string;
|
|
25
|
+
created_at: Date;
|
|
26
|
+
updated_at: Date;
|
|
27
27
|
enabled: boolean;
|
|
28
28
|
};
|
|
29
29
|
} & {
|
|
30
|
-
|
|
30
|
+
name: string;
|
|
31
31
|
id: number;
|
|
32
|
+
description: string | null;
|
|
33
|
+
created_at: Date;
|
|
32
34
|
updated_at: Date;
|
|
33
|
-
name: string;
|
|
34
35
|
locale_id: number;
|
|
35
|
-
description: string | null;
|
|
36
36
|
role_id: number;
|
|
37
37
|
})[];
|
|
38
38
|
} & {
|
|
39
|
-
created_at: Date;
|
|
40
39
|
id: number;
|
|
40
|
+
created_at: Date;
|
|
41
41
|
updated_at: Date;
|
|
42
42
|
slug: string;
|
|
43
43
|
};
|
|
44
44
|
} & {
|
|
45
|
-
created_at: Date;
|
|
46
45
|
id: number;
|
|
46
|
+
created_at: Date;
|
|
47
47
|
updated_at: Date;
|
|
48
|
-
role_id: number;
|
|
49
48
|
component_id: number;
|
|
49
|
+
role_id: number;
|
|
50
50
|
})[]>;
|
|
51
51
|
create(data: CreateDashboardComponentRoleDTO, locale: string): Promise<{
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
role: {
|
|
53
|
+
role_locale: ({
|
|
54
54
|
locale: {
|
|
55
|
-
created_at: Date;
|
|
56
|
-
id: number;
|
|
57
|
-
updated_at: Date;
|
|
58
|
-
name: string;
|
|
59
55
|
code: string;
|
|
56
|
+
name: string;
|
|
57
|
+
id: number;
|
|
60
58
|
region: string;
|
|
59
|
+
created_at: Date;
|
|
60
|
+
updated_at: Date;
|
|
61
61
|
enabled: boolean;
|
|
62
62
|
};
|
|
63
63
|
} & {
|
|
64
|
-
|
|
64
|
+
name: string;
|
|
65
65
|
id: number;
|
|
66
|
+
description: string | null;
|
|
67
|
+
created_at: Date;
|
|
66
68
|
updated_at: Date;
|
|
67
|
-
name: string;
|
|
68
69
|
locale_id: number;
|
|
69
|
-
|
|
70
|
-
dashboard_component_id: number;
|
|
70
|
+
role_id: number;
|
|
71
71
|
})[];
|
|
72
72
|
} & {
|
|
73
|
-
created_at: Date;
|
|
74
73
|
id: number;
|
|
74
|
+
created_at: Date;
|
|
75
75
|
updated_at: Date;
|
|
76
76
|
slug: string;
|
|
77
|
-
library_slug: string;
|
|
78
|
-
min_width: number;
|
|
79
|
-
max_width: number | null;
|
|
80
|
-
min_height: number;
|
|
81
|
-
max_height: number | null;
|
|
82
|
-
width: number;
|
|
83
|
-
height: number;
|
|
84
|
-
is_resizable: boolean;
|
|
85
77
|
};
|
|
86
|
-
|
|
87
|
-
|
|
78
|
+
dashboard_component: {
|
|
79
|
+
dashboard_component_locale: ({
|
|
88
80
|
locale: {
|
|
89
|
-
created_at: Date;
|
|
90
|
-
id: number;
|
|
91
|
-
updated_at: Date;
|
|
92
|
-
name: string;
|
|
93
81
|
code: string;
|
|
82
|
+
name: string;
|
|
83
|
+
id: number;
|
|
94
84
|
region: string;
|
|
85
|
+
created_at: Date;
|
|
86
|
+
updated_at: Date;
|
|
95
87
|
enabled: boolean;
|
|
96
88
|
};
|
|
97
89
|
} & {
|
|
98
|
-
|
|
90
|
+
name: string;
|
|
99
91
|
id: number;
|
|
92
|
+
description: string;
|
|
93
|
+
created_at: Date;
|
|
100
94
|
updated_at: Date;
|
|
101
|
-
name: string;
|
|
102
95
|
locale_id: number;
|
|
103
|
-
|
|
104
|
-
role_id: number;
|
|
96
|
+
dashboard_component_id: number;
|
|
105
97
|
})[];
|
|
106
98
|
} & {
|
|
107
|
-
created_at: Date;
|
|
108
99
|
id: number;
|
|
100
|
+
height: number;
|
|
101
|
+
width: number;
|
|
102
|
+
created_at: Date;
|
|
109
103
|
updated_at: Date;
|
|
110
104
|
slug: string;
|
|
105
|
+
library_slug: string;
|
|
106
|
+
min_width: number;
|
|
107
|
+
max_width: number | null;
|
|
108
|
+
min_height: number;
|
|
109
|
+
max_height: number | null;
|
|
110
|
+
is_resizable: boolean;
|
|
111
111
|
};
|
|
112
112
|
} & {
|
|
113
|
-
created_at: Date;
|
|
114
113
|
id: number;
|
|
114
|
+
created_at: Date;
|
|
115
115
|
updated_at: Date;
|
|
116
|
-
role_id: number;
|
|
117
116
|
component_id: number;
|
|
117
|
+
role_id: number;
|
|
118
118
|
}>;
|
|
119
119
|
createBatch(data: CreateDashboardComponentRoleBatchDTO, locale: string): Promise<{
|
|
120
120
|
success: boolean;
|
|
@@ -5,8 +5,8 @@ export declare class DashboardCoreController {
|
|
|
5
5
|
getHome({ id }: {
|
|
6
6
|
id: any;
|
|
7
7
|
}, locale: string): Promise<{
|
|
8
|
-
created_at: Date;
|
|
9
8
|
id: number;
|
|
9
|
+
created_at: Date;
|
|
10
10
|
updated_at: Date;
|
|
11
11
|
slug: string;
|
|
12
12
|
icon: string | null;
|
|
@@ -145,10 +145,10 @@ export declare class DashboardCoreController {
|
|
|
145
145
|
icon: string;
|
|
146
146
|
is_home: boolean;
|
|
147
147
|
dashboard_locale: {
|
|
148
|
-
|
|
148
|
+
name: string;
|
|
149
149
|
id: number;
|
|
150
|
+
created_at: Date;
|
|
150
151
|
updated_at: Date;
|
|
151
|
-
name: string;
|
|
152
152
|
locale_id: number;
|
|
153
153
|
dashboard_id: number;
|
|
154
154
|
}[];
|
|
@@ -301,17 +301,19 @@ export declare class DashboardCoreController {
|
|
|
301
301
|
fromSlug(slug: string, locale: any): Promise<({
|
|
302
302
|
dashboard_component: {
|
|
303
303
|
dashboard_component_locale: {
|
|
304
|
-
|
|
304
|
+
name: string;
|
|
305
305
|
id: number;
|
|
306
|
+
description: string;
|
|
307
|
+
created_at: Date;
|
|
306
308
|
updated_at: Date;
|
|
307
|
-
name: string;
|
|
308
309
|
locale_id: number;
|
|
309
|
-
description: string;
|
|
310
310
|
dashboard_component_id: number;
|
|
311
311
|
}[];
|
|
312
312
|
} & {
|
|
313
|
-
created_at: Date;
|
|
314
313
|
id: number;
|
|
314
|
+
height: number;
|
|
315
|
+
width: number;
|
|
316
|
+
created_at: Date;
|
|
315
317
|
updated_at: Date;
|
|
316
318
|
slug: string;
|
|
317
319
|
library_slug: string;
|
|
@@ -319,17 +321,15 @@ export declare class DashboardCoreController {
|
|
|
319
321
|
max_width: number | null;
|
|
320
322
|
min_height: number;
|
|
321
323
|
max_height: number | null;
|
|
322
|
-
width: number;
|
|
323
|
-
height: number;
|
|
324
324
|
is_resizable: boolean;
|
|
325
325
|
};
|
|
326
326
|
} & {
|
|
327
|
-
created_at: Date;
|
|
328
327
|
id: number;
|
|
328
|
+
height: number;
|
|
329
|
+
width: number;
|
|
330
|
+
created_at: Date;
|
|
329
331
|
updated_at: Date;
|
|
330
332
|
component_id: number;
|
|
331
|
-
width: number;
|
|
332
|
-
height: number;
|
|
333
333
|
dashboard_id: number;
|
|
334
334
|
x_axis: number;
|
|
335
335
|
y_axis: number;
|
|
@@ -158,8 +158,8 @@ export declare class DashboardCoreService {
|
|
|
158
158
|
private assertDashboardRoleAccess;
|
|
159
159
|
private getAccessibleTemplateOrThrow;
|
|
160
160
|
getHome(userId: number, locale: string): Promise<{
|
|
161
|
-
created_at: Date;
|
|
162
161
|
id: number;
|
|
162
|
+
created_at: Date;
|
|
163
163
|
updated_at: Date;
|
|
164
164
|
slug: string;
|
|
165
165
|
icon: string | null;
|
|
@@ -168,17 +168,19 @@ export declare class DashboardCoreService {
|
|
|
168
168
|
fromSlug(slug: string, code: string): Promise<({
|
|
169
169
|
dashboard_component: {
|
|
170
170
|
dashboard_component_locale: {
|
|
171
|
-
|
|
171
|
+
name: string;
|
|
172
172
|
id: number;
|
|
173
|
+
description: string;
|
|
174
|
+
created_at: Date;
|
|
173
175
|
updated_at: Date;
|
|
174
|
-
name: string;
|
|
175
176
|
locale_id: number;
|
|
176
|
-
description: string;
|
|
177
177
|
dashboard_component_id: number;
|
|
178
178
|
}[];
|
|
179
179
|
} & {
|
|
180
|
-
created_at: Date;
|
|
181
180
|
id: number;
|
|
181
|
+
height: number;
|
|
182
|
+
width: number;
|
|
183
|
+
created_at: Date;
|
|
182
184
|
updated_at: Date;
|
|
183
185
|
slug: string;
|
|
184
186
|
library_slug: string;
|
|
@@ -186,17 +188,15 @@ export declare class DashboardCoreService {
|
|
|
186
188
|
max_width: number | null;
|
|
187
189
|
min_height: number;
|
|
188
190
|
max_height: number | null;
|
|
189
|
-
width: number;
|
|
190
|
-
height: number;
|
|
191
191
|
is_resizable: boolean;
|
|
192
192
|
};
|
|
193
193
|
} & {
|
|
194
|
-
created_at: Date;
|
|
195
194
|
id: number;
|
|
195
|
+
height: number;
|
|
196
|
+
width: number;
|
|
197
|
+
created_at: Date;
|
|
196
198
|
updated_at: Date;
|
|
197
199
|
component_id: number;
|
|
198
|
-
width: number;
|
|
199
|
-
height: number;
|
|
200
200
|
dashboard_id: number;
|
|
201
201
|
x_axis: number;
|
|
202
202
|
y_axis: number;
|
|
@@ -324,10 +324,10 @@ export declare class DashboardCoreService {
|
|
|
324
324
|
icon: string;
|
|
325
325
|
is_home: boolean;
|
|
326
326
|
dashboard_locale: {
|
|
327
|
-
|
|
327
|
+
name: string;
|
|
328
328
|
id: number;
|
|
329
|
+
created_at: Date;
|
|
329
330
|
updated_at: Date;
|
|
330
|
-
name: string;
|
|
331
331
|
locale_id: number;
|
|
332
332
|
dashboard_id: number;
|
|
333
333
|
}[];
|
|
@@ -14,16 +14,18 @@ export declare class DashboardItemController {
|
|
|
14
14
|
}>;
|
|
15
15
|
createDashboardItem(data: CreateDashboardItemDTO, locale: string): Promise<{
|
|
16
16
|
dashboard: {
|
|
17
|
-
created_at: Date;
|
|
18
17
|
id: number;
|
|
18
|
+
created_at: Date;
|
|
19
19
|
updated_at: Date;
|
|
20
20
|
slug: string;
|
|
21
21
|
icon: string | null;
|
|
22
22
|
is_template: boolean;
|
|
23
23
|
};
|
|
24
24
|
dashboard_component: {
|
|
25
|
-
created_at: Date;
|
|
26
25
|
id: number;
|
|
26
|
+
height: number;
|
|
27
|
+
width: number;
|
|
28
|
+
created_at: Date;
|
|
27
29
|
updated_at: Date;
|
|
28
30
|
slug: string;
|
|
29
31
|
library_slug: string;
|
|
@@ -31,17 +33,15 @@ export declare class DashboardItemController {
|
|
|
31
33
|
max_width: number | null;
|
|
32
34
|
min_height: number;
|
|
33
35
|
max_height: number | null;
|
|
34
|
-
width: number;
|
|
35
|
-
height: number;
|
|
36
36
|
is_resizable: boolean;
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
|
-
created_at: Date;
|
|
40
39
|
id: number;
|
|
40
|
+
height: number;
|
|
41
|
+
width: number;
|
|
42
|
+
created_at: Date;
|
|
41
43
|
updated_at: Date;
|
|
42
44
|
component_id: number;
|
|
43
|
-
width: number;
|
|
44
|
-
height: number;
|
|
45
45
|
dashboard_id: number;
|
|
46
46
|
x_axis: number;
|
|
47
47
|
y_axis: number;
|
|
@@ -18,16 +18,18 @@ export declare class DashboardItemService {
|
|
|
18
18
|
}>;
|
|
19
19
|
createDashboardItem(data: CreateDashboardItemDTO, locale: string): Promise<{
|
|
20
20
|
dashboard: {
|
|
21
|
-
created_at: Date;
|
|
22
21
|
id: number;
|
|
22
|
+
created_at: Date;
|
|
23
23
|
updated_at: Date;
|
|
24
24
|
slug: string;
|
|
25
25
|
icon: string | null;
|
|
26
26
|
is_template: boolean;
|
|
27
27
|
};
|
|
28
28
|
dashboard_component: {
|
|
29
|
-
created_at: Date;
|
|
30
29
|
id: number;
|
|
30
|
+
height: number;
|
|
31
|
+
width: number;
|
|
32
|
+
created_at: Date;
|
|
31
33
|
updated_at: Date;
|
|
32
34
|
slug: string;
|
|
33
35
|
library_slug: string;
|
|
@@ -35,17 +37,15 @@ export declare class DashboardItemService {
|
|
|
35
37
|
max_width: number | null;
|
|
36
38
|
min_height: number;
|
|
37
39
|
max_height: number | null;
|
|
38
|
-
width: number;
|
|
39
|
-
height: number;
|
|
40
40
|
is_resizable: boolean;
|
|
41
41
|
};
|
|
42
42
|
} & {
|
|
43
|
-
created_at: Date;
|
|
44
43
|
id: number;
|
|
44
|
+
height: number;
|
|
45
|
+
width: number;
|
|
46
|
+
created_at: Date;
|
|
45
47
|
updated_at: Date;
|
|
46
48
|
component_id: number;
|
|
47
|
-
width: number;
|
|
48
|
-
height: number;
|
|
49
49
|
dashboard_id: number;
|
|
50
50
|
x_axis: number;
|
|
51
51
|
y_axis: number;
|
|
@@ -15,93 +15,93 @@ export declare class DashboardRoleController {
|
|
|
15
15
|
role: {
|
|
16
16
|
role_locale: ({
|
|
17
17
|
locale: {
|
|
18
|
-
created_at: Date;
|
|
19
|
-
id: number;
|
|
20
|
-
updated_at: Date;
|
|
21
|
-
name: string;
|
|
22
18
|
code: string;
|
|
19
|
+
name: string;
|
|
20
|
+
id: number;
|
|
23
21
|
region: string;
|
|
22
|
+
created_at: Date;
|
|
23
|
+
updated_at: Date;
|
|
24
24
|
enabled: boolean;
|
|
25
25
|
};
|
|
26
26
|
} & {
|
|
27
|
-
|
|
27
|
+
name: string;
|
|
28
28
|
id: number;
|
|
29
|
+
description: string | null;
|
|
30
|
+
created_at: Date;
|
|
29
31
|
updated_at: Date;
|
|
30
|
-
name: string;
|
|
31
32
|
locale_id: number;
|
|
32
|
-
description: string | null;
|
|
33
33
|
role_id: number;
|
|
34
34
|
})[];
|
|
35
35
|
} & {
|
|
36
|
-
created_at: Date;
|
|
37
36
|
id: number;
|
|
37
|
+
created_at: Date;
|
|
38
38
|
updated_at: Date;
|
|
39
39
|
slug: string;
|
|
40
40
|
};
|
|
41
41
|
} & {
|
|
42
|
-
created_at: Date;
|
|
43
42
|
id: number;
|
|
43
|
+
created_at: Date;
|
|
44
44
|
updated_at: Date;
|
|
45
45
|
role_id: number;
|
|
46
46
|
dashboard_id: number;
|
|
47
47
|
})[]>;
|
|
48
48
|
create(data: CreateDashboardRoleDTO, locale: string): Promise<{
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
role: {
|
|
50
|
+
role_locale: ({
|
|
51
51
|
locale: {
|
|
52
|
-
created_at: Date;
|
|
53
|
-
id: number;
|
|
54
|
-
updated_at: Date;
|
|
55
|
-
name: string;
|
|
56
52
|
code: string;
|
|
53
|
+
name: string;
|
|
54
|
+
id: number;
|
|
57
55
|
region: string;
|
|
56
|
+
created_at: Date;
|
|
57
|
+
updated_at: Date;
|
|
58
58
|
enabled: boolean;
|
|
59
59
|
};
|
|
60
60
|
} & {
|
|
61
|
-
|
|
61
|
+
name: string;
|
|
62
62
|
id: number;
|
|
63
|
+
description: string | null;
|
|
64
|
+
created_at: Date;
|
|
63
65
|
updated_at: Date;
|
|
64
|
-
name: string;
|
|
65
66
|
locale_id: number;
|
|
66
|
-
|
|
67
|
+
role_id: number;
|
|
67
68
|
})[];
|
|
68
69
|
} & {
|
|
69
|
-
created_at: Date;
|
|
70
70
|
id: number;
|
|
71
|
+
created_at: Date;
|
|
71
72
|
updated_at: Date;
|
|
72
73
|
slug: string;
|
|
73
|
-
icon: string | null;
|
|
74
|
-
is_template: boolean;
|
|
75
74
|
};
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
dashboard: {
|
|
76
|
+
dashboard_locale: ({
|
|
78
77
|
locale: {
|
|
79
|
-
created_at: Date;
|
|
80
|
-
id: number;
|
|
81
|
-
updated_at: Date;
|
|
82
|
-
name: string;
|
|
83
78
|
code: string;
|
|
79
|
+
name: string;
|
|
80
|
+
id: number;
|
|
84
81
|
region: string;
|
|
82
|
+
created_at: Date;
|
|
83
|
+
updated_at: Date;
|
|
85
84
|
enabled: boolean;
|
|
86
85
|
};
|
|
87
86
|
} & {
|
|
88
|
-
|
|
87
|
+
name: string;
|
|
89
88
|
id: number;
|
|
89
|
+
created_at: Date;
|
|
90
90
|
updated_at: Date;
|
|
91
|
-
name: string;
|
|
92
91
|
locale_id: number;
|
|
93
|
-
|
|
94
|
-
role_id: number;
|
|
92
|
+
dashboard_id: number;
|
|
95
93
|
})[];
|
|
96
94
|
} & {
|
|
97
|
-
created_at: Date;
|
|
98
95
|
id: number;
|
|
96
|
+
created_at: Date;
|
|
99
97
|
updated_at: Date;
|
|
100
98
|
slug: string;
|
|
99
|
+
icon: string | null;
|
|
100
|
+
is_template: boolean;
|
|
101
101
|
};
|
|
102
102
|
} & {
|
|
103
|
-
created_at: Date;
|
|
104
103
|
id: number;
|
|
104
|
+
created_at: Date;
|
|
105
105
|
updated_at: Date;
|
|
106
106
|
role_id: number;
|
|
107
107
|
dashboard_id: number;
|