presenter

package
v0.0.0-...-b985c77 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: AGPL-3.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 Object

type Object struct {
	ID         string `json:"id"`
	Name       string `json:"name"`
	IsTemplate bool   `json:"isTemplate"`

	Properties []Property `json:"properties"`
}

func ObjectFromModel

func ObjectFromModel(m dbx.Object, p []dbx.Property, pom map[uuid.UUID]dbx.Object) Object

type Property

type Property struct {
	ID           string   `json:"id"`
	Name         string   `json:"name"`
	PropertyType string   `json:"propertyType"`
	StringValue  *string  `json:"stringValue"`
	IntValue     *int64   `json:"intValue"`
	FloatValue   *float64 `json:"floatValue"`
	BoolValue    *bool    `json:"boolValue"`
	DateValue    *string  `json:"dateValue"`
	ObjectValue  *Object  `json:"object"`
}

func PropertyFromModel

func PropertyFromModel(m dbx.Property, obj *dbx.Object) Property

Jump to

Keyboard shortcuts

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