export const QUERY1 = ` { test1: users(where: { id: {in:[2]} }, order_by: { id: ASC }) { id tasks( order_by: { id: DESC } ) { id title type_id priority story_points } } } `; export const QUERY2 = ` { test2: tasks(where: { assignee_id: { null: false } }) { id assignee_id descriptions { id task_id descriptionable { __typename ...on DescriptionTextObjectType { ...DescriptionableTextFields } ...on DescriptionChecklistObjectType { id title items { id label is_checked } } } } } } fragment DescriptionableTextFields on DescriptionTextObjectType { id text } `; export const QUERY3 = ` { test3: users { searchTasks { __typename ...on StoryModel { id title __typename } ...on TaskObjectType { id title __typename } } } } `; export const QUERY4 = ` { test4: users( where: { or: { id: { like: "%1%" } fname: { like: "29" } } } ) { id fname lname } } `; export const QUERY5 = ` { test5: tasks { id assignee_id assignee { id } } } `; export const QUERY6 = ` { users(where: { and: { id: {eq: 1} or: { and: { id: {eq: 2} is_active: { eq: true } } is_active: { eq: true } id: { eq: 3 } } } }) { id } } `; export const QUERY7 = ` { users(where: { and: [ { id: {eq: 1} or: [ { and: { id: {eq: 2} } id: { eq: 3 } } ] } ] }) { id } } `; export const QUERY8 = ` { users { id } } `;