import { PaparaError } from "./paparaError"; import { PaparaSuccess } from "./paparaSuccess"; /** * Papara List type. Handles list data types sending to and returning from API. * @template T Generic Entity. E.g Account Service */ export interface PaparaArrayResult { /** * Gets or sets result succeed status */ succeeded: boolean; /** * Gets or sets array result data. */ data: T[]; /** * Gets or sets a value indicating whether operation failed or not. */ error?: PaparaError; /** * Gets or sets success result */ result?: PaparaSuccess; }