domain

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cardinality

type Cardinality string
const (
	CardinalitySingle Cardinality = "single"
	CardinalityMulti  Cardinality = "multi"
)

type DateValue

type DateValue struct{ Value time.Time }

type EmptyValue

type EmptyValue struct{}

type EntityValue

type EntityValue struct{ ID, Name string }

type FieldDefinition

type FieldDefinition struct {
	ID          string
	Name        string
	Kind        FieldKind
	Cardinality Cardinality
	CanBeEmpty  bool
	BundleID    string
}

type FieldKind

type FieldKind string
const (
	FieldUnknown  FieldKind = "unknown"
	FieldString   FieldKind = "string"
	FieldInteger  FieldKind = "integer"
	FieldFloat    FieldKind = "float"
	FieldDate     FieldKind = "date"
	FieldDateTime FieldKind = "datetime"
	FieldPeriod   FieldKind = "period"
	FieldText     FieldKind = "text"
	FieldEnum     FieldKind = "enum"
	FieldState    FieldKind = "state"
	FieldUser     FieldKind = "user"
	FieldVersion  FieldKind = "version"
	FieldBuild    FieldKind = "build"
	FieldOwned    FieldKind = "owned"
	FieldGroup    FieldKind = "group"
)

type FieldOption

type FieldOption struct {
	ID   string
	Name string
}

type FieldRef

type FieldRef string

type FieldValue

type FieldValue interface {
	// contains filtered or unexported methods
}

type FloatValue

type FloatValue struct{ Value float64 }

type Group

type Group struct {
	ID   string
	Name string
}

type IntegerValue

type IntegerValue struct{ Value int64 }

type Issue

type Issue struct {
	ID          string
	IDReadable  string
	Summary     string
	Description string
	Project     Project
	Reporter    *User
	Updater     *User
	Created     time.Time
	Updated     time.Time
	Resolved    *time.Time
	Fields      []IssueField
	Tags        []Tag
}

type IssueField

type IssueField struct {
	ID           string
	Name         string
	Kind         FieldKind
	Cardinality  Cardinality
	Value        FieldValue
	StateMachine bool
	Transitions  []FieldOption
}

type IssueRef

type IssueRef string

type MultiValue

type MultiValue struct{ Values []FieldValue }

type PeriodValue

type PeriodValue struct{ Minutes int64 }

type Project

type Project struct {
	ID        string
	Name      string
	ShortName string
}

type ProjectRef

type ProjectRef string

type StateTransitionValue

type StateTransitionValue struct{ ID, Presentation string }

type StringValue

type StringValue struct{ Value string }

type Tag

type Tag struct {
	ID   string
	Name string
}

type TagRef

type TagRef string

type TextValue

type TextValue struct{ Value string }

type UnknownValue

type UnknownValue struct{ Type string }

type User

type User struct {
	ID       string
	Login    string
	FullName string
	Email    string
}

type UserRef

type UserRef string

type UserValue

type UserValue struct{ ID, Login, FullName string }

Jump to

Keyboard shortcuts

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