From ae68e1cc7863e1f68bf8e8df58749a798601da4d Mon Sep 17 00:00:00 2001 From: Daniel-Alvarenga Date: Thu, 16 May 2024 18:37:41 -0300 Subject: [PATCH] Finalized empresa clients, change some english words to pt-br and fix prisma schema --- client/src/components/ContactUs.vue | 2 +- client/src/components/Footer.vue | 2 +- client/src/components/Header.vue | 2 +- client/src/router/guards/guards.js | 135 +++--- client/src/router/routes/aluno.js | 5 +- client/src/router/routes/empresa.js | 31 +- client/src/router/routes/funcionario.js | 4 +- client/src/router/routes/professor.js | 4 +- client/src/services/api/empresa.js | 2 +- client/src/util/mixins.js | 11 +- .../src/views/admin/RegisterFuncionario.vue | 1 - client/src/views/aluno/Register.vue | 6 +- client/src/views/aluno/ValidateRegister.vue | 1 - client/src/views/empresa/Login.vue | 2 +- client/src/views/empresa/Recovery.vue | 3 +- client/src/views/empresa/Register.vue | 450 ++++++++++++++++++ client/src/views/empresa/Validate.vue | 423 ++++++---------- client/src/views/empresa/ValidateRecovery.vue | 43 +- client/src/views/funcionario/Validate.vue | 2 +- client/src/views/professor/Validate.vue | 2 +- server/prisma/schema.prisma | 2 +- .../modules/controllers/empresaControllers.ts | 6 +- server/src/modules/interfaces/empresaDTOs.ts | 2 +- .../empresa/RecoveryEmpresaUseCase.ts | 2 +- .../empresa/ValidateRecoveryEmpresa.ts | 6 +- .../empresa/registerEmpresaUseCase.ts | 8 +- server/src/router/routes/empresa.routes.ts | 7 +- 27 files changed, 757 insertions(+), 407 deletions(-) create mode 100644 client/src/views/empresa/Register.vue diff --git a/client/src/components/ContactUs.vue b/client/src/components/ContactUs.vue index 0c9c71e..fa2ebba 100644 --- a/client/src/components/ContactUs.vue +++ b/client/src/components/ContactUs.vue @@ -1,7 +1,7 @@