Lyra
The main entry point and public facade for the Lyra library.
This module re-exports the primary functions and constructors needed to interact with Lyra, simplifying the public API and hiding internal module structure. Users of the library should typically only need to require this top-level module.
Types
MigrationStep
interface MigrationStep {field: addFields(name: string,fields: {[string]: any}) → MigrationStep--
Creates a step to add new fields with default values.
field: transform(name: string,transformFunc: (currentValue: {[string]: any}) → {[string]: any}) → MigrationStep--
Creates a step with a custom data transformation function.
}Provides helper functions for creating common migration steps.
Functions
createPlayerStore<T>
Factory function to create a new PlayerStore instance.
setLogLevel
Lyra.setLogLevel() → ()Sets the global minimum log level for all Lyra loggers.