added services and interfaces for expense types

This commit is contained in:
Joe Arndt 2026-02-12 14:56:09 -06:00
parent bd18fecdff
commit 7bb21f8796
8 changed files with 142 additions and 5 deletions

View file

@ -0,0 +1,19 @@
import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root',
})
export class Categories {
public static readonly BASE_URL = 'http://localhost:3000/common-cents/categories';
public async getCategories(): Promise<Category[]> {
console.log('getCategories called');
return [];
}
}
export interface Category {
id: string;
name: string;
}