<commit_before>/**
 * @typedef {object} ConfigFieldBaseType
 */
class ConfigFieldBaseType {
  /**
   * Array of validators for this type
   * @type {function.<boolean>[]}
   */
  validators = [];
}

export default ConfigFieldBaseType;
module.exports = ConfigFieldBaseType;
<commit_msg>feat: Add transformators for base type.<commit_after>/**
 * @typedef {object} ConfigFieldBaseType
 */
class ConfigFieldBaseType {
  /**
   * Array of validators for this type
   * @type {function.<boolean>[]}
   */
  validators = [];

  /**
   * @type {{pre: function[], post: function[]}}
   */
  transformators = {
    pre: [],
    post: [],
  };
}

export default ConfigFieldBaseType;
module.exports = ConfigFieldBaseType;

{'fraction_non_alphanumeric': 0.1490857946554149, 'fraction_numerical': 0.0, 'mean_word_length': 3.6842105263157894, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1730241', 'n_tokens_mistral': 223, 'n_tokens_neox': 218, 'n_words': 53}