task

package
v0.0.0-...-2b11b4c Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 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 Change

type Change struct {
	Type  ChangeType
	Value any
}

type ChangeType

type ChangeType string
const (
	ChangeTypeSet  ChangeType = "set"
	ChangeTypeNew  ChangeType = "new"
	ChangeTypeULID ChangeType = "ulid"
)

type Changes

type Changes map[string]Change

type CompressAssetPayload

type CompressAssetPayload struct {
	AssetID string
}

func (*CompressAssetPayload) Payload

func (t *CompressAssetPayload) Payload() Payload

type CopyPayload

type CopyPayload struct {
	Collection string
	Filter     string
	Changes    string
}

func (*CopyPayload) Payload

func (p *CopyPayload) Payload() Payload

func (*CopyPayload) Validate

func (p *CopyPayload) Validate() bool

type DecompressAssetPayload

type DecompressAssetPayload struct {
	AssetID string
	Path    string
}

func (*DecompressAssetPayload) Payload

func (t *DecompressAssetPayload) Payload() Payload

type ImportPayload

type ImportPayload struct {
	UserId           string
	IntegrationId    string
	ModelId          string
	AssetId          string
	Format           string
	GeometryFieldKey string
	Strategy         string
	MutateSchema     bool
}

func (*ImportPayload) Payload

func (p *ImportPayload) Payload() Payload

func (*ImportPayload) Validate

func (p *ImportPayload) Validate() bool

type Payload

type Payload struct {
	DecompressAsset *DecompressAssetPayload
	CompressAsset   *CompressAssetPayload
	Webhook         *WebhookPayload
	Copy            *CopyPayload
	Import          *ImportPayload
}

type WebhookPayload

type WebhookPayload struct {
	Webhook  *integration.Webhook
	Event    *event.Event[any]
	Override any
}

func (WebhookPayload) Payload

func (t WebhookPayload) Payload() Payload

Jump to

Keyboard shortcuts

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