// ============================================================================
// 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: [
        '/*/*/raw/*',
        '/*/*/src/*',
    ],
    archive: [
        '/*/*/archive/*',
        '/*/*/releases/download/*',
    ],
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGUtbWFuYWdlbWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzX2ludGVyZmFjZXMvZGF0YS9yb3V0ZS1tYW5hZ2VtZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9CQSwrRUFBK0U7QUFDL0UsOEJBQThCO0FBQzlCLCtFQUErRTtBQUUvRSxNQUFNLENBQUMsTUFBTSxjQUFjLEdBQUc7SUFDNUIsR0FBRztJQUNILGFBQWE7SUFDYixjQUFjO0lBQ2QsYUFBYTtJQUNiLFlBQVk7SUFDWixXQUFXO0lBQ1gsZUFBZTtJQUNmLGdCQUFnQjtJQUNoQixhQUFhO0lBQ2IsY0FBYztJQUNkLG1CQUFtQjtJQUNuQixvQkFBb0I7SUFDcEIsYUFBYTtJQUNiLGVBQWU7SUFDZixZQUFZO0lBQ1osY0FBYztJQUNkLHNCQUFzQjtJQUN0Qix1QkFBdUI7SUFDdkIsc0JBQXNCO0lBQ3RCLHVCQUF1QjtJQUN2QixjQUFjO0lBQ2QsZUFBZTtJQUNmLG9CQUFvQjtJQUNwQixxQkFBcUI7SUFDckIsY0FBYztJQUNkLGVBQWU7SUFDZixrQkFBa0I7SUFDbEIsbUJBQW1CO0lBQ25CLGtCQUFrQjtJQUNsQixtQkFBbUI7SUFDbkIsb0JBQW9CO0lBQ3BCLHFCQUFxQjtJQUNyQixxQkFBcUI7SUFDckIsc0JBQXNCO0lBQ3RCLFVBQVU7SUFDVixXQUFXO0lBQ1gsYUFBYTtJQUNiLGNBQWM7SUFDZCxzQkFBc0I7SUFDdEIsdUJBQXVCO0lBQ3ZCLGtCQUFrQjtJQUNsQixtQkFBbUI7Q0FDWCxDQUFDO0FBd0RYLE1BQU0sQ0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