<commit_before>/**
 * Footprints Configuration
 * (trails.config.footprints)
 *
 * Footprints are routes that are auto-generated from your models and controllers.
 *
 * @see http://trailsjs.io/doc/config/footprints.js
 */
module.exports = {

  /**
   * Generate routes for controller handlers.
   */
  controllers: true,

  /**
   * Generate conventional Create, Read, Update, and Delete (CRUD) routes for
   * each Model.
   */
  models: {
    create: true,
    find: true,
    update: true,
    destroy: true,

    /**
     * Automatically populate all model associations
     */
    populate: true,


    /**
     * Subscribe to changes on requested models via WebSocket
     */
    watch: false
  },

  /**
   * Prefix your footprint routes
   */
  prefix: '/api/v1'
}
<commit_msg>[config] add association options for footprints config<commit_after>/**
 * Footprints Configuration
 * (trails.config.footprints)
 *
 * Footprints are routes that are auto-generated from your model and controller
 * definitions in api/controllers and api/models.
 *
 * @see http://trailsjs.io/doc/config/footprints.js
 */
module.exports = {

  /**
   * Generate routes for controller handlers.
   */
  controllers: true,

  /**
   * Generate conventional Create, Read, Update, and Delete (CRUD) routes for
   * each Model.
   */
  models: {
    defaultLImit: 100,

    create: true,
    find: true,
    update: true,
    destroy: true,

    /**
     * Whether to populate all model associations by default (for "find"
     * and "findOne")
     */
    populate: true,

    /**
     * Specify which "association" endpoints to bind.
     */
    createAssociation: true,
    findAssociation: true,
    updateAssociation: true,
    destroyAssociation: true

    /**
     * Subscribe to changes on requested models via WebSocket
     */
    watch: false
  },

  /**
   * Prefix your footprint routes
   */
  prefix: '/api/v1'
}

{'fraction_non_alphanumeric': 0.11320754716981132, 'fraction_numerical': 0.002620545073375262, 'mean_word_length': 2.5615671641791047, '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': '1834583', 'n_tokens_mistral': 585, 'n_tokens_neox': 554, 'n_words': 172}