* Fixed bug for refectch activities and create activity on the currently filtered user. * Refactor optimistif effect --------- Co-authored-by: Charles Bochet <charles@twenty.com>
18 lines
355 B
TypeScript
18 lines
355 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const SEARCH_COMPANY_QUERY = gql`
|
|
query SearchCompany(
|
|
$where: CompanyWhereInput
|
|
$limit: Int
|
|
$orderBy: [CompanyOrderByWithRelationInput!]
|
|
) {
|
|
searchResults: findManyCompany(
|
|
where: $where
|
|
take: $limit
|
|
orderBy: $orderBy
|
|
) {
|
|
...companyFieldsFragment
|
|
}
|
|
}
|
|
`;
|