refactor(configuration): Setup configuration and menu to be reuseable

This commit is contained in:
Michel Fedde 2025-06-23 00:57:02 +02:00
parent 863ae3fab2
commit d46bbd84c5
21 changed files with 551 additions and 452 deletions

View file

@ -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) => {