Hierarchy

Index

Properties

data

data: ISchema

scenesService

scenesService: ScenesService

schemaVersion

schemaVersion: number = 1

sourcesService

sourcesService: SourcesService

Methods

fromJSON

getItems

load

  • load(context: IContext): Promise<void>

migrate

  • migrate(version: number): void
  • Nodes that have evolved from schema version 1 should override this method. This function is responsible for changing this.data to match the current schema.

    Parameters

    • version: number

      The old version number

    Returns void

sanitizeIds

  • sanitizeIds(): void

save

  • save(context: IContext): Promise<void>

toJSON