feat: add expires_at and low_stock_threshold to type definitions (#63 #67)

This commit is contained in:
Pantry Lead Agent
2026-02-25 01:23:00 +00:00
parent c5870f9e6f
commit 76a229952f

View File

@@ -26,6 +26,8 @@ export interface Database {
quantity: number quantity: number
unit_id: string unit_id: string
expiry_date: string | null expiry_date: string | null
expires_at: string | null
low_stock_threshold: number | null
notes: string | null notes: string | null
added_by: string added_by: string
created_at: string created_at: string
@@ -38,6 +40,8 @@ export interface Database {
quantity: number quantity: number
unit_id: string unit_id: string
expiry_date?: string | null expiry_date?: string | null
expires_at?: string | null
low_stock_threshold?: number | null
notes?: string | null notes?: string | null
added_by: string added_by: string
created_at?: string created_at?: string
@@ -50,6 +54,8 @@ export interface Database {
quantity?: number quantity?: number
unit_id?: string unit_id?: string
expiry_date?: string | null expiry_date?: string | null
expires_at?: string | null
low_stock_threshold?: number | null
notes?: string | null notes?: string | null
added_by?: string added_by?: string
created_at?: string created_at?: string