Documentation
¶
Index ¶
- func NewMediaBulkDeleteCommand(store *stores.MediaStore) *mediaBulkDeleteCommand
- func NewPageBulkPublishCommand(store stores.PageRepository) *pageBulkPublishCommand
- func NewPageBulkUnpublishCommand(store stores.PageRepository) *pageBulkUnpublishCommand
- func NewPagePublishCommand(store stores.PageRepository) *pagePublishCommand
- func NewPostBulkArchiveCommand(store stores.PostRepository) *postBulkArchiveCommand
- func NewPostBulkPublishCommand(store stores.PostRepository) *postBulkPublishCommand
- func NewPostBulkScheduleCommand(store stores.PostRepository) *postBulkScheduleCommand
- func NewPostBulkUnpublishCommand(store stores.PostRepository) *postBulkUnpublishCommand
- func NewUserActivateCommand(service *userssvc.Service) *userActivateCommand
- func NewUserArchiveCommand(service *userssvc.Service) *userArchiveCommand
- func NewUserDisableCommand(service *userssvc.Service) *userDisableCommand
- func NewUserSuspendCommand(service *userssvc.Service) *userSuspendCommand
- func RegisterMediaCommandFactories(bus *admin.CommandBus) error
- func RegisterPageCommandFactories(bus *admin.CommandBus) error
- func RegisterPostCommandFactories(bus *admin.CommandBus) error
- type MediaBulkDeleteMsg
- type PageBulkPublishMsg
- type PageBulkUnpublishMsg
- type PagePublishMsg
- type PostBulkArchiveMsg
- type PostBulkPublishMsg
- type PostBulkScheduleMsg
- type PostBulkUnpublishMsg
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
NewUserActivateCommand constructs a lifecycle command for active status.
func NewUserArchiveCommand ¶ added in v0.12.0
NewUserArchiveCommand constructs a lifecycle command for archived status.
func NewUserDisableCommand ¶ added in v0.12.0
NewUserDisableCommand constructs a lifecycle command for disabled status.
func NewUserSuspendCommand ¶ added in v0.12.0
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) Type() string
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) Type() string
func (PostBulkUnpublishMsg) Validate ¶ added in v0.12.0
func (m PostBulkUnpublishMsg) Validate() error