* refactor: index ViewField by viewId and key Closes #1413 * refactor: rename ViewField properties
17 lines
309 B
TypeScript
17 lines
309 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const UPDATE_VIEW_FIELD = gql`
|
|
mutation UpdateViewField(
|
|
$data: ViewFieldUpdateInput!
|
|
$where: ViewFieldWhereUniqueInput!
|
|
) {
|
|
updateOneViewField(data: $data, where: $where) {
|
|
index
|
|
isVisible
|
|
key
|
|
name
|
|
size
|
|
}
|
|
}
|
|
`;
|