the great renaming

This commit is contained in:
2026-02-26 15:33:24 +01:00
parent 4a4df0e799
commit 1ac2de123e
63 changed files with 11931 additions and 2674 deletions

14
src/app/api/food.store.ts Normal file
View File

@@ -0,0 +1,14 @@
import { Injectable } from "@angular/core";
import { Store } from "./store";
import { Food } from "../types/food";
import { db } from "../dexie/db";
@Injectable({ providedIn: 'root' })
export class FoodStore extends Store<Food[]> {
constructor() {
super(db.foods.toArray(), []);
}
public readonly foods = this.value;
}