Type alias IHarpeeModelUpdateNestedOptions<V>
IHarpee
Model
Update
Nested
Options
<V>: { getAttributes
?: string[]; id
: StringOrNumber; path
: string | string[]; returnData
?: boolean; value
: any | ((val
: V) => V) }
Type Parameters
Type declaration
-
Optional
getAttributes?: string[]
-
-
path: string | string[]
-
Optional
returnData?: boolean
-
value: any | ((val: V) => V)
a string or array of string indicating the path to a value
Example