不要怂,就是干,撸起袖子干!

Commit d8345dc7 by Julian Hundeloh Committed by Sushant

fix(typings): add modelName to InitOptions (#10648)

1 parent 258776a0
Showing with 5 additions and 0 deletions
...@@ -1302,6 +1302,11 @@ export interface ModelOptions<M extends Model = Model> { ...@@ -1302,6 +1302,11 @@ export interface ModelOptions<M extends Model = Model> {
name?: ModelNameOptions; name?: ModelNameOptions;
/** /**
* Set name of the model. By default its same as Class name.
*/
modelName?: string;
/**
* Indexes for the provided database table * Indexes for the provided database table
*/ */
indexes?: ModelIndexesOptions[]; indexes?: ModelIndexesOptions[];
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!