// ============================================================================
// Route Management Data Types
// ============================================================================
export const apiTokenScopes = [
    '*',
    'routes:read',
    'routes:write',
    'config:read',
    'stats:read',
    'logs:read',
    'security:read',
    'security:write',
    'emails:read',
    'emails:write',
    'certificates:read',
    'certificates:write',
    'tokens:read',
    'tokens:manage',
    'users:read',
    'users:manage',
    'source-profiles:read',
    'source-profiles:write',
    'target-profiles:read',
    'target-profiles:write',
    'targets:read',
    'targets:write',
    'dns-providers:read',
    'dns-providers:write',
    'domains:read',
    'domains:write',
    'dns-records:read',
    'dns-records:write',
    'acme-config:read',
    'acme-config:write',
    'email-domains:read',
    'email-domains:write',
    'remote-ingress:read',
    'remote-ingress:write',
    'vpn:read',
    'vpn:write',
    'radius:read',
    'radius:write',
    'gateway-clients:read',
    'gateway-clients:write',
    'workhosters:read',
    'workhosters:write',
];
export const routePathClasses = [
    'git-smart-http',
    'static',
    'normal-html',
    'expensive-html',
    'raw',
    'archive',
];
export const giteaRoutePathClassLabels = {
    'git-smart-http': 'Git Smart HTTP',
    static: 'Static Assets',
    'normal-html': 'Normal HTML',
    'expensive-html': 'Expensive HTML',
    raw: 'Raw Files',
    archive: 'Archives',
};
export const giteaRoutePathClassPatterns = {
    'git-smart-http': [
        '/*/*.git/info/refs',
        '/*/*.git/git-upload-pack',
        '/*/*.git/git-receive-pack',
        '/*/*.git/info/lfs',
        '/*/*.git/info/lfs/*',
    ],
    static: [
        '/assets/*',
        '/avatars/*',
        '/repo-avatars/*',
        '/user/avatar/*',
        '/img/*',
        '/css/*',
        '/js/*',
        '/fonts/*',
        '/favicon.ico',
    ],
    'normal-html': [],
    'expensive-html': [
        '/explore/*',
        '/issues',
        '/issues/*',
        '/pulls',
        '/pulls/*',
        '/search',
        '/*/*/commits/*',
        '/*/*/graph',
        '/*/*/activity',
        '/*/*/stars',
        '/*/*/forks',
        '/*/*/watchers',
        '/*/*/issues',
        '/*/*/pulls',
        '/*/*/projects',
        '/*/*/actions',
        '/*/*/packages',
    ],
    raw: [
        '/*/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