21 lines
377 B
TypeScript
21 lines
377 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const QUERY_PROFESSIONS = gql`
|
|
query professions(
|
|
$offset: Int
|
|
$limit: Int
|
|
$filter: ProfessionFilter
|
|
$sort: [String!]
|
|
) {
|
|
professions(offset: $offset, limit: $limit, filter: $filter, sort: $sort) {
|
|
total
|
|
items {
|
|
id
|
|
name
|
|
description
|
|
createdAt
|
|
}
|
|
}
|
|
}
|
|
`;
|