dtos

package
v0.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	CreatedAt        time.Time         `json:"createdAt"`
	UpdatedAt        time.Time         `json:"updatedAt"`
	DeletedAt        interface{}       `json:"deletedAt"`
	Version          int               `json:"version"`
	ID               int               `json:"id"`
	Label            string            `json:"label"`
	Order            int               `json:"order"`
	Meta             map[string]string `json:"meta"`
	ParentID         interface{}       `json:"parentId"`
	MenuID           int               `json:"menuId"`
	Enabled          bool              `json:"enabled"`
	StartPublication interface{}       `json:"startPublication"`
	EndPublication   interface{}       `json:"endPublication"`
	Template         interface{}       `json:"template"`
	TemplateFormat   interface{}       `json:"templateFormat"`
}

Item ...

type Menu struct {
	Name           string `json:"name"`
	Meta           []Meta `json:"meta"`
	Template       string `json:"template"`
	TemplateFormat string `json:"templateFormat"`
	Items          []Item `json:"items"`
}

Menu ...

type Meta

type Meta struct {
	Name         string `json:"name"`
	Type         string `json:"type"`
	Required     bool   `json:"required"`
	Order        int    `json:"order"`
	Enabled      bool   `json:"enabled"`
	DefaultValue string `json:"defaultValue"`
	ID           int    `json:"id"`
}

Meta ...

type Process

type Process map[string]interface{}

Process ...

func NewProcess

func NewProcess(payloads v1.Eval) Process

NewEval ...

Jump to

Keyboard shortcuts

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