<commit_before>var Model = require('./model');


// Expose `User` Model
module.exports = User;



/**
 * @constructor
 */
function User(app, resource) {
  this.app = app;
  this.modelName = 'user';
  // TODO: Is there a better way to access this, vs on the prototype???
  this.validations = this.VALIDATIONS_;
  Model.call(this, resource);
}
require('util').inherits(User, Model);


/**
 * @const {enum {string}}
 * @private
 */
User.prototype.VALIDATIONS_ = {
  displayName: {
    exists: true,
    min: 6,
    max: 100,
    type: 'string'
  },
  email: {
    email: true,
    min: 10
  }
};
<commit_msg>Made a modification on how a const was called.<commit_after>var Model = require('./model');


// Expose `User` Model
module.exports = User;



/**
 * @constructor
 */
function User(app, resource) {
  this.app = app;
  this.modelName = 'user';
  this.validations = User.VALIDATIONS_;
  Model.call(this, resource);
}
require('util').inherits(User, Model);


/**
 * @const {enum {string}}
 * @private
 */
User.VALIDATIONS_ = {
  displayName: {
    exists: true,
    min: 6,
    max: 100,
    type: 'string'
  },
  email: {
    email: true,
    min: 10
  }
};

{'fraction_non_alphanumeric': 0.16795865633074936, 'fraction_numerical': 0.0103359173126615, 'mean_word_length': 2.993127147766323, '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': '3347684', 'n_tokens_mistral': 426, 'n_tokens_neox': 399, 'n_words': 103}