Files
twenty/front/src/modules/views/queries/select.ts
T
Thaïs 3807d62aeb feat: persist resized column widths (#1017)
* feat: persist resized column widths

Closes #981

* test: mock company and person view fields
2023-08-02 11:48:14 -07:00

17 lines
338 B
TypeScript

import { gql } from '@apollo/client';
export const GET_VIEW_FIELDS = gql`
query GetViewFields(
$where: ViewFieldWhereInput
$orderBy: [ViewFieldOrderByWithRelationInput!]
) {
viewFields: findManyViewField(where: $where, orderBy: $orderBy) {
id
fieldName
isVisible
sizeInPx
index
}
}
`;