@hed-hog/core 0.0.330 → 0.0.331
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/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/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/users/page.tsx.ejs +1 -1
- package/hedhog/frontend/messages/en.json +34 -1
- package/hedhog/frontend/messages/pt.json +34 -1
- package/package.json +3 -3
|
@@ -19,26 +19,28 @@ export declare class DashboardService {
|
|
|
19
19
|
dashboard_component: {
|
|
20
20
|
dashboard_component_locale: ({
|
|
21
21
|
locale: {
|
|
22
|
-
created_at: Date;
|
|
23
|
-
id: number;
|
|
24
|
-
updated_at: Date;
|
|
25
|
-
name: string;
|
|
26
22
|
code: string;
|
|
23
|
+
name: string;
|
|
24
|
+
id: number;
|
|
27
25
|
region: string;
|
|
26
|
+
created_at: Date;
|
|
27
|
+
updated_at: Date;
|
|
28
28
|
enabled: boolean;
|
|
29
29
|
};
|
|
30
30
|
} & {
|
|
31
|
-
|
|
31
|
+
name: string;
|
|
32
32
|
id: number;
|
|
33
|
+
description: string;
|
|
34
|
+
created_at: Date;
|
|
33
35
|
updated_at: Date;
|
|
34
|
-
name: string;
|
|
35
36
|
locale_id: number;
|
|
36
|
-
description: string;
|
|
37
37
|
dashboard_component_id: number;
|
|
38
38
|
})[];
|
|
39
39
|
} & {
|
|
40
|
-
created_at: Date;
|
|
41
40
|
id: number;
|
|
41
|
+
height: number;
|
|
42
|
+
width: number;
|
|
43
|
+
created_at: Date;
|
|
42
44
|
updated_at: Date;
|
|
43
45
|
slug: string;
|
|
44
46
|
library_slug: string;
|
|
@@ -46,36 +48,34 @@ export declare class DashboardService {
|
|
|
46
48
|
max_width: number | null;
|
|
47
49
|
min_height: number;
|
|
48
50
|
max_height: number | null;
|
|
49
|
-
width: number;
|
|
50
|
-
height: number;
|
|
51
51
|
is_resizable: boolean;
|
|
52
52
|
};
|
|
53
53
|
} & {
|
|
54
|
-
created_at: Date;
|
|
55
54
|
id: number;
|
|
55
|
+
height: number;
|
|
56
|
+
width: number;
|
|
57
|
+
created_at: Date;
|
|
56
58
|
updated_at: Date;
|
|
57
59
|
component_id: number;
|
|
58
|
-
width: number;
|
|
59
|
-
height: number;
|
|
60
60
|
dashboard_id: number;
|
|
61
61
|
x_axis: number;
|
|
62
62
|
y_axis: number;
|
|
63
63
|
})[];
|
|
64
64
|
dashboard_locale: ({
|
|
65
65
|
locale: {
|
|
66
|
-
created_at: Date;
|
|
67
|
-
id: number;
|
|
68
|
-
updated_at: Date;
|
|
69
|
-
name: string;
|
|
70
66
|
code: string;
|
|
67
|
+
name: string;
|
|
68
|
+
id: number;
|
|
71
69
|
region: string;
|
|
70
|
+
created_at: Date;
|
|
71
|
+
updated_at: Date;
|
|
72
72
|
enabled: boolean;
|
|
73
73
|
};
|
|
74
74
|
} & {
|
|
75
|
-
|
|
75
|
+
name: string;
|
|
76
76
|
id: number;
|
|
77
|
+
created_at: Date;
|
|
77
78
|
updated_at: Date;
|
|
78
|
-
name: string;
|
|
79
79
|
locale_id: number;
|
|
80
80
|
dashboard_id: number;
|
|
81
81
|
})[];
|
|
@@ -83,39 +83,39 @@ export declare class DashboardService {
|
|
|
83
83
|
role: {
|
|
84
84
|
role_locale: ({
|
|
85
85
|
locale: {
|
|
86
|
-
created_at: Date;
|
|
87
|
-
id: number;
|
|
88
|
-
updated_at: Date;
|
|
89
|
-
name: string;
|
|
90
86
|
code: string;
|
|
87
|
+
name: string;
|
|
88
|
+
id: number;
|
|
91
89
|
region: string;
|
|
90
|
+
created_at: Date;
|
|
91
|
+
updated_at: Date;
|
|
92
92
|
enabled: boolean;
|
|
93
93
|
};
|
|
94
94
|
} & {
|
|
95
|
-
|
|
95
|
+
name: string;
|
|
96
96
|
id: number;
|
|
97
|
+
description: string | null;
|
|
98
|
+
created_at: Date;
|
|
97
99
|
updated_at: Date;
|
|
98
|
-
name: string;
|
|
99
100
|
locale_id: number;
|
|
100
|
-
description: string | null;
|
|
101
101
|
role_id: number;
|
|
102
102
|
})[];
|
|
103
103
|
} & {
|
|
104
|
-
created_at: Date;
|
|
105
104
|
id: number;
|
|
105
|
+
created_at: Date;
|
|
106
106
|
updated_at: Date;
|
|
107
107
|
slug: string;
|
|
108
108
|
};
|
|
109
109
|
} & {
|
|
110
|
-
created_at: Date;
|
|
111
110
|
id: number;
|
|
111
|
+
created_at: Date;
|
|
112
112
|
updated_at: Date;
|
|
113
113
|
role_id: number;
|
|
114
114
|
dashboard_id: number;
|
|
115
115
|
})[];
|
|
116
116
|
} & {
|
|
117
|
-
created_at: Date;
|
|
118
117
|
id: number;
|
|
118
|
+
created_at: Date;
|
|
119
119
|
updated_at: Date;
|
|
120
120
|
slug: string;
|
|
121
121
|
icon: string | null;
|
|
@@ -126,26 +126,28 @@ export declare class DashboardService {
|
|
|
126
126
|
dashboard_component: {
|
|
127
127
|
dashboard_component_locale: ({
|
|
128
128
|
locale: {
|
|
129
|
-
created_at: Date;
|
|
130
|
-
id: number;
|
|
131
|
-
updated_at: Date;
|
|
132
|
-
name: string;
|
|
133
129
|
code: string;
|
|
130
|
+
name: string;
|
|
131
|
+
id: number;
|
|
134
132
|
region: string;
|
|
133
|
+
created_at: Date;
|
|
134
|
+
updated_at: Date;
|
|
135
135
|
enabled: boolean;
|
|
136
136
|
};
|
|
137
137
|
} & {
|
|
138
|
-
|
|
138
|
+
name: string;
|
|
139
139
|
id: number;
|
|
140
|
+
description: string;
|
|
141
|
+
created_at: Date;
|
|
140
142
|
updated_at: Date;
|
|
141
|
-
name: string;
|
|
142
143
|
locale_id: number;
|
|
143
|
-
description: string;
|
|
144
144
|
dashboard_component_id: number;
|
|
145
145
|
})[];
|
|
146
146
|
} & {
|
|
147
|
-
created_at: Date;
|
|
148
147
|
id: number;
|
|
148
|
+
height: number;
|
|
149
|
+
width: number;
|
|
150
|
+
created_at: Date;
|
|
149
151
|
updated_at: Date;
|
|
150
152
|
slug: string;
|
|
151
153
|
library_slug: string;
|
|
@@ -153,36 +155,34 @@ export declare class DashboardService {
|
|
|
153
155
|
max_width: number | null;
|
|
154
156
|
min_height: number;
|
|
155
157
|
max_height: number | null;
|
|
156
|
-
width: number;
|
|
157
|
-
height: number;
|
|
158
158
|
is_resizable: boolean;
|
|
159
159
|
};
|
|
160
160
|
} & {
|
|
161
|
-
created_at: Date;
|
|
162
161
|
id: number;
|
|
162
|
+
height: number;
|
|
163
|
+
width: number;
|
|
164
|
+
created_at: Date;
|
|
163
165
|
updated_at: Date;
|
|
164
166
|
component_id: number;
|
|
165
|
-
width: number;
|
|
166
|
-
height: number;
|
|
167
167
|
dashboard_id: number;
|
|
168
168
|
x_axis: number;
|
|
169
169
|
y_axis: number;
|
|
170
170
|
})[];
|
|
171
171
|
dashboard_locale: ({
|
|
172
172
|
locale: {
|
|
173
|
-
created_at: Date;
|
|
174
|
-
id: number;
|
|
175
|
-
updated_at: Date;
|
|
176
|
-
name: string;
|
|
177
173
|
code: string;
|
|
174
|
+
name: string;
|
|
175
|
+
id: number;
|
|
178
176
|
region: string;
|
|
177
|
+
created_at: Date;
|
|
178
|
+
updated_at: Date;
|
|
179
179
|
enabled: boolean;
|
|
180
180
|
};
|
|
181
181
|
} & {
|
|
182
|
-
|
|
182
|
+
name: string;
|
|
183
183
|
id: number;
|
|
184
|
+
created_at: Date;
|
|
184
185
|
updated_at: Date;
|
|
185
|
-
name: string;
|
|
186
186
|
locale_id: number;
|
|
187
187
|
dashboard_id: number;
|
|
188
188
|
})[];
|
|
@@ -190,39 +190,39 @@ export declare class DashboardService {
|
|
|
190
190
|
role: {
|
|
191
191
|
role_locale: ({
|
|
192
192
|
locale: {
|
|
193
|
-
created_at: Date;
|
|
194
|
-
id: number;
|
|
195
|
-
updated_at: Date;
|
|
196
|
-
name: string;
|
|
197
193
|
code: string;
|
|
194
|
+
name: string;
|
|
195
|
+
id: number;
|
|
198
196
|
region: string;
|
|
197
|
+
created_at: Date;
|
|
198
|
+
updated_at: Date;
|
|
199
199
|
enabled: boolean;
|
|
200
200
|
};
|
|
201
201
|
} & {
|
|
202
|
-
|
|
202
|
+
name: string;
|
|
203
203
|
id: number;
|
|
204
|
+
description: string | null;
|
|
205
|
+
created_at: Date;
|
|
204
206
|
updated_at: Date;
|
|
205
|
-
name: string;
|
|
206
207
|
locale_id: number;
|
|
207
|
-
description: string | null;
|
|
208
208
|
role_id: number;
|
|
209
209
|
})[];
|
|
210
210
|
} & {
|
|
211
|
-
created_at: Date;
|
|
212
211
|
id: number;
|
|
212
|
+
created_at: Date;
|
|
213
213
|
updated_at: Date;
|
|
214
214
|
slug: string;
|
|
215
215
|
};
|
|
216
216
|
} & {
|
|
217
|
-
created_at: Date;
|
|
218
217
|
id: number;
|
|
218
|
+
created_at: Date;
|
|
219
219
|
updated_at: Date;
|
|
220
220
|
role_id: number;
|
|
221
221
|
dashboard_id: number;
|
|
222
222
|
})[];
|
|
223
223
|
} & {
|
|
224
|
-
created_at: Date;
|
|
225
224
|
id: number;
|
|
225
|
+
created_at: Date;
|
|
226
226
|
updated_at: Date;
|
|
227
227
|
slug: string;
|
|
228
228
|
icon: string | null;
|
|
@@ -233,26 +233,28 @@ export declare class DashboardService {
|
|
|
233
233
|
dashboard_component: {
|
|
234
234
|
dashboard_component_locale: ({
|
|
235
235
|
locale: {
|
|
236
|
-
created_at: Date;
|
|
237
|
-
id: number;
|
|
238
|
-
updated_at: Date;
|
|
239
|
-
name: string;
|
|
240
236
|
code: string;
|
|
237
|
+
name: string;
|
|
238
|
+
id: number;
|
|
241
239
|
region: string;
|
|
240
|
+
created_at: Date;
|
|
241
|
+
updated_at: Date;
|
|
242
242
|
enabled: boolean;
|
|
243
243
|
};
|
|
244
244
|
} & {
|
|
245
|
-
|
|
245
|
+
name: string;
|
|
246
246
|
id: number;
|
|
247
|
+
description: string;
|
|
248
|
+
created_at: Date;
|
|
247
249
|
updated_at: Date;
|
|
248
|
-
name: string;
|
|
249
250
|
locale_id: number;
|
|
250
|
-
description: string;
|
|
251
251
|
dashboard_component_id: number;
|
|
252
252
|
})[];
|
|
253
253
|
} & {
|
|
254
|
-
created_at: Date;
|
|
255
254
|
id: number;
|
|
255
|
+
height: number;
|
|
256
|
+
width: number;
|
|
257
|
+
created_at: Date;
|
|
256
258
|
updated_at: Date;
|
|
257
259
|
slug: string;
|
|
258
260
|
library_slug: string;
|
|
@@ -260,36 +262,34 @@ export declare class DashboardService {
|
|
|
260
262
|
max_width: number | null;
|
|
261
263
|
min_height: number;
|
|
262
264
|
max_height: number | null;
|
|
263
|
-
width: number;
|
|
264
|
-
height: number;
|
|
265
265
|
is_resizable: boolean;
|
|
266
266
|
};
|
|
267
267
|
} & {
|
|
268
|
-
created_at: Date;
|
|
269
268
|
id: number;
|
|
269
|
+
height: number;
|
|
270
|
+
width: number;
|
|
271
|
+
created_at: Date;
|
|
270
272
|
updated_at: Date;
|
|
271
273
|
component_id: number;
|
|
272
|
-
width: number;
|
|
273
|
-
height: number;
|
|
274
274
|
dashboard_id: number;
|
|
275
275
|
x_axis: number;
|
|
276
276
|
y_axis: number;
|
|
277
277
|
})[];
|
|
278
278
|
dashboard_locale: ({
|
|
279
279
|
locale: {
|
|
280
|
-
created_at: Date;
|
|
281
|
-
id: number;
|
|
282
|
-
updated_at: Date;
|
|
283
|
-
name: string;
|
|
284
280
|
code: string;
|
|
281
|
+
name: string;
|
|
282
|
+
id: number;
|
|
285
283
|
region: string;
|
|
284
|
+
created_at: Date;
|
|
285
|
+
updated_at: Date;
|
|
286
286
|
enabled: boolean;
|
|
287
287
|
};
|
|
288
288
|
} & {
|
|
289
|
-
|
|
289
|
+
name: string;
|
|
290
290
|
id: number;
|
|
291
|
+
created_at: Date;
|
|
291
292
|
updated_at: Date;
|
|
292
|
-
name: string;
|
|
293
293
|
locale_id: number;
|
|
294
294
|
dashboard_id: number;
|
|
295
295
|
})[];
|
|
@@ -297,39 +297,39 @@ export declare class DashboardService {
|
|
|
297
297
|
role: {
|
|
298
298
|
role_locale: ({
|
|
299
299
|
locale: {
|
|
300
|
-
created_at: Date;
|
|
301
|
-
id: number;
|
|
302
|
-
updated_at: Date;
|
|
303
|
-
name: string;
|
|
304
300
|
code: string;
|
|
301
|
+
name: string;
|
|
302
|
+
id: number;
|
|
305
303
|
region: string;
|
|
304
|
+
created_at: Date;
|
|
305
|
+
updated_at: Date;
|
|
306
306
|
enabled: boolean;
|
|
307
307
|
};
|
|
308
308
|
} & {
|
|
309
|
-
|
|
309
|
+
name: string;
|
|
310
310
|
id: number;
|
|
311
|
+
description: string | null;
|
|
312
|
+
created_at: Date;
|
|
311
313
|
updated_at: Date;
|
|
312
|
-
name: string;
|
|
313
314
|
locale_id: number;
|
|
314
|
-
description: string | null;
|
|
315
315
|
role_id: number;
|
|
316
316
|
})[];
|
|
317
317
|
} & {
|
|
318
|
-
created_at: Date;
|
|
319
318
|
id: number;
|
|
319
|
+
created_at: Date;
|
|
320
320
|
updated_at: Date;
|
|
321
321
|
slug: string;
|
|
322
322
|
};
|
|
323
323
|
} & {
|
|
324
|
-
created_at: Date;
|
|
325
324
|
id: number;
|
|
325
|
+
created_at: Date;
|
|
326
326
|
updated_at: Date;
|
|
327
327
|
role_id: number;
|
|
328
328
|
dashboard_id: number;
|
|
329
329
|
})[];
|
|
330
330
|
} & {
|
|
331
|
-
created_at: Date;
|
|
332
331
|
id: number;
|
|
332
|
+
created_at: Date;
|
|
333
333
|
updated_at: Date;
|
|
334
334
|
slug: string;
|
|
335
335
|
icon: string | null;
|
|
@@ -29,26 +29,28 @@ export declare class DashboardComponentController {
|
|
|
29
29
|
}): Promise<{
|
|
30
30
|
dashboard_component_locale: ({
|
|
31
31
|
locale: {
|
|
32
|
-
created_at: Date;
|
|
33
|
-
id: number;
|
|
34
|
-
updated_at: Date;
|
|
35
|
-
name: string;
|
|
36
32
|
code: string;
|
|
33
|
+
name: string;
|
|
34
|
+
id: number;
|
|
37
35
|
region: string;
|
|
36
|
+
created_at: Date;
|
|
37
|
+
updated_at: Date;
|
|
38
38
|
enabled: boolean;
|
|
39
39
|
};
|
|
40
40
|
} & {
|
|
41
|
-
|
|
41
|
+
name: string;
|
|
42
42
|
id: number;
|
|
43
|
+
description: string;
|
|
44
|
+
created_at: Date;
|
|
43
45
|
updated_at: Date;
|
|
44
|
-
name: string;
|
|
45
46
|
locale_id: number;
|
|
46
|
-
description: string;
|
|
47
47
|
dashboard_component_id: number;
|
|
48
48
|
})[];
|
|
49
49
|
} & {
|
|
50
|
-
created_at: Date;
|
|
51
50
|
id: number;
|
|
51
|
+
height: number;
|
|
52
|
+
width: number;
|
|
53
|
+
created_at: Date;
|
|
52
54
|
updated_at: Date;
|
|
53
55
|
slug: string;
|
|
54
56
|
library_slug: string;
|
|
@@ -56,33 +58,33 @@ export declare class DashboardComponentController {
|
|
|
56
58
|
max_width: number | null;
|
|
57
59
|
min_height: number;
|
|
58
60
|
max_height: number | null;
|
|
59
|
-
width: number;
|
|
60
|
-
height: number;
|
|
61
61
|
is_resizable: boolean;
|
|
62
62
|
}>;
|
|
63
63
|
createComponent(data: CreateDashboardComponentDTO, locale: string): Promise<{
|
|
64
64
|
dashboard_component_locale: ({
|
|
65
65
|
locale: {
|
|
66
|
-
created_at: Date;
|
|
67
|
-
id: number;
|
|
68
|
-
updated_at: Date;
|
|
69
|
-
name: string;
|
|
70
66
|
code: string;
|
|
67
|
+
name: string;
|
|
68
|
+
id: number;
|
|
71
69
|
region: string;
|
|
70
|
+
created_at: Date;
|
|
71
|
+
updated_at: Date;
|
|
72
72
|
enabled: boolean;
|
|
73
73
|
};
|
|
74
74
|
} & {
|
|
75
|
-
|
|
75
|
+
name: string;
|
|
76
76
|
id: number;
|
|
77
|
+
description: string;
|
|
78
|
+
created_at: Date;
|
|
77
79
|
updated_at: Date;
|
|
78
|
-
name: string;
|
|
79
80
|
locale_id: number;
|
|
80
|
-
description: string;
|
|
81
81
|
dashboard_component_id: number;
|
|
82
82
|
})[];
|
|
83
83
|
} & {
|
|
84
|
-
created_at: Date;
|
|
85
84
|
id: number;
|
|
85
|
+
height: number;
|
|
86
|
+
width: number;
|
|
87
|
+
created_at: Date;
|
|
86
88
|
updated_at: Date;
|
|
87
89
|
slug: string;
|
|
88
90
|
library_slug: string;
|
|
@@ -90,33 +92,33 @@ export declare class DashboardComponentController {
|
|
|
90
92
|
max_width: number | null;
|
|
91
93
|
min_height: number;
|
|
92
94
|
max_height: number | null;
|
|
93
|
-
width: number;
|
|
94
|
-
height: number;
|
|
95
95
|
is_resizable: boolean;
|
|
96
96
|
}>;
|
|
97
97
|
updateComponent(id: number, data: UpdateDashboardComponentDTO, locale: string): Promise<{
|
|
98
98
|
dashboard_component_locale: ({
|
|
99
99
|
locale: {
|
|
100
|
-
created_at: Date;
|
|
101
|
-
id: number;
|
|
102
|
-
updated_at: Date;
|
|
103
|
-
name: string;
|
|
104
100
|
code: string;
|
|
101
|
+
name: string;
|
|
102
|
+
id: number;
|
|
105
103
|
region: string;
|
|
104
|
+
created_at: Date;
|
|
105
|
+
updated_at: Date;
|
|
106
106
|
enabled: boolean;
|
|
107
107
|
};
|
|
108
108
|
} & {
|
|
109
|
-
|
|
109
|
+
name: string;
|
|
110
110
|
id: number;
|
|
111
|
+
description: string;
|
|
112
|
+
created_at: Date;
|
|
111
113
|
updated_at: Date;
|
|
112
|
-
name: string;
|
|
113
114
|
locale_id: number;
|
|
114
|
-
description: string;
|
|
115
115
|
dashboard_component_id: number;
|
|
116
116
|
})[];
|
|
117
117
|
} & {
|
|
118
|
-
created_at: Date;
|
|
119
118
|
id: number;
|
|
119
|
+
height: number;
|
|
120
|
+
width: number;
|
|
121
|
+
created_at: Date;
|
|
120
122
|
updated_at: Date;
|
|
121
123
|
slug: string;
|
|
122
124
|
library_slug: string;
|
|
@@ -124,13 +126,13 @@ export declare class DashboardComponentController {
|
|
|
124
126
|
max_width: number | null;
|
|
125
127
|
min_height: number;
|
|
126
128
|
max_height: number | null;
|
|
127
|
-
width: number;
|
|
128
|
-
height: number;
|
|
129
129
|
is_resizable: boolean;
|
|
130
130
|
}>;
|
|
131
131
|
deleteComponent(id: number, locale: string): Promise<{
|
|
132
|
-
created_at: Date;
|
|
133
132
|
id: number;
|
|
133
|
+
height: number;
|
|
134
|
+
width: number;
|
|
135
|
+
created_at: Date;
|
|
134
136
|
updated_at: Date;
|
|
135
137
|
slug: string;
|
|
136
138
|
library_slug: string;
|
|
@@ -138,8 +140,6 @@ export declare class DashboardComponentController {
|
|
|
138
140
|
max_width: number | null;
|
|
139
141
|
min_height: number;
|
|
140
142
|
max_height: number | null;
|
|
141
|
-
width: number;
|
|
142
|
-
height: number;
|
|
143
143
|
is_resizable: boolean;
|
|
144
144
|
}>;
|
|
145
145
|
savePreview(id: number, file: MulterFile, locale: string): Promise<{
|
|
@@ -31,26 +31,28 @@ export declare class DashboardComponentService {
|
|
|
31
31
|
getComponent(id: number, locale: string, userId?: number): Promise<{
|
|
32
32
|
dashboard_component_locale: ({
|
|
33
33
|
locale: {
|
|
34
|
-
created_at: Date;
|
|
35
|
-
id: number;
|
|
36
|
-
updated_at: Date;
|
|
37
|
-
name: string;
|
|
38
34
|
code: string;
|
|
35
|
+
name: string;
|
|
36
|
+
id: number;
|
|
39
37
|
region: string;
|
|
38
|
+
created_at: Date;
|
|
39
|
+
updated_at: Date;
|
|
40
40
|
enabled: boolean;
|
|
41
41
|
};
|
|
42
42
|
} & {
|
|
43
|
-
|
|
43
|
+
name: string;
|
|
44
44
|
id: number;
|
|
45
|
+
description: string;
|
|
46
|
+
created_at: Date;
|
|
45
47
|
updated_at: Date;
|
|
46
|
-
name: string;
|
|
47
48
|
locale_id: number;
|
|
48
|
-
description: string;
|
|
49
49
|
dashboard_component_id: number;
|
|
50
50
|
})[];
|
|
51
51
|
} & {
|
|
52
|
-
created_at: Date;
|
|
53
52
|
id: number;
|
|
53
|
+
height: number;
|
|
54
|
+
width: number;
|
|
55
|
+
created_at: Date;
|
|
54
56
|
updated_at: Date;
|
|
55
57
|
slug: string;
|
|
56
58
|
library_slug: string;
|
|
@@ -58,33 +60,33 @@ export declare class DashboardComponentService {
|
|
|
58
60
|
max_width: number | null;
|
|
59
61
|
min_height: number;
|
|
60
62
|
max_height: number | null;
|
|
61
|
-
width: number;
|
|
62
|
-
height: number;
|
|
63
63
|
is_resizable: boolean;
|
|
64
64
|
}>;
|
|
65
65
|
createComponent(data: CreateDashboardComponentDTO, locale: string): Promise<{
|
|
66
66
|
dashboard_component_locale: ({
|
|
67
67
|
locale: {
|
|
68
|
-
created_at: Date;
|
|
69
|
-
id: number;
|
|
70
|
-
updated_at: Date;
|
|
71
|
-
name: string;
|
|
72
68
|
code: string;
|
|
69
|
+
name: string;
|
|
70
|
+
id: number;
|
|
73
71
|
region: string;
|
|
72
|
+
created_at: Date;
|
|
73
|
+
updated_at: Date;
|
|
74
74
|
enabled: boolean;
|
|
75
75
|
};
|
|
76
76
|
} & {
|
|
77
|
-
|
|
77
|
+
name: string;
|
|
78
78
|
id: number;
|
|
79
|
+
description: string;
|
|
80
|
+
created_at: Date;
|
|
79
81
|
updated_at: Date;
|
|
80
|
-
name: string;
|
|
81
82
|
locale_id: number;
|
|
82
|
-
description: string;
|
|
83
83
|
dashboard_component_id: number;
|
|
84
84
|
})[];
|
|
85
85
|
} & {
|
|
86
|
-
created_at: Date;
|
|
87
86
|
id: number;
|
|
87
|
+
height: number;
|
|
88
|
+
width: number;
|
|
89
|
+
created_at: Date;
|
|
88
90
|
updated_at: Date;
|
|
89
91
|
slug: string;
|
|
90
92
|
library_slug: string;
|
|
@@ -92,33 +94,33 @@ export declare class DashboardComponentService {
|
|
|
92
94
|
max_width: number | null;
|
|
93
95
|
min_height: number;
|
|
94
96
|
max_height: number | null;
|
|
95
|
-
width: number;
|
|
96
|
-
height: number;
|
|
97
97
|
is_resizable: boolean;
|
|
98
98
|
}>;
|
|
99
99
|
updateComponent(id: number, data: UpdateDashboardComponentDTO, locale: string): Promise<{
|
|
100
100
|
dashboard_component_locale: ({
|
|
101
101
|
locale: {
|
|
102
|
-
created_at: Date;
|
|
103
|
-
id: number;
|
|
104
|
-
updated_at: Date;
|
|
105
|
-
name: string;
|
|
106
102
|
code: string;
|
|
103
|
+
name: string;
|
|
104
|
+
id: number;
|
|
107
105
|
region: string;
|
|
106
|
+
created_at: Date;
|
|
107
|
+
updated_at: Date;
|
|
108
108
|
enabled: boolean;
|
|
109
109
|
};
|
|
110
110
|
} & {
|
|
111
|
-
|
|
111
|
+
name: string;
|
|
112
112
|
id: number;
|
|
113
|
+
description: string;
|
|
114
|
+
created_at: Date;
|
|
113
115
|
updated_at: Date;
|
|
114
|
-
name: string;
|
|
115
116
|
locale_id: number;
|
|
116
|
-
description: string;
|
|
117
117
|
dashboard_component_id: number;
|
|
118
118
|
})[];
|
|
119
119
|
} & {
|
|
120
|
-
created_at: Date;
|
|
121
120
|
id: number;
|
|
121
|
+
height: number;
|
|
122
|
+
width: number;
|
|
123
|
+
created_at: Date;
|
|
122
124
|
updated_at: Date;
|
|
123
125
|
slug: string;
|
|
124
126
|
library_slug: string;
|
|
@@ -126,13 +128,13 @@ export declare class DashboardComponentService {
|
|
|
126
128
|
max_width: number | null;
|
|
127
129
|
min_height: number;
|
|
128
130
|
max_height: number | null;
|
|
129
|
-
width: number;
|
|
130
|
-
height: number;
|
|
131
131
|
is_resizable: boolean;
|
|
132
132
|
}>;
|
|
133
133
|
deleteComponent(id: number, locale: string): Promise<{
|
|
134
|
-
created_at: Date;
|
|
135
134
|
id: number;
|
|
135
|
+
height: number;
|
|
136
|
+
width: number;
|
|
137
|
+
created_at: Date;
|
|
136
138
|
updated_at: Date;
|
|
137
139
|
slug: string;
|
|
138
140
|
library_slug: string;
|
|
@@ -140,8 +142,6 @@ export declare class DashboardComponentService {
|
|
|
140
142
|
max_width: number | null;
|
|
141
143
|
min_height: number;
|
|
142
144
|
max_height: number | null;
|
|
143
|
-
width: number;
|
|
144
|
-
height: number;
|
|
145
145
|
is_resizable: boolean;
|
|
146
146
|
}>;
|
|
147
147
|
private normalizeComponentIdentity;
|