<commit_before>export type Ordering = 'NONE' | 'ASC' | 'DESC';

export interface QueryOrder {
  field: string;
  ordering: Ordering;
  chain?: string[];
}

export interface QueryFilters {
  [attribute: string]: any;
}

export interface QueryPagination {
  skip?: number;
  take?: number;
}

export interface QueryInclude {
  [alias: string]: SubQuery | boolean;
}

export interface SubQuery {
  include?: QueryInclude;
  filters?: QueryFilters;
  attributes?: string[];
}

export interface Query {
  queryId?: number;
  model?: string;
  byId?: number;
  count?: boolean;
  extra?: any;
  include?: QueryInclude;
  filters?: QueryFilters;
  attributes?: string[];
  pagination?: QueryPagination;
  order?: QueryOrder;
}<commit_msg>Add required to sync subQuery<commit_after>export type Ordering = 'NONE' | 'ASC' | 'DESC';

export interface QueryOrder {
  field: string;
  ordering: Ordering;
  chain?: string[];
}

export interface QueryFilters {
  [attribute: string]: any;
}

export interface QueryPagination {
  skip?: number;
  take?: number;
}

export interface QueryInclude {
  [alias: string]: SubQuery | boolean;
}

export interface SubQuery {
  include?: QueryInclude;
  filters?: QueryFilters;
  attributes?: string[];
  required?: boolean;
}

export interface Query {
  queryId?: number;
  model?: string;
  byId?: number;
  count?: boolean;
  extra?: any;
  include?: QueryInclude;
  filters?: QueryFilters;
  attributes?: string[];
  pagination?: QueryPagination;
  order?: QueryOrder;
}
{'fraction_non_alphanumeric': 0.12733333333333333, 'fraction_numerical': 0.0, 'mean_word_length': 4.664150943396226, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3810225', 'n_tokens_mistral': 448, 'n_tokens_neox': 462, 'n_words': 140}