events

package
v2.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHierarchyEventRepository

func CreateHierarchyEventRepository(sess *session.Session, store eventsource.Store) eventsource.Repository

func CreateHierarchyEventSerializer

func CreateHierarchyEventSerializer() eventsource.Serializer

Types

type CopyComponentEvent added in v2.7.0

type CopyComponentEvent struct {
	*eventsource.BaseEvent
	models.Component
	AssetID  uuid.UUID `json:"assetID"`
	SourceID uuid.UUID `json:"sourceID"`
}

type CreateComponentEvent added in v2.7.0

type CreateComponentEvent struct {
	*eventsource.BaseEvent
	AssetID uuid.UUID
	models.Component
}

type CreateRelationEvent

type CreateRelationEvent struct {
	*eventsource.BaseEvent
	FromID uuid.UUID
	ToID   uuid.UUID
}

CreateRelationEvent this struct used to create node relation-event

type DeleteComponentEvent added in v2.7.0

type DeleteComponentEvent struct {
	*eventsource.BaseEvent
	AssetID uuid.UUID
}

type DeleteNodeEvent

type DeleteNodeEvent struct {
	*eventsource.BaseEvent
}

type DeleteOriginEvent

type DeleteOriginEvent struct {
	*eventsource.BaseEvent
}

type DeleteRelationEvent

type DeleteRelationEvent struct {
	*eventsource.BaseEvent
}

DeleteRelationEvent this struct used to delate node relation-event

type UpdateComponentEvent added in v2.7.0

type UpdateComponentEvent struct {
	*eventsource.BaseEvent
	AssetID uuid.UUID
	models.Component
}

Jump to

Keyboard shortcuts

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