From a50ed1bb549756d569b405e289514a583fb01d3e Mon Sep 17 00:00:00 2001 From: ViniReiwz Date: Fri, 19 Dec 2025 16:37:14 -0300 Subject: [PATCH 1/6] =?UTF-8?q?Iniciando=20implementa=C3=A7=C3=A3o=20do=20?= =?UTF-8?q?'workflow:sync'.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Exportação de workflows a partir da página de exibição da definição implementada. Arquivo .json formatado e configuração do diretório destino também implementada. --- app/Console/Commands/WorkflowSync.php | 30 + app/Http/Controllers/WorkflowController.php | 23 + database/customData/Forms/forms.json | 738 ++++++++++++++++++ .../customData/Workflows/equivalencia.json | 285 +++++++ database/customData/Workflows/workflows.json | 285 +++++++ resources/views/showDefinition.blade.php | 2 + routes/web.php | 1 + 7 files changed, 1364 insertions(+) create mode 100644 app/Console/Commands/WorkflowSync.php create mode 100644 database/customData/Forms/forms.json create mode 100644 database/customData/Workflows/equivalencia.json create mode 100644 database/customData/Workflows/workflows.json diff --git a/app/Console/Commands/WorkflowSync.php b/app/Console/Commands/WorkflowSync.php new file mode 100644 index 0000000..fddb819 --- /dev/null +++ b/app/Console/Commands/WorkflowSync.php @@ -0,0 +1,30 @@ +firstOrFail(); + + $json_encoded = json_encode($workflowDef['definition'],JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE); + + fwrite($json_file,$json_encoded); + fclose($json_file); + + return redirect()->route('workflows.showDefinition',$workflowDef['name']); + } } diff --git a/database/customData/Forms/forms.json b/database/customData/Forms/forms.json new file mode 100644 index 0000000..e14b54c --- /dev/null +++ b/database/customData/Forms/forms.json @@ -0,0 +1,738 @@ +[ + { + "id": 1, + "name": "tr_inicio_conferencia", + "group": "", + "description": null, + "fields": [ + { + "name": "nome", + "type": "text", + "label": "Nome", + "required": true + }, + { + "name": "coddis", + "type": "text", + "label": "Código da disciplina que solicita equivalência", + "required": true + }, + { + "name": "obs", + "type": "textarea", + "label": "Observações", + "required": false + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 2, + "name": "tr_conferencia_inicio", + "group": "", + "description": null, + "fields": [ + { + "name": "retorno", + "type": "texttextarea", + "label": "Informações sobre retorno ao aluno", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 3, + "name": "tr_conferencia_indica", + "group": "", + "description": null, + "fields": [ + { + "name": "obs", + "type": "texttextarea", + "label": "Enviar ao departamento", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 4, + "name": "tr_indica_parecerista", + "group": "", + "description": null, + "fields": [ + { + "name": "obs", + "type": "texttextarea", + "label": "Nomear o docente a emitir o parecer", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 5, + "name": "tr_emite_parecer", + "group": "", + "description": null, + "fields": [ + { + "name": "parecer", + "type": "texttextarea", + "label": "Parecer", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 6, + "name": "tr_envia_apreciacao", + "group": "", + "description": null, + "fields": [ + { + "name": "obs", + "type": "texttextarea", + "label": "Observações sobre a apreciação", + "required": false + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 7, + "name": "tr_delibera_parecer", + "group": "", + "description": null, + "fields": [ + { + "name": "deliberacao", + "type": "texttextarea", + "label": "Deliberação sobre os pareceres emitidos", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 8, + "name": "tr_retorna_apreciacao", + "group": "", + "description": null, + "fields": [ + { + "name": "obs", + "type": "texttextarea", + "label": "Enviar pareceres à CoC", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 9, + "name": "tr_conferencia_apreciacao", + "group": "", + "description": null, + "fields": [ + { + "name": "obs", + "type": "texttextarea", + "label": "Solicitação à CoC", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 10, + "name": "tr_solicitacao_coc", + "group": "", + "description": null, + "fields": [ + { + "name": "obs", + "type": "texttextarea", + "label": "Enviar apreciação à CoC", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 11, + "name": "tr_envia_deliberacao", + "group": "", + "description": null, + "fields": [ + { + "name": "deliberacao", + "type": "texttextarea", + "label": "Deliberação sobre a apreciação", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 12, + "name": "tr_conferencia_deliberacao", + "group": "", + "description": null, + "fields": [ + { + "name": "obs", + "type": "texttextarea", + "label": "Enviar para cadastro", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 13, + "name": "tr_enviar_aprovada", + "group": "", + "description": null, + "fields": [ + { + "name": "obs", + "type": "texttextarea", + "label": "Cadastrar aprovada", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 14, + "name": "tr_enviar_negada", + "group": "", + "description": null, + "fields": [ + { + "name": "obs", + "type": "texttextarea", + "label": "Cadastrar negada", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 15, + "name": "tr_enviar_condicional", + "group": "", + "description": null, + "fields": [ + { + "name": "obs", + "type": "texttextarea", + "label": "Cadastrar condicional", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 16, + "name": "tr_enviar_avaliacao", + "group": "", + "description": null, + "fields": [ + { + "name": "avaliacao", + "type": "texttextarea", + "label": "Informações para avaliação", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 17, + "name": "tr_realizar_avaliacao", + "group": "", + "description": null, + "fields": [ + { + "name": "avaliacao", + "type": "texttextarea", + "label": "Informações sobre a avaliação", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 18, + "name": "tr_submeter_avaliacao", + "group": "", + "description": null, + "fields": [ + { + "name": "avaliacao_submetida", + "type": "texttextarea", + "label": "Submissão da avaliação para docente", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 19, + "name": "tr_delibera_avaliacao", + "group": "", + "description": null, + "fields": [ + { + "name": "parecer_docente", + "type": "texttextarea", + "label": "Parecer sobre a avaliação condicional", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 20, + "name": "tr_cadastrar_solicitacoes", + "group": "", + "description": null, + "fields": [ + { + "name": "cadastro", + "type": "texttextarea", + "label": "Cadastro das solicitações aprovadas", + "required": true + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 21, + "name": "tr_finalizar_enviar", + "group": "", + "description": null, + "fields": [ + { + "name": "obs", + "type": "texttextarea", + "label": "Observações sobre finalização", + "required": false + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-03-17T22:33:49.000000Z", + "updated_at": "2025-03-17T22:33:49.000000Z" + } +, + + { + "id": 22, + "name": "ArquivoTeste", + "group": "Arquivos", + "description": "sla", + "fields": [ + { + "name": "arquivo", + "type": "file", + "label": "Arquivo", + "accept": ".pdf, image\/*" + }, + { + "name": "definition_name", + "type": "hidden", + "value": "workflowDefinitionName" + }, + { + "name": "place", + "type": "hidden", + "value": "place_name" + }, + { + "name": "transition", + "type": "hidden", + "value": "transition_name" + } + ], + "created_at": "2025-11-12T12:01:42.000000Z", + "updated_at": "2025-11-12T12:01:42.000000Z" + } +] \ No newline at end of file diff --git a/database/customData/Workflows/equivalencia.json b/database/customData/Workflows/equivalencia.json new file mode 100644 index 0000000..01bec0b --- /dev/null +++ b/database/customData/Workflows/equivalencia.json @@ -0,0 +1,285 @@ +{ + "type": "workflow", + "title": "Solicitação de Equivalência de Disciplinas na Graduação", + "name": "equivalencia", + "description": "Workflow de equivalência de disciplinas", + "supports": [ + "App\\Equivalencia" + ], + "places": { + "aluno_inicio": { + "description": "Formulário de solicitação inicial", + "role": { + "Aluno": "aluno" + } + }, + "svgrad_conferencia": { + "description": "Conferência de documentos", + "role": { + "Serviço de Graduação": "svgrad" + } + }, + "depto_indica_docente": { + "description": "Indicar docente para emitir parecer", + "role": { + "Departamento": "depto" + } + }, + "docente_emite_parecer": { + "description": "Parecer sobre equivalência de disciplina", + "role": { + "Docente": "docente" + } + }, + "depto_envia_apreciacao": { + "description": "Enviar parecer para apreciação do conselho", + "role": { + "Departamento": "depto" + } + }, + "conselho_delibera": { + "description": "Deliberar sobre os pareceres emitidos", + "role": { + "Conselho do Departamento": "conselho" + } + }, + "depto_retorno_apreciacao": { + "description": "Enviar apreciação para a CoC", + "role": { + "Departamento": "depto" + } + }, + "svgrad_apreciacao_coc": { + "description": "Enviar apreciação para a CoC", + "role": { + "Serviço de Graduação": "svgrad" + } + }, + "coc_delibera_solicitacao": { + "description": "Deliberar sobre a solicitação", + "role": { + "CoC": "coc" + } + }, + "svgrad_recebe_deliberacao": { + "description": "Receber resposta da CoC", + "role": { + "Serviço de Graduação": "svgrad" + } + }, + "svgrad_cadastra_aprovadas": { + "description": "Cadastrar solicitações aprovadas", + "role": { + "Serviço de Graduação": "svgrad" + } + }, + "aluno_preavaliacao": { + "description": "Aluno necessita fazer avaliação", + "role": { + "Aluno": "aluno" + } + }, + "aluno_avaliacao": { + "description": "Avaliação", + "role": { + "Aluno": "aluno" + }, + "max": 1 + }, + "docente_avaliacao": { + "description": "Docente necessita elaborar avaliação", + "role": { + "Docente": "docente" + } + }, + "docente_delibera": { + "description": "Docente delibera sobre avaliação", + "role": { + "Docente": "docente" + } + }, + "svgrad_finaliza": { + "description": "Finalizar", + "role": { + "Serviço de Graduação": "svgrad" + } + }, + "aluno_fim": { + "description": "Confirmação de finalização", + "role": { + "Aluno": "aluno" + } + } + }, + "initial_places": "aluno_inicio", + "transitions": { + "tr_inicio_conferencia": { + "label": "Enviar para Serviço de Graduação", + "from": "aluno_inicio", + "tos": "svgrad_conferencia" + }, + "tr_conferencia_inicio": { + "label": "Retornar para aluno", + "from": "svgrad_conferencia", + "tos": "aluno_inicio", + "forms": [ + "ArquivoTeste" + ] + }, + "tr_conferencia_indica": { + "label": "Enviar para Departamento", + "from": "svgrad_conferencia", + "tos": "depto_indica_docente", + "forms": [ + "tr_conferencia_indica" + ] + }, + "tr_indica_parecerista": { + "label": "Indicar parecerista", + "from": "depto_indica_docente", + "tos": "docente_emite_parecer", + "forms": [ + "tr_indica_parecerista" + ] + }, + "tr_emite_parecer": { + "label": "Emitir parecer", + "from": "docente_emite_parecer", + "tos": "depto_envia_apreciacao", + "forms": [ + "tr_emite_parecer" + ] + }, + "tr_envia_apreciacao": { + "label": "Enviar para o Conselho do Departamento", + "from": "depto_envia_apreciacao", + "tos": "conselho_delibera", + "forms": [ + "tr_envia_apreciacao" + ] + }, + "tr_delibera_parecer": { + "label": "Enviar deliberação", + "from": "conselho_delibera", + "tos": "depto_retorno_apreciacao", + "forms": [ + "tr_delibera_parecer" + ] + }, + "tr_retorna_apreciacao": { + "label": "Solicitar envio à CoC para o Serviço de Graduação", + "from": "depto_retorno_apreciacao", + "tos": "svgrad_apreciacao_coc", + "forms": [ + "tr_retorna_apreciacao" + ] + }, + "tr_conferencia_apreciacao": { + "label": "Solicitar envio à CoC", + "from": "svgrad_conferencia", + "tos": "svgrad_apreciacao_coc", + "forms": [ + "tr_conferencia_apreciacao" + ] + }, + "tr_solicitacao_coc": { + "label": "Enviar solicitação para a CoC", + "from": "svgrad_apreciacao_coc", + "tos": "coc_delibera_solicitacao", + "forms": [ + "tr_solicitacao_coc" + ] + }, + "tr_envia_deliberacao": { + "label": "Enviar deliberação para o Serviço de Graduação", + "from": "coc_delibera_solicitacao", + "tos": "svgrad_recebe_deliberacao", + "forms": [ + "tr_envia_deliberacao" + ] + }, + "tr_conferencia_deliberacao": { + "label": "Enviar resposta da CoC para cadastro", + "from": "svgrad_conferencia", + "tos": "svgrad_recebe_deliberacao", + "forms": [ + "tr_conferencia_deliberacao" + ] + }, + "tr_enviar_condicional": { + "label": "Cadastrar condicional", + "from": "svgrad_recebe_deliberacao", + "tos": [ + "aluno_preavaliacao", + "docente_avaliacao" + ], + "forms": [ + "tr_enviar_condicional" + ] + }, + "tr_enviar_aprovada": { + "label": "Cadastrar aprovativa", + "from": "svgrad_recebe_deliberacao", + "tos": "svgrad_cadastra_aprovadas", + "forms": [ + "tr_enviar_aprovada" + ] + }, + "tr_enviar_negada": { + "label": "Cadastrar negativa", + "from": "svgrad_recebe_deliberacao", + "tos": "aluno_fim", + "forms": [ + "tr_enviar_negada" + ] + }, + "tr_cadastrar_solicitacoes": { + "label": "Finalizar cadastro de solicitações", + "from": "svgrad_cadastra_aprovadas", + "tos": "svgrad_finaliza", + "forms": [ + "tr_cadastrar_solicitacoes" + ] + }, + "tr_enviar_avaliacao": { + "label": "Realizar avaliação", + "from": "docente_avaliacao", + "tos": "aluno_avaliacao", + "forms": [ + "tr_enviar_avaliacao" + ] + }, + "tr_realizar_avaliacao": { + "label": "Realizar avaliação", + "from": "aluno_preavaliacao", + "tos": "aluno_avaliacao", + "forms": [ + "tr_realizar_avaliacao" + ] + }, + "tr_submeter_avaliacao": { + "label": "Submeter avaliação para docente", + "from": "aluno_avaliacao", + "tos": "docente_delibera", + "forms": [ + "tr_submeter_avaliacao" + ] + }, + "tr_delibera_avaliacao": { + "label": "Docente delibera sobre a avaliação", + "from": "docente_delibera", + "tos": "svgrad_recebe_deliberacao", + "forms": [ + "tr_delibera_avaliacao" + ] + }, + "tr_finalizar_enviar": { + "label": "Finalizar processo", + "from": "svgrad_finaliza", + "tos": "aluno_fim", + "forms": [ + "tr_finalizar_enviar" + ] + } + } +} \ No newline at end of file diff --git a/database/customData/Workflows/workflows.json b/database/customData/Workflows/workflows.json new file mode 100644 index 0000000..b1cce51 --- /dev/null +++ b/database/customData/Workflows/workflows.json @@ -0,0 +1,285 @@ +[{ + "type": "workflow", + "title": "Solicitação de Equivalência de Disciplinas na Graduação", + "name": "equivalencia", + "description": "Workflow de equivalência de disciplinas", + "supports": [ + "App\\Equivalencia" + ], + "places": { + "aluno_inicio": { + "description": "Formulário de solicitação inicial", + "role": { + "Aluno": "aluno" + } + }, + "svgrad_conferencia": { + "description": "Conferência de documentos", + "role": { + "Serviço de Graduação": "svgrad" + } + }, + "depto_indica_docente": { + "description": "Indicar docente para emitir parecer", + "role": { + "Departamento": "depto" + } + }, + "docente_emite_parecer": { + "description": "Parecer sobre equivalência de disciplina", + "role": { + "Docente": "docente" + } + }, + "depto_envia_apreciacao": { + "description": "Enviar parecer para apreciação do conselho", + "role": { + "Departamento": "depto" + } + }, + "conselho_delibera": { + "description": "Deliberar sobre os pareceres emitidos", + "role": { + "Conselho do Departamento": "conselho" + } + }, + "depto_retorno_apreciacao": { + "description": "Enviar apreciação para a CoC", + "role": { + "Departamento": "depto" + } + }, + "svgrad_apreciacao_coc": { + "description": "Enviar apreciação para a CoC", + "role": { + "Serviço de Graduação": "svgrad" + } + }, + "coc_delibera_solicitacao": { + "description": "Deliberar sobre a solicitação", + "role": { + "CoC": "coc" + } + }, + "svgrad_recebe_deliberacao": { + "description": "Receber resposta da CoC", + "role": { + "Serviço de Graduação": "svgrad" + } + }, + "svgrad_cadastra_aprovadas": { + "description": "Cadastrar solicitações aprovadas", + "role": { + "Serviço de Graduação": "svgrad" + } + }, + "aluno_preavaliacao": { + "description": "Aluno necessita fazer avaliação", + "role": { + "Aluno": "aluno" + } + }, + "aluno_avaliacao": { + "description": "Avaliação", + "role": { + "Aluno": "aluno" + }, + "max": 1 + }, + "docente_avaliacao": { + "description": "Docente necessita elaborar avaliação", + "role": { + "Docente": "docente" + } + }, + "docente_delibera": { + "description": "Docente delibera sobre avaliação", + "role": { + "Docente": "docente" + } + }, + "svgrad_finaliza": { + "description": "Finalizar", + "role": { + "Serviço de Graduação": "svgrad" + } + }, + "aluno_fim": { + "description": "Confirmação de finalização", + "role": { + "Aluno": "aluno" + } + } + }, + "initial_places": "aluno_inicio", + "transitions": { + "tr_inicio_conferencia": { + "label": "Enviar para Serviço de Graduação", + "from": "aluno_inicio", + "tos": "svgrad_conferencia" + }, + "tr_conferencia_inicio": { + "label": "Retornar para aluno", + "from": "svgrad_conferencia", + "tos": "aluno_inicio", + "forms": [ + "ArquivoTeste" + ] + }, + "tr_conferencia_indica": { + "label": "Enviar para Departamento", + "from": "svgrad_conferencia", + "tos": "depto_indica_docente", + "forms": [ + "tr_conferencia_indica" + ] + }, + "tr_indica_parecerista": { + "label": "Indicar parecerista", + "from": "depto_indica_docente", + "tos": "docente_emite_parecer", + "forms": [ + "tr_indica_parecerista" + ] + }, + "tr_emite_parecer": { + "label": "Emitir parecer", + "from": "docente_emite_parecer", + "tos": "depto_envia_apreciacao", + "forms": [ + "tr_emite_parecer" + ] + }, + "tr_envia_apreciacao": { + "label": "Enviar para o Conselho do Departamento", + "from": "depto_envia_apreciacao", + "tos": "conselho_delibera", + "forms": [ + "tr_envia_apreciacao" + ] + }, + "tr_delibera_parecer": { + "label": "Enviar deliberação", + "from": "conselho_delibera", + "tos": "depto_retorno_apreciacao", + "forms": [ + "tr_delibera_parecer" + ] + }, + "tr_retorna_apreciacao": { + "label": "Solicitar envio à CoC para o Serviço de Graduação", + "from": "depto_retorno_apreciacao", + "tos": "svgrad_apreciacao_coc", + "forms": [ + "tr_retorna_apreciacao" + ] + }, + "tr_conferencia_apreciacao": { + "label": "Solicitar envio à CoC", + "from": "svgrad_conferencia", + "tos": "svgrad_apreciacao_coc", + "forms": [ + "tr_conferencia_apreciacao" + ] + }, + "tr_solicitacao_coc": { + "label": "Enviar solicitação para a CoC", + "from": "svgrad_apreciacao_coc", + "tos": "coc_delibera_solicitacao", + "forms": [ + "tr_solicitacao_coc" + ] + }, + "tr_envia_deliberacao": { + "label": "Enviar deliberação para o Serviço de Graduação", + "from": "coc_delibera_solicitacao", + "tos": "svgrad_recebe_deliberacao", + "forms": [ + "tr_envia_deliberacao" + ] + }, + "tr_conferencia_deliberacao": { + "label": "Enviar resposta da CoC para cadastro", + "from": "svgrad_conferencia", + "tos": "svgrad_recebe_deliberacao", + "forms": [ + "tr_conferencia_deliberacao" + ] + }, + "tr_enviar_condicional": { + "label": "Cadastrar condicional", + "from": "svgrad_recebe_deliberacao", + "tos": [ + "aluno_preavaliacao", + "docente_avaliacao" + ], + "forms": [ + "tr_enviar_condicional" + ] + }, + "tr_enviar_aprovada": { + "label": "Cadastrar aprovativa", + "from": "svgrad_recebe_deliberacao", + "tos": "svgrad_cadastra_aprovadas", + "forms": [ + "tr_enviar_aprovada" + ] + }, + "tr_enviar_negada": { + "label": "Cadastrar negativa", + "from": "svgrad_recebe_deliberacao", + "tos": "aluno_fim", + "forms": [ + "tr_enviar_negada" + ] + }, + "tr_cadastrar_solicitacoes": { + "label": "Finalizar cadastro de solicitações", + "from": "svgrad_cadastra_aprovadas", + "tos": "svgrad_finaliza", + "forms": [ + "tr_cadastrar_solicitacoes" + ] + }, + "tr_enviar_avaliacao": { + "label": "Realizar avaliação", + "from": "docente_avaliacao", + "tos": "aluno_avaliacao", + "forms": [ + "tr_enviar_avaliacao" + ] + }, + "tr_realizar_avaliacao": { + "label": "Realizar avaliação", + "from": "aluno_preavaliacao", + "tos": "aluno_avaliacao", + "forms": [ + "tr_realizar_avaliacao" + ] + }, + "tr_submeter_avaliacao": { + "label": "Submeter avaliação para docente", + "from": "aluno_avaliacao", + "tos": "docente_delibera", + "forms": [ + "tr_submeter_avaliacao" + ] + }, + "tr_delibera_avaliacao": { + "label": "Docente delibera sobre a avaliação", + "from": "docente_delibera", + "tos": "svgrad_recebe_deliberacao", + "forms": [ + "tr_delibera_avaliacao" + ] + }, + "tr_finalizar_enviar": { + "label": "Finalizar processo", + "from": "svgrad_finaliza", + "tos": "aluno_fim", + "forms": [ + "tr_finalizar_enviar" + ] + } + } +}] \ No newline at end of file diff --git a/resources/views/showDefinition.blade.php b/resources/views/showDefinition.blade.php index 60ebcf2..2ec7c81 100644 --- a/resources/views/showDefinition.blade.php +++ b/resources/views/showDefinition.blade.php @@ -44,6 +44,8 @@

Detalhes do workflow {{ $workflowDefinitionData['definitionName'] }}

Editar workflow + Exportar workflow
diff --git a/routes/web.php b/routes/web.php index e18328c..1f59f8b 100644 --- a/routes/web.php +++ b/routes/web.php @@ -25,6 +25,7 @@ Route::delete('/definition/{definition}', [WorkflowController::class, 'destroyDefinition'])->name('workflows.destroyDefinition'); Route::get('/editdefinition/{definition}', [WorkflowController::class, 'editDefinition'])->name('workflows.editDefinition'); Route::post('/updatedefinition/', [WorkflowController::class, 'updateDefinition'])->name('workflows.updateDefinition'); + Route::get('/exportdefinition/{definitionName}',[WorkflowController::class,'exportDefinition'])->name('workflows.exportDefinition'); Route::get('/viewcreateobject', [WorkflowController::class, 'viewCreateObject'])->name('workflows.viewCreateObject'); Route::get('/createobject/{definitionName}', [WorkflowController::class, 'createObject'])->name('workflows.createObject'); From 9bca709ab38aee0673e7473cdf820cfdc24b7bda Mon Sep 17 00:00:00 2001 From: ViniReiwz Date: Mon, 5 Jan 2026 14:01:12 -0300 Subject: [PATCH 2/6] =?UTF-8?q?Vers=C3=A3o=20inicial=20do=20sync?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sincroniza as definiições de formulário e de workflow de acordo com os arquivos .json presente em database/customData/Forms e database/customData/Workflows. Faz a busca no banco de dados através do nome do workflow/formulário, portanto, ao alterar o nome, um novo workflow ou formulário é criado e persistido no banco de dados. --- app/Console/Commands/WorkflowSync.php | 61 ++++++++++++++++++++++++++- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/app/Console/Commands/WorkflowSync.php b/app/Console/Commands/WorkflowSync.php index fddb819..e51277d 100644 --- a/app/Console/Commands/WorkflowSync.php +++ b/app/Console/Commands/WorkflowSync.php @@ -3,6 +3,10 @@ namespace App\Console\Commands; use Illuminate\Console\Command; +use Uspdev\Forms\Http\Controllers\DefinitionController; +use Uspdev\Forms\Models\FormDefinition; +use Uspdev\Workflow\Models\WorkflowDefinition; +use function Laravel\Prompts\form; class WorkflowSync extends Command { @@ -25,6 +29,61 @@ class WorkflowSync extends Command */ public function handle() { - + $forms_dir = config('uspdev-forms.forms_storage_dir'); + $forms_arr = scandir($forms_dir); + foreach($forms_arr as $forms_json_filename) + { + if($forms_json_filename != '.' && $forms_json_filename != '..') + { + if($forms_json_filename != 'forms.json') + { + $definition_json = ''; + $forms_json_file = fopen($forms_dir . '/' . $forms_json_filename,'r'); + while(true) + { + $append = fgets($forms_json_file); + if($append == false){break;} + $definition_json = $definition_json . $append; + } + + $form_definition = json_decode($definition_json,true); + FormDefinition::updateOrCreate( + ['name' => $form_definition['name']], + [ + 'group' => $form_definition['group'], + 'description' => $form_definition['description'], + 'fields' => $form_definition['fields'] + ] + ); + fclose(($forms_json_file)); + } + } + } + + $workflow_dir = config('workflow.storagePath'); + $workflow_arr = scandir($workflow_dir); + foreach($workflow_arr as $workflow_json_filename) + { + if($workflow_json_filename != '.' && $workflow_json_filename != '..') + { + $wf_definition_json = ''; + $workflow_json_file = fopen($workflow_dir . '/' . $workflow_json_filename,'r'); + while(true) + { + $append = fgets($workflow_json_file); + if($append == false){break;} + $wf_definition_json = $wf_definition_json . $append; + } + $workflow_def = json_decode($wf_definition_json,true); + WorkflowDefinition::updateOrCreate( + ['name' => $workflow_def['name']], + [ + 'description' => $workflow_def['description'], + 'definition' => $workflow_def, + ] + ); + fclose($workflow_json_file); + } + } } } From 1b1c673a958dd4b0bc6e087acce4a3dc9eb3759e Mon Sep 17 00:00:00 2001 From: ViniReiwz Date: Tue, 6 Jan 2026 12:20:55 -0300 Subject: [PATCH 3/6] =?UTF-8?q?Exporta=C3=A7=C3=A3o=20de=20workflows=20rem?= =?UTF-8?q?anejada=20para=20'list-definitions',=20n=C3=A3o=20sendo=20neces?= =?UTF-8?q?s=C3=A1rio=20abrir=20a=20definition=20para=20export=C3=A1-la.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/WorkflowController.php | 2 +- resources/views/list.blade.php | 1 + resources/views/showDefinition.blade.php | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/WorkflowController.php b/app/Http/Controllers/WorkflowController.php index 56d8a90..78947e6 100644 --- a/app/Http/Controllers/WorkflowController.php +++ b/app/Http/Controllers/WorkflowController.php @@ -168,7 +168,7 @@ public function exportDefinition($definitionName) fwrite($json_file,$json_encoded); fclose($json_file); - return redirect()->route('workflows.showDefinition',$workflowDef['name']); + return redirect()->route('workflows.list-definitions')->with('alert-success','Workflow exportado com sucesso !'); } } diff --git a/resources/views/list.blade.php b/resources/views/list.blade.php index bda5f43..d994a92 100644 --- a/resources/views/list.blade.php +++ b/resources/views/list.blade.php @@ -36,6 +36,7 @@ class="d-inline"> + Exportar workflow @endforeach diff --git a/resources/views/showDefinition.blade.php b/resources/views/showDefinition.blade.php index 2ec7c81..60ebcf2 100644 --- a/resources/views/showDefinition.blade.php +++ b/resources/views/showDefinition.blade.php @@ -44,8 +44,6 @@

Detalhes do workflow {{ $workflowDefinitionData['definitionName'] }}

Editar workflow - Exportar workflow
From de799eb9709064e0c9cab10396bd7994f6eefc06 Mon Sep 17 00:00:00 2001 From: ViniReiwz Date: Thu, 5 Mar 2026 21:48:20 -0300 Subject: [PATCH 4/6] =?UTF-8?q?Atualiza=C3=A7=C3=A3o=20do=20.gitignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Agora a pasta customData que contem os .json do workflow e formulários é ignorada no commit. --- .gitignore | 1 + composer.lock | 79 +- database/customData/Forms/forms.json | 738 ------------------- database/customData/Workflows/workflows.json | 285 ------- 4 files changed, 40 insertions(+), 1063 deletions(-) delete mode 100644 database/customData/Forms/forms.json delete mode 100644 database/customData/Workflows/workflows.json diff --git a/.gitignore b/.gitignore index 71e6347..3e0075a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ /storage/*.key /storage/database.sqlite /vendor +/database/customData .env .env.backup .phpunit.result.cache diff --git a/composer.lock b/composer.lock index 7440601..02ec384 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "2e412f42d75819bbe3dcec16afa9c463", + "content-hash": "4a7223e8006b4f119ed34d188de63941", "packages": [ { "name": "brick/math", @@ -3317,16 +3317,16 @@ }, { "name": "phpseclib/phpseclib", - "version": "3.0.47", + "version": "3.0.48", "source": { "type": "git", "url": "https://github.com/phpseclib/phpseclib.git", - "reference": "9d6ca36a6c2dd434765b1071b2644a1c683b385d" + "reference": "64065a5679c50acb886e82c07aa139b0f757bb89" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/9d6ca36a6c2dd434765b1071b2644a1c683b385d", - "reference": "9d6ca36a6c2dd434765b1071b2644a1c683b385d", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/64065a5679c50acb886e82c07aa139b0f757bb89", + "reference": "64065a5679c50acb886e82c07aa139b0f757bb89", "shasum": "" }, "require": { @@ -3407,7 +3407,7 @@ ], "support": { "issues": "https://github.com/phpseclib/phpseclib/issues", - "source": "https://github.com/phpseclib/phpseclib/tree/3.0.47" + "source": "https://github.com/phpseclib/phpseclib/tree/3.0.48" }, "funding": [ { @@ -3423,7 +3423,7 @@ "type": "tidelift" } ], - "time": "2025-10-06T01:07:24+00:00" + "time": "2025-12-15T11:51:42+00:00" }, { "name": "psr/cache", @@ -3888,16 +3888,16 @@ }, { "name": "psy/psysh", - "version": "v0.12.16", + "version": "v0.12.18", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "ee6d5028be4774f56c6c2c85ec4e6bc9acfe6b67" + "reference": "ddff0ac01beddc251786fe70367cd8bbdb258196" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/ee6d5028be4774f56c6c2c85ec4e6bc9acfe6b67", - "reference": "ee6d5028be4774f56c6c2c85ec4e6bc9acfe6b67", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/ddff0ac01beddc251786fe70367cd8bbdb258196", + "reference": "ddff0ac01beddc251786fe70367cd8bbdb258196", "shasum": "" }, "require": { @@ -3961,9 +3961,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.12.16" + "source": "https://github.com/bobthecow/psysh/tree/v0.12.18" }, - "time": "2025-12-07T03:39:01+00:00" + "time": "2025-12-17T14:35:46+00:00" }, { "name": "ralouphie/getallheaders", @@ -4087,20 +4087,20 @@ }, { "name": "ramsey/uuid", - "version": "4.9.1", + "version": "4.9.2", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "81f941f6f729b1e3ceea61d9d014f8b6c6800440" + "reference": "8429c78ca35a09f27565311b98101e2826affde0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/81f941f6f729b1e3ceea61d9d014f8b6c6800440", - "reference": "81f941f6f729b1e3ceea61d9d014f8b6c6800440", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/8429c78ca35a09f27565311b98101e2826affde0", + "reference": "8429c78ca35a09f27565311b98101e2826affde0", "shasum": "" }, "require": { - "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13 || ^0.14", + "brick/math": "^0.8.16 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13 || ^0.14", "php": "^8.0", "ramsey/collection": "^1.2 || ^2.0" }, @@ -4159,9 +4159,9 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.9.1" + "source": "https://github.com/ramsey/uuid/tree/4.9.2" }, - "time": "2025-09-04T20:59:21+00:00" + "time": "2025-12-14T04:43:48+00:00" }, { "name": "rap2hpoutre/laravel-log-viewer", @@ -4723,16 +4723,16 @@ }, { "name": "spatie/laravel-permission", - "version": "6.23.0", + "version": "6.24.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-permission.git", - "reference": "9e41247bd512b1e6c229afbc1eb528f7565ae3bb" + "reference": "76adb1fc8d07c16a0721c35c4cc330b7a12598d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/9e41247bd512b1e6c229afbc1eb528f7565ae3bb", - "reference": "9e41247bd512b1e6c229afbc1eb528f7565ae3bb", + "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/76adb1fc8d07c16a0721c35c4cc330b7a12598d7", + "reference": "76adb1fc8d07c16a0721c35c4cc330b7a12598d7", "shasum": "" }, "require": { @@ -4794,7 +4794,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-permission/issues", - "source": "https://github.com/spatie/laravel-permission/tree/6.23.0" + "source": "https://github.com/spatie/laravel-permission/tree/6.24.0" }, "funding": [ { @@ -4802,7 +4802,7 @@ "type": "github" } ], - "time": "2025-11-03T20:16:13+00:00" + "time": "2025-12-13T21:45:21+00:00" }, { "name": "spatie/temporary-directory", @@ -7382,23 +7382,23 @@ }, { "name": "tijsverkoyen/css-to-inline-styles", - "version": "v2.3.0", + "version": "v2.4.0", "source": { "type": "git", "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", - "reference": "0d72ac1c00084279c1816675284073c5a337c20d" + "reference": "f0292ccf0ec75843d65027214426b6b163b48b41" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/0d72ac1c00084279c1816675284073c5a337c20d", - "reference": "0d72ac1c00084279c1816675284073c5a337c20d", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/f0292ccf0ec75843d65027214426b6b163b48b41", + "reference": "f0292ccf0ec75843d65027214426b6b163b48b41", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "php": "^7.4 || ^8.0", - "symfony/css-selector": "^5.4 || ^6.0 || ^7.0" + "symfony/css-selector": "^5.4 || ^6.0 || ^7.0 || ^8.0" }, "require-dev": { "phpstan/phpstan": "^2.0", @@ -7431,9 +7431,9 @@ "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", "support": { "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", - "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.3.0" + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.4.0" }, - "time": "2024-12-21T16:25:41+00:00" + "time": "2025-12-02T11:56:42+00:00" }, { "name": "uspdev/cache", @@ -7789,12 +7789,12 @@ "source": { "type": "git", "url": "https://github.com/uspdev/workflow.git", - "reference": "4b60bd719cb28157f8d3ab4a3dfff9d4d96cf32b" + "reference": "b80b88c7e42e79511a5d9e9aaa1dfd890c094dd4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/uspdev/workflow/zipball/4b60bd719cb28157f8d3ab4a3dfff9d4d96cf32b", - "reference": "4b60bd719cb28157f8d3ab4a3dfff9d4d96cf32b", + "url": "https://api.github.com/repos/uspdev/workflow/zipball/b80b88c7e42e79511a5d9e9aaa1dfd890c094dd4", + "reference": "b80b88c7e42e79511a5d9e9aaa1dfd890c094dd4", "shasum": "" }, "require": { @@ -7841,7 +7841,7 @@ "issues": "https://github.com/uspdev/workflow/issues", "source": "https://github.com/uspdev/workflow/tree/master" }, - "time": "2025-12-09T12:07:50+00:00" + "time": "2025-12-10T17:18:27+00:00" }, { "name": "vlucas/phpdotenv", @@ -10814,7 +10814,6 @@ "aliases": [], "minimum-stability": "dev", "stability-flags": { - "graphp/graph": 20, "uspdev/workflow": 20 }, "prefer-stable": true, @@ -10822,6 +10821,6 @@ "platform": { "php": "^8.2" }, - "platform-dev": [], - "plugin-api-version": "2.3.0" + "platform-dev": {}, + "plugin-api-version": "2.6.0" } diff --git a/database/customData/Forms/forms.json b/database/customData/Forms/forms.json deleted file mode 100644 index e14b54c..0000000 --- a/database/customData/Forms/forms.json +++ /dev/null @@ -1,738 +0,0 @@ -[ - { - "id": 1, - "name": "tr_inicio_conferencia", - "group": "", - "description": null, - "fields": [ - { - "name": "nome", - "type": "text", - "label": "Nome", - "required": true - }, - { - "name": "coddis", - "type": "text", - "label": "Código da disciplina que solicita equivalência", - "required": true - }, - { - "name": "obs", - "type": "textarea", - "label": "Observações", - "required": false - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 2, - "name": "tr_conferencia_inicio", - "group": "", - "description": null, - "fields": [ - { - "name": "retorno", - "type": "texttextarea", - "label": "Informações sobre retorno ao aluno", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 3, - "name": "tr_conferencia_indica", - "group": "", - "description": null, - "fields": [ - { - "name": "obs", - "type": "texttextarea", - "label": "Enviar ao departamento", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 4, - "name": "tr_indica_parecerista", - "group": "", - "description": null, - "fields": [ - { - "name": "obs", - "type": "texttextarea", - "label": "Nomear o docente a emitir o parecer", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 5, - "name": "tr_emite_parecer", - "group": "", - "description": null, - "fields": [ - { - "name": "parecer", - "type": "texttextarea", - "label": "Parecer", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 6, - "name": "tr_envia_apreciacao", - "group": "", - "description": null, - "fields": [ - { - "name": "obs", - "type": "texttextarea", - "label": "Observações sobre a apreciação", - "required": false - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 7, - "name": "tr_delibera_parecer", - "group": "", - "description": null, - "fields": [ - { - "name": "deliberacao", - "type": "texttextarea", - "label": "Deliberação sobre os pareceres emitidos", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 8, - "name": "tr_retorna_apreciacao", - "group": "", - "description": null, - "fields": [ - { - "name": "obs", - "type": "texttextarea", - "label": "Enviar pareceres à CoC", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 9, - "name": "tr_conferencia_apreciacao", - "group": "", - "description": null, - "fields": [ - { - "name": "obs", - "type": "texttextarea", - "label": "Solicitação à CoC", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 10, - "name": "tr_solicitacao_coc", - "group": "", - "description": null, - "fields": [ - { - "name": "obs", - "type": "texttextarea", - "label": "Enviar apreciação à CoC", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 11, - "name": "tr_envia_deliberacao", - "group": "", - "description": null, - "fields": [ - { - "name": "deliberacao", - "type": "texttextarea", - "label": "Deliberação sobre a apreciação", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 12, - "name": "tr_conferencia_deliberacao", - "group": "", - "description": null, - "fields": [ - { - "name": "obs", - "type": "texttextarea", - "label": "Enviar para cadastro", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 13, - "name": "tr_enviar_aprovada", - "group": "", - "description": null, - "fields": [ - { - "name": "obs", - "type": "texttextarea", - "label": "Cadastrar aprovada", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 14, - "name": "tr_enviar_negada", - "group": "", - "description": null, - "fields": [ - { - "name": "obs", - "type": "texttextarea", - "label": "Cadastrar negada", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 15, - "name": "tr_enviar_condicional", - "group": "", - "description": null, - "fields": [ - { - "name": "obs", - "type": "texttextarea", - "label": "Cadastrar condicional", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 16, - "name": "tr_enviar_avaliacao", - "group": "", - "description": null, - "fields": [ - { - "name": "avaliacao", - "type": "texttextarea", - "label": "Informações para avaliação", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 17, - "name": "tr_realizar_avaliacao", - "group": "", - "description": null, - "fields": [ - { - "name": "avaliacao", - "type": "texttextarea", - "label": "Informações sobre a avaliação", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 18, - "name": "tr_submeter_avaliacao", - "group": "", - "description": null, - "fields": [ - { - "name": "avaliacao_submetida", - "type": "texttextarea", - "label": "Submissão da avaliação para docente", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 19, - "name": "tr_delibera_avaliacao", - "group": "", - "description": null, - "fields": [ - { - "name": "parecer_docente", - "type": "texttextarea", - "label": "Parecer sobre a avaliação condicional", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 20, - "name": "tr_cadastrar_solicitacoes", - "group": "", - "description": null, - "fields": [ - { - "name": "cadastro", - "type": "texttextarea", - "label": "Cadastro das solicitações aprovadas", - "required": true - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 21, - "name": "tr_finalizar_enviar", - "group": "", - "description": null, - "fields": [ - { - "name": "obs", - "type": "texttextarea", - "label": "Observações sobre finalização", - "required": false - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-03-17T22:33:49.000000Z", - "updated_at": "2025-03-17T22:33:49.000000Z" - } -, - - { - "id": 22, - "name": "ArquivoTeste", - "group": "Arquivos", - "description": "sla", - "fields": [ - { - "name": "arquivo", - "type": "file", - "label": "Arquivo", - "accept": ".pdf, image\/*" - }, - { - "name": "definition_name", - "type": "hidden", - "value": "workflowDefinitionName" - }, - { - "name": "place", - "type": "hidden", - "value": "place_name" - }, - { - "name": "transition", - "type": "hidden", - "value": "transition_name" - } - ], - "created_at": "2025-11-12T12:01:42.000000Z", - "updated_at": "2025-11-12T12:01:42.000000Z" - } -] \ No newline at end of file diff --git a/database/customData/Workflows/workflows.json b/database/customData/Workflows/workflows.json deleted file mode 100644 index b1cce51..0000000 --- a/database/customData/Workflows/workflows.json +++ /dev/null @@ -1,285 +0,0 @@ -[{ - "type": "workflow", - "title": "Solicitação de Equivalência de Disciplinas na Graduação", - "name": "equivalencia", - "description": "Workflow de equivalência de disciplinas", - "supports": [ - "App\\Equivalencia" - ], - "places": { - "aluno_inicio": { - "description": "Formulário de solicitação inicial", - "role": { - "Aluno": "aluno" - } - }, - "svgrad_conferencia": { - "description": "Conferência de documentos", - "role": { - "Serviço de Graduação": "svgrad" - } - }, - "depto_indica_docente": { - "description": "Indicar docente para emitir parecer", - "role": { - "Departamento": "depto" - } - }, - "docente_emite_parecer": { - "description": "Parecer sobre equivalência de disciplina", - "role": { - "Docente": "docente" - } - }, - "depto_envia_apreciacao": { - "description": "Enviar parecer para apreciação do conselho", - "role": { - "Departamento": "depto" - } - }, - "conselho_delibera": { - "description": "Deliberar sobre os pareceres emitidos", - "role": { - "Conselho do Departamento": "conselho" - } - }, - "depto_retorno_apreciacao": { - "description": "Enviar apreciação para a CoC", - "role": { - "Departamento": "depto" - } - }, - "svgrad_apreciacao_coc": { - "description": "Enviar apreciação para a CoC", - "role": { - "Serviço de Graduação": "svgrad" - } - }, - "coc_delibera_solicitacao": { - "description": "Deliberar sobre a solicitação", - "role": { - "CoC": "coc" - } - }, - "svgrad_recebe_deliberacao": { - "description": "Receber resposta da CoC", - "role": { - "Serviço de Graduação": "svgrad" - } - }, - "svgrad_cadastra_aprovadas": { - "description": "Cadastrar solicitações aprovadas", - "role": { - "Serviço de Graduação": "svgrad" - } - }, - "aluno_preavaliacao": { - "description": "Aluno necessita fazer avaliação", - "role": { - "Aluno": "aluno" - } - }, - "aluno_avaliacao": { - "description": "Avaliação", - "role": { - "Aluno": "aluno" - }, - "max": 1 - }, - "docente_avaliacao": { - "description": "Docente necessita elaborar avaliação", - "role": { - "Docente": "docente" - } - }, - "docente_delibera": { - "description": "Docente delibera sobre avaliação", - "role": { - "Docente": "docente" - } - }, - "svgrad_finaliza": { - "description": "Finalizar", - "role": { - "Serviço de Graduação": "svgrad" - } - }, - "aluno_fim": { - "description": "Confirmação de finalização", - "role": { - "Aluno": "aluno" - } - } - }, - "initial_places": "aluno_inicio", - "transitions": { - "tr_inicio_conferencia": { - "label": "Enviar para Serviço de Graduação", - "from": "aluno_inicio", - "tos": "svgrad_conferencia" - }, - "tr_conferencia_inicio": { - "label": "Retornar para aluno", - "from": "svgrad_conferencia", - "tos": "aluno_inicio", - "forms": [ - "ArquivoTeste" - ] - }, - "tr_conferencia_indica": { - "label": "Enviar para Departamento", - "from": "svgrad_conferencia", - "tos": "depto_indica_docente", - "forms": [ - "tr_conferencia_indica" - ] - }, - "tr_indica_parecerista": { - "label": "Indicar parecerista", - "from": "depto_indica_docente", - "tos": "docente_emite_parecer", - "forms": [ - "tr_indica_parecerista" - ] - }, - "tr_emite_parecer": { - "label": "Emitir parecer", - "from": "docente_emite_parecer", - "tos": "depto_envia_apreciacao", - "forms": [ - "tr_emite_parecer" - ] - }, - "tr_envia_apreciacao": { - "label": "Enviar para o Conselho do Departamento", - "from": "depto_envia_apreciacao", - "tos": "conselho_delibera", - "forms": [ - "tr_envia_apreciacao" - ] - }, - "tr_delibera_parecer": { - "label": "Enviar deliberação", - "from": "conselho_delibera", - "tos": "depto_retorno_apreciacao", - "forms": [ - "tr_delibera_parecer" - ] - }, - "tr_retorna_apreciacao": { - "label": "Solicitar envio à CoC para o Serviço de Graduação", - "from": "depto_retorno_apreciacao", - "tos": "svgrad_apreciacao_coc", - "forms": [ - "tr_retorna_apreciacao" - ] - }, - "tr_conferencia_apreciacao": { - "label": "Solicitar envio à CoC", - "from": "svgrad_conferencia", - "tos": "svgrad_apreciacao_coc", - "forms": [ - "tr_conferencia_apreciacao" - ] - }, - "tr_solicitacao_coc": { - "label": "Enviar solicitação para a CoC", - "from": "svgrad_apreciacao_coc", - "tos": "coc_delibera_solicitacao", - "forms": [ - "tr_solicitacao_coc" - ] - }, - "tr_envia_deliberacao": { - "label": "Enviar deliberação para o Serviço de Graduação", - "from": "coc_delibera_solicitacao", - "tos": "svgrad_recebe_deliberacao", - "forms": [ - "tr_envia_deliberacao" - ] - }, - "tr_conferencia_deliberacao": { - "label": "Enviar resposta da CoC para cadastro", - "from": "svgrad_conferencia", - "tos": "svgrad_recebe_deliberacao", - "forms": [ - "tr_conferencia_deliberacao" - ] - }, - "tr_enviar_condicional": { - "label": "Cadastrar condicional", - "from": "svgrad_recebe_deliberacao", - "tos": [ - "aluno_preavaliacao", - "docente_avaliacao" - ], - "forms": [ - "tr_enviar_condicional" - ] - }, - "tr_enviar_aprovada": { - "label": "Cadastrar aprovativa", - "from": "svgrad_recebe_deliberacao", - "tos": "svgrad_cadastra_aprovadas", - "forms": [ - "tr_enviar_aprovada" - ] - }, - "tr_enviar_negada": { - "label": "Cadastrar negativa", - "from": "svgrad_recebe_deliberacao", - "tos": "aluno_fim", - "forms": [ - "tr_enviar_negada" - ] - }, - "tr_cadastrar_solicitacoes": { - "label": "Finalizar cadastro de solicitações", - "from": "svgrad_cadastra_aprovadas", - "tos": "svgrad_finaliza", - "forms": [ - "tr_cadastrar_solicitacoes" - ] - }, - "tr_enviar_avaliacao": { - "label": "Realizar avaliação", - "from": "docente_avaliacao", - "tos": "aluno_avaliacao", - "forms": [ - "tr_enviar_avaliacao" - ] - }, - "tr_realizar_avaliacao": { - "label": "Realizar avaliação", - "from": "aluno_preavaliacao", - "tos": "aluno_avaliacao", - "forms": [ - "tr_realizar_avaliacao" - ] - }, - "tr_submeter_avaliacao": { - "label": "Submeter avaliação para docente", - "from": "aluno_avaliacao", - "tos": "docente_delibera", - "forms": [ - "tr_submeter_avaliacao" - ] - }, - "tr_delibera_avaliacao": { - "label": "Docente delibera sobre a avaliação", - "from": "docente_delibera", - "tos": "svgrad_recebe_deliberacao", - "forms": [ - "tr_delibera_avaliacao" - ] - }, - "tr_finalizar_enviar": { - "label": "Finalizar processo", - "from": "svgrad_finaliza", - "tos": "aluno_fim", - "forms": [ - "tr_finalizar_enviar" - ] - } - } -}] \ No newline at end of file From bf09e06611fe447c868856c09a5b5be4b1e436f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vinicius=20Reis=20Gon=C3=A7alves?= Date: Thu, 5 Mar 2026 21:53:03 -0300 Subject: [PATCH 5/6] Delete database/customData/Workflows directory --- .../customData/Workflows/equivalencia.json | 285 ------------------ 1 file changed, 285 deletions(-) delete mode 100644 database/customData/Workflows/equivalencia.json diff --git a/database/customData/Workflows/equivalencia.json b/database/customData/Workflows/equivalencia.json deleted file mode 100644 index 01bec0b..0000000 --- a/database/customData/Workflows/equivalencia.json +++ /dev/null @@ -1,285 +0,0 @@ -{ - "type": "workflow", - "title": "Solicitação de Equivalência de Disciplinas na Graduação", - "name": "equivalencia", - "description": "Workflow de equivalência de disciplinas", - "supports": [ - "App\\Equivalencia" - ], - "places": { - "aluno_inicio": { - "description": "Formulário de solicitação inicial", - "role": { - "Aluno": "aluno" - } - }, - "svgrad_conferencia": { - "description": "Conferência de documentos", - "role": { - "Serviço de Graduação": "svgrad" - } - }, - "depto_indica_docente": { - "description": "Indicar docente para emitir parecer", - "role": { - "Departamento": "depto" - } - }, - "docente_emite_parecer": { - "description": "Parecer sobre equivalência de disciplina", - "role": { - "Docente": "docente" - } - }, - "depto_envia_apreciacao": { - "description": "Enviar parecer para apreciação do conselho", - "role": { - "Departamento": "depto" - } - }, - "conselho_delibera": { - "description": "Deliberar sobre os pareceres emitidos", - "role": { - "Conselho do Departamento": "conselho" - } - }, - "depto_retorno_apreciacao": { - "description": "Enviar apreciação para a CoC", - "role": { - "Departamento": "depto" - } - }, - "svgrad_apreciacao_coc": { - "description": "Enviar apreciação para a CoC", - "role": { - "Serviço de Graduação": "svgrad" - } - }, - "coc_delibera_solicitacao": { - "description": "Deliberar sobre a solicitação", - "role": { - "CoC": "coc" - } - }, - "svgrad_recebe_deliberacao": { - "description": "Receber resposta da CoC", - "role": { - "Serviço de Graduação": "svgrad" - } - }, - "svgrad_cadastra_aprovadas": { - "description": "Cadastrar solicitações aprovadas", - "role": { - "Serviço de Graduação": "svgrad" - } - }, - "aluno_preavaliacao": { - "description": "Aluno necessita fazer avaliação", - "role": { - "Aluno": "aluno" - } - }, - "aluno_avaliacao": { - "description": "Avaliação", - "role": { - "Aluno": "aluno" - }, - "max": 1 - }, - "docente_avaliacao": { - "description": "Docente necessita elaborar avaliação", - "role": { - "Docente": "docente" - } - }, - "docente_delibera": { - "description": "Docente delibera sobre avaliação", - "role": { - "Docente": "docente" - } - }, - "svgrad_finaliza": { - "description": "Finalizar", - "role": { - "Serviço de Graduação": "svgrad" - } - }, - "aluno_fim": { - "description": "Confirmação de finalização", - "role": { - "Aluno": "aluno" - } - } - }, - "initial_places": "aluno_inicio", - "transitions": { - "tr_inicio_conferencia": { - "label": "Enviar para Serviço de Graduação", - "from": "aluno_inicio", - "tos": "svgrad_conferencia" - }, - "tr_conferencia_inicio": { - "label": "Retornar para aluno", - "from": "svgrad_conferencia", - "tos": "aluno_inicio", - "forms": [ - "ArquivoTeste" - ] - }, - "tr_conferencia_indica": { - "label": "Enviar para Departamento", - "from": "svgrad_conferencia", - "tos": "depto_indica_docente", - "forms": [ - "tr_conferencia_indica" - ] - }, - "tr_indica_parecerista": { - "label": "Indicar parecerista", - "from": "depto_indica_docente", - "tos": "docente_emite_parecer", - "forms": [ - "tr_indica_parecerista" - ] - }, - "tr_emite_parecer": { - "label": "Emitir parecer", - "from": "docente_emite_parecer", - "tos": "depto_envia_apreciacao", - "forms": [ - "tr_emite_parecer" - ] - }, - "tr_envia_apreciacao": { - "label": "Enviar para o Conselho do Departamento", - "from": "depto_envia_apreciacao", - "tos": "conselho_delibera", - "forms": [ - "tr_envia_apreciacao" - ] - }, - "tr_delibera_parecer": { - "label": "Enviar deliberação", - "from": "conselho_delibera", - "tos": "depto_retorno_apreciacao", - "forms": [ - "tr_delibera_parecer" - ] - }, - "tr_retorna_apreciacao": { - "label": "Solicitar envio à CoC para o Serviço de Graduação", - "from": "depto_retorno_apreciacao", - "tos": "svgrad_apreciacao_coc", - "forms": [ - "tr_retorna_apreciacao" - ] - }, - "tr_conferencia_apreciacao": { - "label": "Solicitar envio à CoC", - "from": "svgrad_conferencia", - "tos": "svgrad_apreciacao_coc", - "forms": [ - "tr_conferencia_apreciacao" - ] - }, - "tr_solicitacao_coc": { - "label": "Enviar solicitação para a CoC", - "from": "svgrad_apreciacao_coc", - "tos": "coc_delibera_solicitacao", - "forms": [ - "tr_solicitacao_coc" - ] - }, - "tr_envia_deliberacao": { - "label": "Enviar deliberação para o Serviço de Graduação", - "from": "coc_delibera_solicitacao", - "tos": "svgrad_recebe_deliberacao", - "forms": [ - "tr_envia_deliberacao" - ] - }, - "tr_conferencia_deliberacao": { - "label": "Enviar resposta da CoC para cadastro", - "from": "svgrad_conferencia", - "tos": "svgrad_recebe_deliberacao", - "forms": [ - "tr_conferencia_deliberacao" - ] - }, - "tr_enviar_condicional": { - "label": "Cadastrar condicional", - "from": "svgrad_recebe_deliberacao", - "tos": [ - "aluno_preavaliacao", - "docente_avaliacao" - ], - "forms": [ - "tr_enviar_condicional" - ] - }, - "tr_enviar_aprovada": { - "label": "Cadastrar aprovativa", - "from": "svgrad_recebe_deliberacao", - "tos": "svgrad_cadastra_aprovadas", - "forms": [ - "tr_enviar_aprovada" - ] - }, - "tr_enviar_negada": { - "label": "Cadastrar negativa", - "from": "svgrad_recebe_deliberacao", - "tos": "aluno_fim", - "forms": [ - "tr_enviar_negada" - ] - }, - "tr_cadastrar_solicitacoes": { - "label": "Finalizar cadastro de solicitações", - "from": "svgrad_cadastra_aprovadas", - "tos": "svgrad_finaliza", - "forms": [ - "tr_cadastrar_solicitacoes" - ] - }, - "tr_enviar_avaliacao": { - "label": "Realizar avaliação", - "from": "docente_avaliacao", - "tos": "aluno_avaliacao", - "forms": [ - "tr_enviar_avaliacao" - ] - }, - "tr_realizar_avaliacao": { - "label": "Realizar avaliação", - "from": "aluno_preavaliacao", - "tos": "aluno_avaliacao", - "forms": [ - "tr_realizar_avaliacao" - ] - }, - "tr_submeter_avaliacao": { - "label": "Submeter avaliação para docente", - "from": "aluno_avaliacao", - "tos": "docente_delibera", - "forms": [ - "tr_submeter_avaliacao" - ] - }, - "tr_delibera_avaliacao": { - "label": "Docente delibera sobre a avaliação", - "from": "docente_delibera", - "tos": "svgrad_recebe_deliberacao", - "forms": [ - "tr_delibera_avaliacao" - ] - }, - "tr_finalizar_enviar": { - "label": "Finalizar processo", - "from": "svgrad_finaliza", - "tos": "aluno_fim", - "forms": [ - "tr_finalizar_enviar" - ] - } - } -} \ No newline at end of file From a27fea99d40e907bf9387e834817eccb28353d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vinicius=20Reis=20Gon=C3=A7alves?= Date: Fri, 27 Mar 2026 15:06:21 -0300 Subject: [PATCH 6/6] .gitignore modificado --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 3e0075a..853133f 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,8 @@ npm-debug.log yarn-error.log /.idea /.vscode +/composer.json +/composer.lock public/vendor