Add audited Graphs stock balances
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m33s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m33s
This commit is contained in:
24
src/types.ts
24
src/types.ts
@@ -25,8 +25,32 @@ export interface StockData {
|
||||
saldo: number;
|
||||
delta_estoque: number;
|
||||
updated_at?: string;
|
||||
graphs_balance?: number | null;
|
||||
graphs_balance_reason?: string | null;
|
||||
graphs_balance_effective_at?: string | null;
|
||||
graphs_balance_updated_by?: string | null;
|
||||
graphs_balance_updated_at?: string | null;
|
||||
planning_balance?: number;
|
||||
}
|
||||
|
||||
export type GraphsStockBalancePayload = {
|
||||
balance: number;
|
||||
reason: string;
|
||||
effectiveAt?: string | null;
|
||||
};
|
||||
|
||||
export type GraphsStockBalanceHistoryItem = {
|
||||
id: number;
|
||||
produto_id: string;
|
||||
tiny_balance: number | null;
|
||||
graphs_balance: number | null;
|
||||
reason: string | null;
|
||||
effective_at: string | null;
|
||||
action: 'set' | 'removed' | string;
|
||||
changed_by: string | null;
|
||||
created_at: string;
|
||||
};
|
||||
|
||||
export type ProductionOrderStatus = 'open' | 'in_progress' | 'finished' | 'canceled' | string;
|
||||
|
||||
export interface ProductionOrderMarker {
|
||||
|
||||
Reference in New Issue
Block a user