designs

package
v1.0.37 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommentsControllerImpl added in v0.1.25

type CommentsControllerImpl struct {
	htmx.DefaultController
	// contains filtered or unexported fields
}

CommentsControllerImpl ...

func NewCommentsController added in v0.1.25

func NewCommentsController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *CommentsControllerImpl

NewCommentsController ...

func (*CommentsControllerImpl) Delete added in v0.1.25

func (l *CommentsControllerImpl) Delete() error

Delete ...

func (*CommentsControllerImpl) Error added in v0.1.25

func (l *CommentsControllerImpl) Error(err error) error

Error ...

func (*CommentsControllerImpl) Post added in v0.1.25

func (l *CommentsControllerImpl) Post() error

Post ...

type CreateDesignBody

type CreateDesignBody struct {
	Title      string    `json:"title" form:"title" validate:"required,min=3,max=2048"`
	Body       string    `json:"body" form:"body" validate:"required"`
	WorkflowID uuid.UUID `json:"workflow_id" form:"workflow_id" validate:"uuid"`
	Tags       []struct {
		Name  string `json:"name" form:"name" validate:"required"`
		Value string `json:"value" form:"value" validate:"required"`
	} `json:"tags" form:"tags"`
}

type CreateDesignControllerImpl

type CreateDesignControllerImpl struct {
	htmx.DefaultController
	// contains filtered or unexported fields
}

CreateDesignControllerImpl ...

func NewCreateDesignController

func NewCreateDesignController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *CreateDesignControllerImpl

NewCreateDesignController ...

func (*CreateDesignControllerImpl) Error

func (l *CreateDesignControllerImpl) Error(err error) error

Error ...

func (*CreateDesignControllerImpl) Post

Post ...

func (*CreateDesignControllerImpl) Prepare

func (l *CreateDesignControllerImpl) Prepare() error

Prepare ...

type DesignDeleteControllerImpl

type DesignDeleteControllerImpl struct {
	ID uuid.UUID `json:"id" form:"id" param:"id" validate:"required"`

	htmx.DefaultController
	// contains filtered or unexported fields
}

DesignDeleteControllerImpl ...

func NewDesignDeleteController

func NewDesignDeleteController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *DesignDeleteControllerImpl

NewDesignDeleteController ...

func (*DesignDeleteControllerImpl) Delete

func (p *DesignDeleteControllerImpl) Delete() error

Delete ...

func (*DesignDeleteControllerImpl) Error

func (l *DesignDeleteControllerImpl) Error(err error) error

Error ...

func (*DesignDeleteControllerImpl) Prepare

func (p *DesignDeleteControllerImpl) Prepare() error

Prepare ...

type ListDesignsControllerImpl

type ListDesignsControllerImpl struct {
	htmx.DefaultController
	// contains filtered or unexported fields
}

ListDesignsControllerImpl ...

func NewListDesignsController

func NewListDesignsController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *ListDesignsControllerImpl

NewListDesignsController ...

func (*ListDesignsControllerImpl) Get

Prepare ...

type NewDesignControllerImpl

type NewDesignControllerImpl struct {
	htmx.DefaultController
	// contains filtered or unexported fields
}

NewDesignControllerImpl ...

func NewDesignController

func NewDesignController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *NewDesignControllerImpl

NewDesignController ...

func (*NewDesignControllerImpl) Get

func (l *NewDesignControllerImpl) Get() error

Get ...

type ReactionControllerImpl added in v0.1.24

type ReactionControllerImpl struct {
	htmx.DefaultController
	// contains filtered or unexported fields
}

ReactionControllerImpl ...

func NewReactionController added in v0.1.24

func NewReactionController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *ReactionControllerImpl

NewReactionController ...

func (*ReactionControllerImpl) Delete added in v0.1.24

func (l *ReactionControllerImpl) Delete() error

Delete ...

func (*ReactionControllerImpl) Error added in v0.1.24

func (l *ReactionControllerImpl) Error(err error) error

Error ...

func (*ReactionControllerImpl) Post added in v0.1.24

func (l *ReactionControllerImpl) Post() error

Post ...

type RevisionControllerImpl added in v0.1.26

type RevisionControllerImpl struct {
	htmx.DefaultController
	// contains filtered or unexported fields
}

RevisionControllerImpl ...

func NewRevisionController added in v0.1.26

func NewRevisionController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *RevisionControllerImpl

NewRevisionController ...

func (*RevisionControllerImpl) Get added in v0.1.26

func (c *RevisionControllerImpl) Get() error

Get ...

type SearchTemplatesControllerImpl added in v1.0.35

type SearchTemplatesControllerImpl struct {
	Templates tables.Results[models.Template]

	htmx.DefaultController
	// contains filtered or unexported fields
}

Search ...

func NewSearchTemplatesController added in v1.0.35

func NewSearchTemplatesController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *SearchTemplatesControllerImpl

NewSearchTemplatesController ...

func (*SearchTemplatesControllerImpl) Error added in v1.0.35

Error ...

func (*SearchTemplatesControllerImpl) Get added in v1.0.35

Get ...

func (*SearchTemplatesControllerImpl) Prepare added in v1.0.35

func (l *SearchTemplatesControllerImpl) Prepare() error

Prepare ...

type SearchWorkflowsControllerImpl added in v0.1.24

type SearchWorkflowsControllerImpl struct {
	htmx.DefaultController
	// contains filtered or unexported fields
}

Search ...

func NewSearchWorkflowsController added in v0.1.24

func NewSearchWorkflowsController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *SearchWorkflowsControllerImpl

NewSearchWorkflowsController ...

func (*SearchWorkflowsControllerImpl) Error added in v0.1.24

Error ...

func (*SearchWorkflowsControllerImpl) Get added in v0.1.24

Get ...

func (*SearchWorkflowsControllerImpl) Prepare added in v0.1.24

func (l *SearchWorkflowsControllerImpl) Prepare() error

Prepare ...

type ShowDesignControllerImpl

type ShowDesignControllerImpl struct {
	Design models.Design
	Body   string

	htmx.DefaultController
	// contains filtered or unexported fields
}

ShowDesignControllerImpl ...

func NewShowDesignController

func NewShowDesignController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *ShowDesignControllerImpl

NewShowDesignController ...

func (*ShowDesignControllerImpl) Get

Get ...

func (*ShowDesignControllerImpl) Prepare

func (l *ShowDesignControllerImpl) Prepare() error

Prepare ...

type TagControllerImpl added in v0.1.25

type TagControllerImpl struct {
	htmx.DefaultController
	// contains filtered or unexported fields
}

TagControllerImpl ...

func NewTagController added in v0.1.25

func NewTagController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *TagControllerImpl

NewTagController ...

func (*TagControllerImpl) Delete added in v0.1.25

func (l *TagControllerImpl) Delete() error

Delete ...

func (*TagControllerImpl) Error added in v0.1.25

func (l *TagControllerImpl) Error(err error) error

Error ...

func (*TagControllerImpl) Post added in v0.1.25

func (l *TagControllerImpl) Post() error

Post ...

Directories

Path Synopsis
edit

Jump to

Keyboard shortcuts

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