ducks.models.Actions.d.ts Maven / Gradle / Ivy
import { Action } from '../Action'
import type { ModelPrefix } from '../../core/datasource/const'
import { State } from './Models'
export interface ModelsPayload {
prefix: ModelPrefix
key: string
}
type FieldPath = ModelsPayload & {
field: string
}
export type SetModelAction = Action>
: Record) | null
isDefault?: boolean
}>
export type RemoveModelAction = Action
export type SyncModelAction = Action
export type UpdateModelAction = Action
export type RemoveAllModelAction = Action
export type ClearModelAction = Action
export type MergeModelAction = Action
}>
export type CopyAction = Action
export type AppendFieldToArrayAction = Action
export type RemoveFieldFromArrayAction = Action
export type CopyFieldArrayAction = Action
© 2015 - 2025 Weber Informatics LLC | Privacy Policy