<commit_before>import { ID } from '@datorama/akita';

export interface {{ singular (pascalCase name) }} {
  id: ID;
}

export function create{{ singular (pascalCase name) }}(params: Partial<{{ singular (pascalCase name) }}>) {
  return {

  } as {{ singular (pascalCase name) }};
}
<commit_msg>fix(): add params to created object (#544)<commit_after>import { ID } from '@datorama/akita';

export interface {{ singular (pascalCase name) }} {
  id: ID;
}

export function create{{ singular (pascalCase name) }}(params: Partial<{{ singular (pascalCase name) }}>) {
  return {
    ...params
  } as {{ singular (pascalCase name) }};
}

{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.004761904761904762, 'mean_word_length': 4.535087719298246, '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': '5093395', 'n_tokens_mistral': 208, 'n_tokens_neox': 200, 'n_words': 61}