height-app-api > PatchTasksFieldsEffect
PatchTasksFieldsEffect type
Update fields
Signature:
export type PatchTasksFieldsEffect = {
type: 'fields';
fieldTemplateId: string;
field: {
text?: string | null;
date?: string | null;
recursion?: any | null;
label?: {
optionId?: string;
};
labels?: {
add?: Array<{
id: string;
}>;
remove?: Array<{
id: string;
}>;
};
linkedTasks?: {
add?: Array<{
id: string;
index?: number;
}>;
remove?: Array<{
id: string;
index?: number;
}>;
};
};
userIds?: {
add?: Array<string>;
remove?: Array<string>;
};
};