| 22 | } from "./transaction"; |
| 23 | |
| 24 | export interface EntityClient<Data, View> |
| 25 | extends EntityStorePublicMethods<Data, View> { |
| 26 | all: Entity<Data, View>[]; |
| 27 | hasItems: boolean; |
| 28 | count: number; |
| 29 | create(input: Partial<Data>): Entity<Data, View>; |
| 30 | put(input: Partial<Data>): Entity<Data, View>; |
| 31 | definition: EntityDefinition<Data, View>; |
| 32 | store: EntityStore<Data, View>; |
| 33 | |
| 34 | events: EntityStoreEventsEmmiter<Data, View>; |
| 35 | } |
| 36 | |
| 37 | export type EntityClientByDefinition< |
| 38 | Def extends EntityDefinition<unknown, unknown> |
no outgoing calls
no test coverage detected