Files
cash-tracker/collector/scraper/src/data/data.ts
2026-05-16 15:50:49 -07:00

33 lines
498 B
TypeScript

export interface Store {
business_id: string,
businesses: string
}
// why: because type completion is going to matter later on
export enum ProductType {
service,
good
}
export enum ProductUnitType {
item,
weight,
hour,
volume,
}
export interface Product {
id: string,
business_id: string, // references the business_id in a Store entry
product_name: string,
product_type: ProductType,
price: number,
currency: string, // will likely just be USD for now
unit_type: UnitType
}