export const GET_USER_SEGMENT_TARGET = `
  query GetUserSegmentTarget($schoolId: Int!, $query: String) {
    user_segment_target(
      order_by: { created_at: desc }
      where: {
        school_id: { _eq: $schoolId }
        deleted_at: { _is_null: true }
        _or: [{ name: { _ilike: $query } }, { name_unaccent: { _ilike: $query } }]
      }
    ) {
      id
      name
      school_year_id
      school_year {
        name
      }
    }
  }
`;
//# sourceMappingURL=query.js.map