refactor(configuration): Setup configuration and menu to be reuseable
This commit is contained in:
parent
863ae3fab2
commit
d46bbd84c5
21 changed files with 551 additions and 452 deletions
|
|
@ -41,7 +41,7 @@ export class Repository<ModelType extends Model, IntermediateModelType = unknown
|
|||
return id;
|
||||
}
|
||||
|
||||
public update(instance: Partial<ModelType> & { id: number }): boolean {
|
||||
public update(instance: Partial<ModelType> & Model): boolean {
|
||||
const columnNames = this.schema.columns.filter((column) => {
|
||||
return !column.primaryKey
|
||||
}).map((column) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue