Directus / @directus/types / Alterations
Type Alias: Alterations<T, K> ​
Alterations<
T
,K
>:object
Type Parameters ​
• K extends keyof T
| undefined
= undefined
Type declaration ​
create ​
create:
Partial
<T
>[]
delete ​
delete:
K
extends keyofT
?T
[K
] :PrimaryKey
[]
update ​
update:
K
extends keyofT
?Partial
<T
> &Pick
<T
,K
> :Partial
<T
>[]