Hierarchy

Index

Properties

data

scenesService

scenesService: ScenesService = ScenesService.instance

schemaVersion

schemaVersion: number = 1

sourcesService

sourcesService: SourcesService = SourcesService.instance

Methods

beforeLoad

  • beforeLoad(): Promise<void>

fromJSON

getItems

load

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

loadItem

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

save

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

saveItem

toJSON