2021-07-15 13:41:41 +03:00
|
|
|
package model
|
|
|
|
|
|
2021-08-19 15:17:25 +03:00
|
|
|
// TODO shouldn't this rather be TemplateLoader?
|
|
|
|
|
|
2021-07-15 13:41:41 +03:00
|
|
|
// WorkflowLoader is a loader interface required for workflow initialization.
|
|
|
|
|
type WorkflowLoader interface {
|
2021-08-19 15:17:25 +03:00
|
|
|
// GetTemplatePathsByTags returns a list of template paths based on the provided tags from the templates directory
|
|
|
|
|
GetTemplatePathsByTags(tags []string) []string
|
2021-07-15 13:41:41 +03:00
|
|
|
|
2021-08-19 15:17:25 +03:00
|
|
|
// GetTemplatePaths takes a list of templates and returns paths for them
|
|
|
|
|
GetTemplatePaths(templatesList []string, noValidate bool) []string
|
2021-07-15 13:41:41 +03:00
|
|
|
}
|