models

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Macro

type Macro struct {
	ID             int             `db:"id" json:"id"`
	CreatedAt      time.Time       `db:"created_at" json:"created_at"`
	UpdatedAt      time.Time       `db:"updated_at" json:"updated_at"`
	Name           string          `db:"name" json:"name"`
	Actions        json.RawMessage `db:"actions" json:"actions"`
	Visibility     string          `db:"visibility" json:"visibility"`
	VisibleWhen    pq.StringArray  `db:"visible_when" json:"visible_when"`
	MessageContent string          `db:"message_content" json:"message_content"`
	UserID         *int            `db:"user_id" json:"user_id,string"`
	TeamID         *int            `db:"team_id" json:"team_id,string"`
	UsageCount     int             `db:"usage_count" json:"usage_count"`
}

Jump to

Keyboard shortcuts

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