GitHub

DaffOperationEntity

type-alias

import { DaffOperationEntity } from '@daffodil/core/state'

An entity that is responsible for storing its own errors and loading state. Its possible to be an "optimistic" entity, i.e. only temporary while the real entity is in some loading state.

type DaffOperationEntity<T extends DaffIdentifiable = DaffIdentifiable> = DaffStateable & DaffErrorable & T & {
    daffTemp: boolean;
}