LogoRobo.js
Framework

FlashcoreModelOptions

Interface: FlashcoreModelOptions

Model options for registration.

Properties

PropertyTypeDescription
getModel?(name: string) => FlashcoreModel<{ id: string; }>Function to get a model by name (for relations). Set by FlashcoreSystem when registering the model.
getSchema?(name: string) => NormalizedSchemaFunction to get a model's schema by name (for cascades). Set by FlashcoreSystem when registering the model.
hooks?ModelHooks<unknown>-
methods?Record<string, (...args) => unknown>-
namespace?string-

On this page