commands

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMediaBulkDeleteCommand

func NewMediaBulkDeleteCommand(store *stores.MediaStore) *mediaBulkDeleteCommand

NewMediaBulkDeleteCommand creates a new media bulk delete command

func NewPageBulkPublishCommand

func NewPageBulkPublishCommand(store stores.PageRepository) *pageBulkPublishCommand

NewPageBulkPublishCommand creates a new page bulk publish command

func NewPageBulkUnpublishCommand

func NewPageBulkUnpublishCommand(store stores.PageRepository) *pageBulkUnpublishCommand

NewPageBulkUnpublishCommand creates a new page bulk unpublish command

func NewPagePublishCommand

func NewPagePublishCommand(store stores.PageRepository) *pagePublishCommand

NewPagePublishCommand creates a new page publish command

func NewPostBulkArchiveCommand

func NewPostBulkArchiveCommand(store stores.PostRepository) *postBulkArchiveCommand

NewPostBulkArchiveCommand creates a new post bulk archive command

func NewPostBulkPublishCommand

func NewPostBulkPublishCommand(store stores.PostRepository) *postBulkPublishCommand

NewPostBulkPublishCommand creates a new post bulk publish command

func NewPostBulkScheduleCommand

func NewPostBulkScheduleCommand(store stores.PostRepository) *postBulkScheduleCommand

NewPostBulkScheduleCommand creates a new post bulk schedule command.

func NewPostBulkUnpublishCommand

func NewPostBulkUnpublishCommand(store stores.PostRepository) *postBulkUnpublishCommand

NewPostBulkUnpublishCommand creates a new post bulk unpublish command.

func NewUserActivateCommand added in v0.12.0

func NewUserActivateCommand(service *userssvc.Service) *userActivateCommand

NewUserActivateCommand constructs a lifecycle command for active status.

func NewUserArchiveCommand added in v0.12.0

func NewUserArchiveCommand(service *userssvc.Service) *userArchiveCommand

NewUserArchiveCommand constructs a lifecycle command for archived status.

func NewUserDisableCommand added in v0.12.0

func NewUserDisableCommand(service *userssvc.Service) *userDisableCommand

NewUserDisableCommand constructs a lifecycle command for disabled status.

func NewUserSuspendCommand added in v0.12.0

func NewUserSuspendCommand(service *userssvc.Service) *userSuspendCommand

NewUserSuspendCommand constructs a lifecycle command for suspended status.

func RegisterMediaCommandFactories added in v0.12.0

func RegisterMediaCommandFactories(bus *admin.CommandBus) error

func RegisterPageCommandFactories added in v0.12.0

func RegisterPageCommandFactories(bus *admin.CommandBus) error

func RegisterPostCommandFactories added in v0.12.0

func RegisterPostCommandFactories(bus *admin.CommandBus) error

Types

type MediaBulkDeleteMsg added in v0.12.0

type MediaBulkDeleteMsg struct {
	IDs []string
}

func (MediaBulkDeleteMsg) Type added in v0.12.0

func (MediaBulkDeleteMsg) Type() string

type PageBulkPublishMsg added in v0.12.0

type PageBulkPublishMsg struct {
	IDs []string
}

func (PageBulkPublishMsg) Type added in v0.12.0

func (PageBulkPublishMsg) Type() string

func (PageBulkPublishMsg) Validate added in v0.12.0

func (m PageBulkPublishMsg) Validate() error

type PageBulkUnpublishMsg added in v0.12.0

type PageBulkUnpublishMsg struct {
	IDs []string
}

func (PageBulkUnpublishMsg) Type added in v0.12.0

func (PageBulkUnpublishMsg) Validate added in v0.12.0

func (m PageBulkUnpublishMsg) Validate() error

type PagePublishMsg added in v0.12.0

type PagePublishMsg struct {
	IDs []string
}

func (PagePublishMsg) Type added in v0.12.0

func (PagePublishMsg) Type() string

func (PagePublishMsg) Validate added in v0.12.0

func (m PagePublishMsg) Validate() error

type PostBulkArchiveMsg added in v0.12.0

type PostBulkArchiveMsg struct {
	IDs []string
}

func (PostBulkArchiveMsg) Type added in v0.12.0

func (PostBulkArchiveMsg) Type() string

func (PostBulkArchiveMsg) Validate added in v0.12.0

func (m PostBulkArchiveMsg) Validate() error

type PostBulkPublishMsg added in v0.12.0

type PostBulkPublishMsg struct {
	IDs []string
}

func (PostBulkPublishMsg) Type added in v0.12.0

func (PostBulkPublishMsg) Type() string

func (PostBulkPublishMsg) Validate added in v0.12.0

func (m PostBulkPublishMsg) Validate() error

type PostBulkScheduleMsg added in v0.12.0

type PostBulkScheduleMsg struct {
	IDs         []string
	PublishAt   time.Time
	ScheduledAt time.Time
	Payload     map[string]any
}

func (PostBulkScheduleMsg) Type added in v0.12.0

func (PostBulkScheduleMsg) Type() string

func (PostBulkScheduleMsg) Validate added in v0.12.0

func (m PostBulkScheduleMsg) Validate() error

type PostBulkUnpublishMsg added in v0.12.0

type PostBulkUnpublishMsg struct {
	IDs []string
}

func (PostBulkUnpublishMsg) Type added in v0.12.0

func (PostBulkUnpublishMsg) Validate added in v0.12.0

func (m PostBulkUnpublishMsg) Validate() error

Jump to

Keyboard shortcuts

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