Interface TrajectoryServiceOptions

interface TrajectoryServiceOptions {
    autoBind?: boolean;
    dataService?: Constructor<DataObject>;
    defaultUID?: ((object) => string);
    deserialize?: ((obj) => any);
    keepChangelog?: boolean;
    serialize?: ((obj) => any);
    uid?: string;
}

Hierarchy (view full)

Properties

autoBind?: boolean

Automatically bind to the data object service

Default

true
dataService?: Constructor<DataObject>

Dataservice to fetch stored data objects

defaultUID?: ((object) => string)

Default UID of a trajectory with autoBind = true

Type declaration

    • (object): string
    • Parameters

      Returns string

Default

(object) => object.uid
deserialize?: ((obj) => any)

Type declaration

    • (obj): any
    • Parameters

      • obj: any

      Returns any

keepChangelog?: boolean

Keep a changelog of objects returned by the data service

serialize?: ((obj) => any)

Type declaration

    • (obj): any
    • Parameters

      • obj: any

      Returns any

uid?: string