<commit_before>AuditStateConfig.$inject = ['$stateProvider'];

export function AuditStateConfig($stateProvider) {
    $stateProvider.state('audits', {
        parent: 'admin',
        url: '/audits',
        data: {
            authorities: ['ROLE_ADMIN'],
            pageTitle: 'audits.title'
        },
        views: {
            'content@': {
                template: '<<%=jhiPrefix%>-audit></<%=jhiPrefix%>-audit>'
            }
        },
        resolve: {
            translatePartialLoader: ['$translate', '$translatePartialLoader', function ($translate, $translatePartialLoader) {
                $translatePartialLoader.addPart('audits');
                return $translate.refresh();
            }]
        }
    });
}<commit_msg>ng2: (admin) add audits state<commit_after>import { AuditsComponent } from './audits.component';

export const auditState = {
    name: 'audits',
    parent: 'admin',
    url: '/audits',
    data: {
        authorities: ['ROLE_ADMIN'],
        pageTitle: 'audits.title'
    },
    views: {
        'content@': { component: AuditsComponent }
    },
    resolve: {
        translatePartialLoader: ['$translate', '$translatePartialLoader', function ($translate, $translatePartialLoader) {
            $translatePartialLoader.addPart('audits');
            return $translate.refresh();
        }]
    }
}
{'fraction_non_alphanumeric': 0.14955357142857142, 'fraction_numerical': 0.000744047619047619, 'mean_word_length': 2.3292079207920793, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '422001', 'n_tokens_mistral': 376, 'n_tokens_neox': 367, 'n_words': 65}