<commit_before><commit_msg>add a new model for mirror voice config<commit_after>var keystone = require('arch-keystone');
var transform = require('model-transform');
var Types = keystone.Field.Types;

var VoiceConfigs = new keystone.List('VoiceConfigs', {
    track: true,
	sortable: true,
});

VoiceConfigs.add({
  key: { label: '設定', type: Types.Select, options: 'appversion, masters_amount, masters_list_number', default: 'appversion' },
  group: { label: '群組', type: Types.Select, options: 'A, B, C', default: 'A' },
  value: { label: '設定值', type: String }
});

transform.toJSON(VoiceConfigs);
VoiceConfigs.register();
{'fraction_non_alphanumeric': 0.1610305958132045, 'fraction_numerical': 0.0, 'mean_word_length': 5.835164835164835, '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': '1269424', 'n_tokens_mistral': 212, 'n_tokens_neox': 207, 'n_words': 54}