workflow

package
v1.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteHandler

func DeleteHandler(e echo.Context) error

Remove a workflow from the database

func ExportWorkflow

func ExportWorkflow(e echo.Context) error

Returns a file export of a given workflow

func GetHandler

func GetHandler(e echo.Context) error

Returns a workflow by the provided id with a set OwnerEthAddress

func Init

func Init(workflowS service.WorkflowService, userS service.UserService, nodeS service.NodeService)

func ListCustomNodeHandler

func ListCustomNodeHandler(e echo.Context) error

Returns a list of custom node handlers

func ListHandler

func ListHandler(e echo.Context) error

List all workflows

func ListPublishedHandler

func ListPublishedHandler(e echo.Context) error

List published workflows

func UpdateHandler

func UpdateHandler(e echo.Context) error

Updates a workflow with the given workflowitem data

@param json => {
		Permissions
		ID     string `json:"id" storm:"id"`
		Name   string `json:"name" storm:"index"`
		Detail string `json:"detail"`
		//Permissions Permissions `json:"permissions"`
		Updated time.Time `json:"updated" storm:"index"`
		Created time.Time `json:"created" storm:"index"`
		Price   uint64    `json:"price" storm:"index"`
		Data            *workflow.Workflow `json:"data"`
		OwnerEthAddress string             `json:"ownerEthAddress"` //only used in frontend
		Deactivated     bool               `json:"deactivated"`
	}

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL