<commit_before>import Ember from 'ember';

export default Ember.ArrayController.extend({
  actions: {
    createListItem: function() {
      var store = this.store;
      var formParams = this.get('attributes');
      var requestedItem = this.store.createRecord(
        'requested-item', {name: formParams.name, mediaName: formParams.mediaType}
      );
      this.set('attributes', {mediaType: formParams.mediaType});
      requestedItem.save().then(function(item) {
        var listItem = store.createRecord(
          'listItem', {name: formParams.name, item: item}
        );
        listItem.save();
      });
    }
  },
  attributes: {},
  types: [
    "Movie",
    "Show",
    "Actor",
    "Director",
    "Song",
    "Album",
    "Artist",
    "Book",
    "Author"
  ]
});<commit_msg>remove Author from options until Goodreads author search can be fixed<commit_after>import Ember from 'ember';

export default Ember.ArrayController.extend({
  actions: {
    createListItem: function() {
      var store = this.store;
      var formParams = this.get('attributes');
      var requestedItem = this.store.createRecord(
        'requested-item', {name: formParams.name, mediaName: formParams.mediaType}
      );
      this.set('attributes', {mediaType: formParams.mediaType});
      requestedItem.save().then(function(item) {
        var listItem = store.createRecord(
          'listItem', {name: formParams.name, item: item}
        );
        listItem.save();
      });
    }
  },
  attributes: {},
  types: [
    "Movie",
    "Show",
    "Actor",
    "Director",
    "Song",
    "Album",
    "Artist",
    "Book"
  ]
});
{'fraction_non_alphanumeric': 0.14803439803439802, 'fraction_numerical': 0.0, 'mean_word_length': 2.68552036199095, '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': '6631214', 'n_tokens_mistral': 504, 'n_tokens_neox': 496, 'n_words': 105}