<commit_before>/**
 * Component definition for the <%= dasherizedModuleName %> component
 */

import Ember from 'ember'
const {Component} = Ember
import PropTypesMixin, {PropTypes} from 'ember-prop-types'
import computed, {readOnly} from 'ember-computed-decorators'

import layout from '<%= templatePath %>'

export default Component.extend(PropTypesMixin, {
  // == Dependencies ==========================================================

  // == Properties ============================================================

  /**
   * Properties for this component. Public properties are expected to be
   * (potentially) passed in to the component. Private properties are *not*
   * expected to be passed in/overwritten.
   */
  propTypes: {
    // public
    hook: PropTypes.string,

    // private
    layout: PropTypes.any
  },

  /**
   * @returns {Object} the default property values for this component
   */
  getDefaultProps () {
    return {
      // public
      hook: '<%= camelizedModuleName %>',

      // private
      layout
    }
  },

  // == Computed Properties ===================================================

  @readOnly
  @computed('hook')
  /**
   * A pretty silly computed property just as an example of one
   * it appends '-' to the hook<commit_msg>Make hook required<commit_after>/**
 * Component definition for the <%= dasherizedModuleName %> component
 */

import Ember from 'ember'
const {Component} = Ember
import PropTypesMixin, {PropTypes} from 'ember-prop-types'
import computed, {readOnly} from 'ember-computed-decorators'

import layout from '<%= templatePath %>'

export default Component.extend(PropTypesMixin, {
  // == Dependencies ==========================================================

  // == Properties ============================================================

  /**
   * Properties for this component. Public properties are expected to be
   * (potentially) passed in to the component. Private properties are *not*
   * expected to be passed in/overwritten.
   */
  propTypes: {
    // public
    hook: PropTypes.string.isRequired,

    // private
    layout: PropTypes.any
  },

  /**
   * @returns {Object} the default property values for this component
   */
  getDefaultProps () {
    return {
      // public

      // private
      layout
    }
  },

  // == Computed Properties ===================================================

  @readOnly
  @computed('hook')
  /**
   * A pretty silly computed property just as an example of one
   * it appends '-' to the hook
{'fraction_non_alphanumeric': 0.23217115689381934, 'fraction_numerical': 0.0, 'mean_word_length': 3.5089285714285716, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '3398567', 'n_tokens_mistral': 666, 'n_tokens_neox': 629, 'n_words': 201}