import { FetchStateAndError, FetchedState, ID } from '../../../commonStateTypes/common'; export interface InvoiceDetailState { /** * Action fetch state per invoice id — a write against the invoice, so it * lives with the rest of the invoice's state. */ actionStateByInvoiceId: Record; detailById: Record; } export interface InvoiceDetail extends FetchedState { id: ID; }