feat: Revamp of product categories (#7695)

* feat: Normalize the categories interface to match standards

* feat: Revamp the product category implementation

* fix: Adjustments to code and tests around product categories
This commit is contained in:
Stevche Radevski authored and GitHub committed 2024-06-13 09:10:12 +02:00
1 parent fbd8eef18b
commit d862d03de0
35 files changed
+1135 -874

No files matched your search

@@ -241,11 +241,15 @@ export class MikroOrmBaseTreeRepository<
throw new Error("Method not implemented.")
}
create(data: unknown, context?: Context): Promise<T> {
create(data: unknown[], context?: Context): Promise<T[]> {
throw new Error("Method not implemented.")
}
delete(id: string, context?: Context): Promise<void> {
update(data: unknown[], context?: Context): Promise<T[]> {
throw new Error("Method not implemented.")
}
delete(ids: string[], context?: Context): Promise<void> {
throw new Error("Method not implemented.")
}
}