models

package
v2.16.1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoticeArgs

type NoticeArgs struct {
	Text        string `json:"text"`
	Complete    string `json:"complete"`
	EventID     string `json:"eventId,omitempty"`
	Timeout     int    `json:"timeout"`
	Dismissible bool   `json:"dismissible,omitempty"`
}

type PickerArgs

type PickerArgs struct {
	Title       string       `json:"title"`
	Message     string       `json:"message,omitempty"`
	Complete    string       `json:"complete,omitempty"`
	EventID     string       `json:"eventId,omitempty"`
	Items       []PickerItem `json:"items"`
	Selected    int          `json:"selected"`
	Timeout     int          `json:"timeout"`
	Unsafe      bool         `json:"unsafe"`
	Dismissible bool         `json:"dismissible,omitempty"`
}

type PickerItem

type PickerItem struct {
	ID        string                     `json:"id,omitempty"`
	Name      string                     `json:"name"`
	ZapScript string                     `json:"zapscript,omitempty"`
	Action    apimodels.UIResponseAction `json:"action,omitempty"`
}

Jump to

Keyboard shortcuts

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