Versions in this module Expand all Collapse all v1 v1.2.9 Apr 12, 2021 v1.2.8 Apr 12, 2021 v0 v0.2.8 Mar 30, 2021 Changes in this version + type AppWorkflowDto struct + AppId int + AppWorkflowMappingDto []AppWorkflowMappingDto + Id int + Name string + UserId int32 + type AppWorkflowMappingDto struct + AppWorkflowId int + ComponentId int + Id int + ParentId int + ParentType string + Type string + UserId int32 + type AppWorkflowService interface + CreateAppWorkflow func(req AppWorkflowDto) (AppWorkflowDto, error) + DeleteAppWorkflow func(appId, appWorkflowId int, userId int32) error + FindAppWorkflowById func(Id int, appId int) (AppWorkflowDto, error) + FindAppWorkflowByName func(name string, appId int) (AppWorkflowDto, error) + FindAppWorkflowMapping func(workflowId int) ([]AppWorkflowMappingDto, error) + FindAppWorkflowMappingByComponent func(id int, compType string) ([]*appWorkflow.AppWorkflowMapping, error) + FindAppWorkflows func(appId int) ([]AppWorkflowDto, error) + SaveAppWorkflowMapping func(wf AppWorkflowMappingDto) (AppWorkflowMappingDto, error) + type AppWorkflowServiceImpl struct + Logger *zap.SugaredLogger + func NewAppWorkflowServiceImpl(logger *zap.SugaredLogger, ...) *AppWorkflowServiceImpl + func (impl AppWorkflowServiceImpl) CreateAppWorkflow(req AppWorkflowDto) (AppWorkflowDto, error) + func (impl AppWorkflowServiceImpl) DeleteAppWorkflow(appId, appWorkflowId int, userId int32) error + func (impl AppWorkflowServiceImpl) FindAppWorkflowById(Id int, appId int) (AppWorkflowDto, error) + func (impl AppWorkflowServiceImpl) FindAppWorkflowByName(name string, appId int) (AppWorkflowDto, error) + func (impl AppWorkflowServiceImpl) FindAppWorkflowMapping(workflowId int) ([]AppWorkflowMappingDto, error) + func (impl AppWorkflowServiceImpl) FindAppWorkflowMappingByComponent(id int, compType string) ([]*appWorkflow.AppWorkflowMapping, error) + func (impl AppWorkflowServiceImpl) FindAppWorkflows(appId int) ([]AppWorkflowDto, error) + func (impl AppWorkflowServiceImpl) SaveAppWorkflowMapping(req AppWorkflowMappingDto) (AppWorkflowMappingDto, error)