@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
|
@@ -96,7 +96,7 @@ export default function UserPage() {
|
|
|
96
96
|
return (
|
|
97
97
|
<Page>
|
|
98
98
|
<PageHeader
|
|
99
|
-
breadcrumbs={[{ label: '
|
|
99
|
+
breadcrumbs={[{ label: t('home'), href: '/' }, { label: t('users') }]}
|
|
100
100
|
actions={[
|
|
101
101
|
{
|
|
102
102
|
label: t('buttonAddUser'),
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"tabAccounts": "Accounts",
|
|
69
69
|
"tabSessions": "Sessions",
|
|
70
70
|
"breadcrumbLabel": "Account",
|
|
71
|
+
"home": "Home",
|
|
71
72
|
"title": "Account",
|
|
72
73
|
"description": "Manage your account settings and preferences."
|
|
73
74
|
},
|
|
@@ -93,6 +94,7 @@
|
|
|
93
94
|
"languageRequired": "Language is required",
|
|
94
95
|
"themeRequired": "Theme is required",
|
|
95
96
|
"title": "Preferences",
|
|
97
|
+
"home": "Home",
|
|
96
98
|
"description": "Manage your user preferences and settings.",
|
|
97
99
|
"appearance": "Appearance",
|
|
98
100
|
"theme": "Theme",
|
|
@@ -202,6 +204,7 @@
|
|
|
202
204
|
"cancel": "Cancel",
|
|
203
205
|
"noRecentActivity": "No recent activity from this user.",
|
|
204
206
|
"users": "Users",
|
|
207
|
+
"home": "Home",
|
|
205
208
|
"tabPermissions": "Permissions",
|
|
206
209
|
"permissionsTitle": "User Permissions",
|
|
207
210
|
"permissionsDescription": "Manage roles assigned to this user",
|
|
@@ -245,6 +248,7 @@
|
|
|
245
248
|
"title": "Roles Management",
|
|
246
249
|
"description": "Manage all system roles and permissions",
|
|
247
250
|
"roles": "Roles",
|
|
251
|
+
"home": "Home",
|
|
248
252
|
"buttonAddRole": "Add Role",
|
|
249
253
|
"totalRoles": "Total Roles",
|
|
250
254
|
"totalUsers": "Total Users",
|
|
@@ -337,6 +341,80 @@
|
|
|
337
341
|
"goToNextPage": "Go to next page",
|
|
338
342
|
"goToLastPage": "Go to last page"
|
|
339
343
|
},
|
|
344
|
+
"RoutePage": {
|
|
345
|
+
"title": "Routes Management",
|
|
346
|
+
"description": "Manage HTTP routes, MCP tools, and their relationships.",
|
|
347
|
+
"routes": "Routes",
|
|
348
|
+
"home": "Home",
|
|
349
|
+
"buttonAddRoute": "Add route",
|
|
350
|
+
"buttonEditRoute": "Edit",
|
|
351
|
+
"buttonDeleteRoute": "Delete route",
|
|
352
|
+
"dialogAddRouteTitle": "Add new route",
|
|
353
|
+
"dialogAddRouteDescription": "Register an HTTP route or MCP tool and then relate roles and screens.",
|
|
354
|
+
"titleEditRoute": "Edit route",
|
|
355
|
+
"searchPlaceholder": "Search by URL, method, name, or tool...",
|
|
356
|
+
"viewMode": "View",
|
|
357
|
+
"viewModeCards": "Cards",
|
|
358
|
+
"viewModeList": "List",
|
|
359
|
+
"selectType": "Type",
|
|
360
|
+
"selectMethod": "HTTP method",
|
|
361
|
+
"allTypes": "All types",
|
|
362
|
+
"allMethods": "All methods",
|
|
363
|
+
"totalRoutes": "Total routes",
|
|
364
|
+
"httpRoutes": "HTTP routes",
|
|
365
|
+
"mcpRoutes": "MCP tools",
|
|
366
|
+
"filteredRoutes": "Results",
|
|
367
|
+
"noRoutesFound": "No routes found",
|
|
368
|
+
"emptyDescription": "Adjust the filters or create the first route to get started.",
|
|
369
|
+
"routeCreatedSuccess": "Route created successfully",
|
|
370
|
+
"routeUpdatedSuccess": "Route updated successfully",
|
|
371
|
+
"routeDeletedSuccess": "Route deleted successfully",
|
|
372
|
+
"serverError": "An error occurred. Please try again later.",
|
|
373
|
+
"tabBasicInfo": "Information",
|
|
374
|
+
"tabRoles": "Roles",
|
|
375
|
+
"tabScreens": "Screens",
|
|
376
|
+
"basicInfoTitle": "Route details",
|
|
377
|
+
"basicInfoDescription": "Define the route type and the data needed to identify it in the system.",
|
|
378
|
+
"formTypeLabel": "Type",
|
|
379
|
+
"formUrlLabel": "URL",
|
|
380
|
+
"formUrlPlaceholder": "/users/:id",
|
|
381
|
+
"formMethodLabel": "Method",
|
|
382
|
+
"formToolNameLabel": "Tool name",
|
|
383
|
+
"formToolNamePlaceholder": "core.users.routes",
|
|
384
|
+
"formNameLabel": "Display name",
|
|
385
|
+
"formNamePlaceholder": "List user routes",
|
|
386
|
+
"formOptionalNameLabel": "Internal name",
|
|
387
|
+
"formOptionalNamePlaceholder": "User read access",
|
|
388
|
+
"errorUrlRequired": "URL is required for HTTP routes",
|
|
389
|
+
"errorMethodRequired": "Method is required for HTTP routes",
|
|
390
|
+
"errorToolNameRequired": "Tool name is required for MCP routes",
|
|
391
|
+
"saveChanges": "Save changes",
|
|
392
|
+
"cancel": "Cancel",
|
|
393
|
+
"rolesTitle": "Linked roles",
|
|
394
|
+
"rolesDescription": "Enable or disable access to this route by role.",
|
|
395
|
+
"loadingRoles": "Loading roles...",
|
|
396
|
+
"searchRoles": "Search roles...",
|
|
397
|
+
"noRolesFound": "No roles found",
|
|
398
|
+
"roleAssigned": "Role linked successfully",
|
|
399
|
+
"roleRemoved": "Role removed successfully",
|
|
400
|
+
"errorAssigningRole": "Error linking role",
|
|
401
|
+
"errorRemovingRole": "Error removing role",
|
|
402
|
+
"screensTitle": "Linked screens",
|
|
403
|
+
"screensDescription": "Define which screens use or represent this route.",
|
|
404
|
+
"loadingScreens": "Loading screens...",
|
|
405
|
+
"searchScreens": "Search screens...",
|
|
406
|
+
"noScreensFound": "No screens found",
|
|
407
|
+
"screenAssigned": "Screen linked successfully",
|
|
408
|
+
"screenRemoved": "Screen removed successfully",
|
|
409
|
+
"errorAssigningScreen": "Error linking screen",
|
|
410
|
+
"errorRemovingScreen": "Error removing screen",
|
|
411
|
+
"rolesCount": "{count} roles",
|
|
412
|
+
"screensCount": "{count} screens",
|
|
413
|
+
"dialogDeleteRouteTitle": "Confirm route deletion",
|
|
414
|
+
"dialogDeleteRouteDescription": "Are you sure you want to delete this route? This action cannot be undone.",
|
|
415
|
+
"deleteRouteCancel": "Cancel",
|
|
416
|
+
"deleteRouteConfirm": "Delete route"
|
|
417
|
+
},
|
|
340
418
|
"MailPage": {
|
|
341
419
|
"breadcrumbHome": "Home",
|
|
342
420
|
"breadcrumbTitle": "Email Templates",
|
|
@@ -1026,12 +1104,40 @@
|
|
|
1026
1104
|
"settingUpdated": "Setting updated successfully.",
|
|
1027
1105
|
"settingUpdateFailed": "Failed to update setting.",
|
|
1028
1106
|
"iconRevalidated": "System icon revalidated successfully.",
|
|
1107
|
+
"hidePassword": "Hide password",
|
|
1108
|
+
"showPassword": "Show password",
|
|
1029
1109
|
"fileUploaded": "File uploaded successfully.",
|
|
1030
1110
|
"fileUploadFailed": "Failed to upload file.",
|
|
1111
|
+
"fileIdNotReturned": "File ID not returned.",
|
|
1112
|
+
"temporaryOpenUrlNotReturned": "Temporary open URL not returned.",
|
|
1031
1113
|
"uploadedFileAlt": "Uploaded file",
|
|
1032
1114
|
"fileUrlPlaceholder": "File URL",
|
|
1033
1115
|
"selectOption": "Select an option",
|
|
1034
|
-
"selectMailProfile": "Select a mail profile"
|
|
1116
|
+
"selectMailProfile": "Select a mail profile",
|
|
1117
|
+
"mailProfile": {
|
|
1118
|
+
"nameLabel": "Name *",
|
|
1119
|
+
"namePlaceholder": "My Mail Profile",
|
|
1120
|
+
"fromEmailLabel": "From Email *",
|
|
1121
|
+
"fromEmailPlaceholder": "no-reply@example.com",
|
|
1122
|
+
"providerLabel": "Provider *",
|
|
1123
|
+
"providers": {
|
|
1124
|
+
"ses": "Amazon SES"
|
|
1125
|
+
},
|
|
1126
|
+
"smtpHostLabel": "SMTP Host *",
|
|
1127
|
+
"smtpHostPlaceholder": "smtp.example.com",
|
|
1128
|
+
"smtpPortLabel": "SMTP Port *",
|
|
1129
|
+
"smtpPortPlaceholder": "587",
|
|
1130
|
+
"smtpUsernameLabel": "SMTP Username *",
|
|
1131
|
+
"smtpUsernamePlaceholder": "user@example.com",
|
|
1132
|
+
"smtpPasswordLabel": "SMTP Password *",
|
|
1133
|
+
"clientIdLabel": "Client ID *",
|
|
1134
|
+
"clientSecretLabel": "Client Secret *",
|
|
1135
|
+
"refreshTokenLabel": "Refresh Token *",
|
|
1136
|
+
"accessKeyIdLabel": "Access Key ID *",
|
|
1137
|
+
"secretAccessKeyLabel": "Secret Access Key *",
|
|
1138
|
+
"regionLabel": "Region *",
|
|
1139
|
+
"regionPlaceholder": "us-east-1"
|
|
1140
|
+
}
|
|
1035
1141
|
},
|
|
1036
1142
|
"AddWidgetDialog": {
|
|
1037
1143
|
"title": "Select Dashboard Components",
|
|
@@ -1556,6 +1662,7 @@
|
|
|
1556
1662
|
"title": "Menus Management",
|
|
1557
1663
|
"description": "Manage all system navigation menus",
|
|
1558
1664
|
"menus": "Menus",
|
|
1665
|
+
"home": "Home",
|
|
1559
1666
|
"totalMenus": "Total Menus",
|
|
1560
1667
|
"buttonAddMenu": "Add Menu",
|
|
1561
1668
|
"searchPlaceholder": "Search menus...",
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"tabAccounts": "Contas",
|
|
69
69
|
"tabSessions": "Sessões",
|
|
70
70
|
"breadcrumbLabel": "Conta",
|
|
71
|
+
"home": "Home",
|
|
71
72
|
"title": "Conta",
|
|
72
73
|
"description": "Gerencie as configurações e preferências da sua conta."
|
|
73
74
|
},
|
|
@@ -93,6 +94,7 @@
|
|
|
93
94
|
"languageRequired": "Idioma é obrigatório",
|
|
94
95
|
"themeRequired": "Tema é obrigatório",
|
|
95
96
|
"title": "Preferências",
|
|
97
|
+
"home": "Home",
|
|
96
98
|
"description": "Gerencie suas preferências de usuário e configurações.",
|
|
97
99
|
"appearance": "Aparência",
|
|
98
100
|
"theme": "Tema",
|
|
@@ -202,6 +204,7 @@
|
|
|
202
204
|
"cancel": "Cancelar",
|
|
203
205
|
"noRecentActivity": "Nenhuma atividade recente deste usuário.",
|
|
204
206
|
"users": "Usuários",
|
|
207
|
+
"home": "Home",
|
|
205
208
|
"tabPermissions": "Permissões",
|
|
206
209
|
"permissionsTitle": "Permissões do Usuário",
|
|
207
210
|
"permissionsDescription": "Gerencie os cargos atribuídos a este usuário",
|
|
@@ -245,6 +248,7 @@
|
|
|
245
248
|
"title": "Gerenciamento de Cargos",
|
|
246
249
|
"description": "Gerencie todos os cargos e permissões do sistema",
|
|
247
250
|
"roles": "Cargos",
|
|
251
|
+
"home": "Home",
|
|
248
252
|
"buttonAddRole": "Adicionar Cargo",
|
|
249
253
|
"totalRoles": "Total de Cargos",
|
|
250
254
|
"totalUsers": "Total de Usuários",
|
|
@@ -337,6 +341,80 @@
|
|
|
337
341
|
"goToNextPage": "Ir para próxima página",
|
|
338
342
|
"goToLastPage": "Ir para última página"
|
|
339
343
|
},
|
|
344
|
+
"RoutePage": {
|
|
345
|
+
"title": "Gerenciamento de Rotas",
|
|
346
|
+
"description": "Gerencie rotas HTTP, ferramentas MCP e seus relacionamentos.",
|
|
347
|
+
"routes": "Rotas",
|
|
348
|
+
"home": "Home",
|
|
349
|
+
"buttonAddRoute": "Adicionar rota",
|
|
350
|
+
"buttonEditRoute": "Editar",
|
|
351
|
+
"buttonDeleteRoute": "Excluir rota",
|
|
352
|
+
"dialogAddRouteTitle": "Adicionar nova rota",
|
|
353
|
+
"dialogAddRouteDescription": "Cadastre uma rota HTTP ou ferramenta MCP e depois relacione cargos e telas.",
|
|
354
|
+
"titleEditRoute": "Editar rota",
|
|
355
|
+
"searchPlaceholder": "Pesquisar por URL, método, nome ou ferramenta...",
|
|
356
|
+
"viewMode": "Visualização",
|
|
357
|
+
"viewModeCards": "Cards",
|
|
358
|
+
"viewModeList": "Lista",
|
|
359
|
+
"selectType": "Tipo",
|
|
360
|
+
"selectMethod": "Método HTTP",
|
|
361
|
+
"allTypes": "Todos os tipos",
|
|
362
|
+
"allMethods": "Todos os métodos",
|
|
363
|
+
"totalRoutes": "Total de rotas",
|
|
364
|
+
"httpRoutes": "Rotas HTTP",
|
|
365
|
+
"mcpRoutes": "Ferramentas MCP",
|
|
366
|
+
"filteredRoutes": "Resultados",
|
|
367
|
+
"noRoutesFound": "Nenhuma rota encontrada",
|
|
368
|
+
"emptyDescription": "Ajuste os filtros ou crie a primeira rota para começar.",
|
|
369
|
+
"routeCreatedSuccess": "Rota criada com sucesso",
|
|
370
|
+
"routeUpdatedSuccess": "Rota atualizada com sucesso",
|
|
371
|
+
"routeDeletedSuccess": "Rota excluída com sucesso",
|
|
372
|
+
"serverError": "Ocorreu um erro. Por favor, tente novamente mais tarde.",
|
|
373
|
+
"tabBasicInfo": "Informações",
|
|
374
|
+
"tabRoles": "Cargos",
|
|
375
|
+
"tabScreens": "Telas",
|
|
376
|
+
"basicInfoTitle": "Dados da rota",
|
|
377
|
+
"basicInfoDescription": "Defina o tipo da rota e as informações necessárias para identificá-la no sistema.",
|
|
378
|
+
"formTypeLabel": "Tipo",
|
|
379
|
+
"formUrlLabel": "URL",
|
|
380
|
+
"formUrlPlaceholder": "/users/:id",
|
|
381
|
+
"formMethodLabel": "Método",
|
|
382
|
+
"formToolNameLabel": "Nome da ferramenta",
|
|
383
|
+
"formToolNamePlaceholder": "core.users.routes",
|
|
384
|
+
"formNameLabel": "Nome de exibição",
|
|
385
|
+
"formNamePlaceholder": "Listar rotas de usuários",
|
|
386
|
+
"formOptionalNameLabel": "Nome interno",
|
|
387
|
+
"formOptionalNamePlaceholder": "Leitura de usuários",
|
|
388
|
+
"errorUrlRequired": "A URL é obrigatória para rotas HTTP",
|
|
389
|
+
"errorMethodRequired": "O método é obrigatório para rotas HTTP",
|
|
390
|
+
"errorToolNameRequired": "O nome da ferramenta é obrigatório para rotas MCP",
|
|
391
|
+
"saveChanges": "Salvar alterações",
|
|
392
|
+
"cancel": "Cancelar",
|
|
393
|
+
"rolesTitle": "Cargos vinculados",
|
|
394
|
+
"rolesDescription": "Ative ou desative o acesso desta rota por cargo.",
|
|
395
|
+
"loadingRoles": "Carregando cargos...",
|
|
396
|
+
"searchRoles": "Buscar cargos...",
|
|
397
|
+
"noRolesFound": "Nenhum cargo encontrado",
|
|
398
|
+
"roleAssigned": "Cargo associado com sucesso",
|
|
399
|
+
"roleRemoved": "Cargo removido com sucesso",
|
|
400
|
+
"errorAssigningRole": "Erro ao associar cargo",
|
|
401
|
+
"errorRemovingRole": "Erro ao remover cargo",
|
|
402
|
+
"screensTitle": "Telas vinculadas",
|
|
403
|
+
"screensDescription": "Defina quais telas utilizam ou representam esta rota.",
|
|
404
|
+
"loadingScreens": "Carregando telas...",
|
|
405
|
+
"searchScreens": "Buscar telas...",
|
|
406
|
+
"noScreensFound": "Nenhuma tela encontrada",
|
|
407
|
+
"screenAssigned": "Tela associada com sucesso",
|
|
408
|
+
"screenRemoved": "Tela removida com sucesso",
|
|
409
|
+
"errorAssigningScreen": "Erro ao associar tela",
|
|
410
|
+
"errorRemovingScreen": "Erro ao remover tela",
|
|
411
|
+
"rolesCount": "{count} cargos",
|
|
412
|
+
"screensCount": "{count} telas",
|
|
413
|
+
"dialogDeleteRouteTitle": "Confirmar exclusão da rota",
|
|
414
|
+
"dialogDeleteRouteDescription": "Tem certeza que deseja excluir esta rota? Esta ação não pode ser desfeita.",
|
|
415
|
+
"deleteRouteCancel": "Cancelar",
|
|
416
|
+
"deleteRouteConfirm": "Excluir rota"
|
|
417
|
+
},
|
|
340
418
|
"MailPage": {
|
|
341
419
|
"breadcrumbHome": "Início",
|
|
342
420
|
"breadcrumbTitle": "Templates de E-mail",
|
|
@@ -1029,12 +1107,40 @@
|
|
|
1029
1107
|
"settingUpdated": "Configuração atualizada com sucesso.",
|
|
1030
1108
|
"settingUpdateFailed": "Falha ao atualizar configuração.",
|
|
1031
1109
|
"iconRevalidated": "Ícone do sistema revalidado com sucesso.",
|
|
1110
|
+
"hidePassword": "Ocultar senha",
|
|
1111
|
+
"showPassword": "Mostrar senha",
|
|
1032
1112
|
"fileUploaded": "Arquivo enviado com sucesso.",
|
|
1033
1113
|
"fileUploadFailed": "Falha ao enviar arquivo.",
|
|
1114
|
+
"fileIdNotReturned": "ID do arquivo não retornado.",
|
|
1115
|
+
"temporaryOpenUrlNotReturned": "URL temporária de abertura não retornada.",
|
|
1034
1116
|
"uploadedFileAlt": "Arquivo enviado",
|
|
1035
1117
|
"fileUrlPlaceholder": "URL do arquivo",
|
|
1036
1118
|
"selectOption": "Selecione uma opção",
|
|
1037
|
-
"selectMailProfile": "Selecione um perfil de email"
|
|
1119
|
+
"selectMailProfile": "Selecione um perfil de email",
|
|
1120
|
+
"mailProfile": {
|
|
1121
|
+
"nameLabel": "Nome *",
|
|
1122
|
+
"namePlaceholder": "Meu Perfil de Email",
|
|
1123
|
+
"fromEmailLabel": "Email de envio *",
|
|
1124
|
+
"fromEmailPlaceholder": "nao-responda@exemplo.com",
|
|
1125
|
+
"providerLabel": "Provedor *",
|
|
1126
|
+
"providers": {
|
|
1127
|
+
"ses": "Amazon SES"
|
|
1128
|
+
},
|
|
1129
|
+
"smtpHostLabel": "Host SMTP *",
|
|
1130
|
+
"smtpHostPlaceholder": "smtp.exemplo.com",
|
|
1131
|
+
"smtpPortLabel": "Porta SMTP *",
|
|
1132
|
+
"smtpPortPlaceholder": "587",
|
|
1133
|
+
"smtpUsernameLabel": "Usuário SMTP *",
|
|
1134
|
+
"smtpUsernamePlaceholder": "usuario@exemplo.com",
|
|
1135
|
+
"smtpPasswordLabel": "Senha SMTP *",
|
|
1136
|
+
"clientIdLabel": "Client ID *",
|
|
1137
|
+
"clientSecretLabel": "Client Secret *",
|
|
1138
|
+
"refreshTokenLabel": "Refresh Token *",
|
|
1139
|
+
"accessKeyIdLabel": "Access Key ID *",
|
|
1140
|
+
"secretAccessKeyLabel": "Secret Access Key *",
|
|
1141
|
+
"regionLabel": "Região *",
|
|
1142
|
+
"regionPlaceholder": "us-east-1"
|
|
1143
|
+
}
|
|
1038
1144
|
},
|
|
1039
1145
|
"AddWidgetDialog": {
|
|
1040
1146
|
"title": "Selecionar Componentes do Dashboard",
|
|
@@ -1611,6 +1717,7 @@
|
|
|
1611
1717
|
"title": "Gerenciamento de Menus",
|
|
1612
1718
|
"description": "Gerencie todos os menus de navegação do sistema",
|
|
1613
1719
|
"menus": "Menus",
|
|
1720
|
+
"home": "Home",
|
|
1614
1721
|
"totalMenus": "Total de Menus",
|
|
1615
1722
|
"buttonAddMenu": "Adicionar Menu",
|
|
1616
1723
|
"searchPlaceholder": "Pesquisar menus...",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hed-hog/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.332",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"speakeasy": "^2.0.0",
|
|
32
32
|
"uuid": "^11.1.0",
|
|
33
33
|
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
34
|
-
"@hed-hog/api-types": "0.0.1",
|
|
35
|
-
"@hed-hog/api-prisma": "0.0.6",
|
|
36
34
|
"@hed-hog/api": "0.0.8",
|
|
35
|
+
"@hed-hog/api-types": "0.0.1",
|
|
37
36
|
"@hed-hog/api-locale": "0.0.14",
|
|
38
|
-
"@hed-hog/api-
|
|
39
|
-
"@hed-hog/api-pagination": "0.0.7"
|
|
37
|
+
"@hed-hog/api-prisma": "0.0.6",
|
|
38
|
+
"@hed-hog/api-pagination": "0.0.7",
|
|
39
|
+
"@hed-hog/api-mail": "0.0.9"
|
|
40
40
|
},
|
|
41
41
|
"exports": {
|
|
42
42
|
".": {
|
|
@@ -31,6 +31,20 @@ export class RouteService {
|
|
|
31
31
|
where: {
|
|
32
32
|
OR,
|
|
33
33
|
},
|
|
34
|
+
include: {
|
|
35
|
+
role_route: {
|
|
36
|
+
select: {
|
|
37
|
+
route_id: true,
|
|
38
|
+
role_id: true,
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
route_screen: {
|
|
42
|
+
select: {
|
|
43
|
+
route_id: true,
|
|
44
|
+
screen_id: true,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
34
48
|
},
|
|
35
49
|
);
|
|
36
50
|
}
|