AsyncModelFactory


interface AsyncModelFactory extends Pick, Pick {
  useFactory: (...args: any[]) => ModelDefinition['schema'] | Promise<ModelDefinition['schema']>
  inject?: any[]
}

Properties

Property Description
useFactory: (...args: any[]) => ModelDefinition['schema'] | Promise<ModelDefinition['schema']>
inject?: any[]