| import { ButtonVariantType } from '@/components/ui/Button' |
|
|
| export const backendBaseUrl = '' |
| export const webuiPrefix = '/webui/' |
|
|
| export const controlButtonVariant: ButtonVariantType = 'ghost' |
|
|
| export const labelColorDarkTheme = '#FFFFFF' |
| export const LabelColorHighlightedDarkTheme = '#000000' |
| export const labelColorLightTheme = '#000' |
|
|
| export const nodeColorDisabled = '#E2E2E2' |
| export const nodeBorderColor = '#EEEEEE' |
| export const nodeBorderColorSelected = '#F57F17' |
|
|
| export const edgeColorDarkTheme = '#888888' |
| export const edgeColorSelected = '#F57F17' |
| export const edgeColorHighlightedDarkTheme = '#F57F17' |
| export const edgeColorHighlightedLightTheme = '#F57F17' |
|
|
| export const searchResultLimit = 50 |
| export const labelListLimit = 100 |
|
|
| |
| export const searchHistoryMaxItems = 500 |
| export const searchHistoryVersion = '1.0' |
|
|
| |
| export const popularLabelsDefaultLimit = 300 |
| export const searchLabelsDefaultLimit = 50 |
|
|
| |
| export const dropdownDisplayLimit = 300 |
|
|
| export const minNodeSize = 4 |
| export const maxNodeSize = 20 |
|
|
| export const healthCheckInterval = 15 |
|
|
| export const defaultQueryLabel = '*' |
|
|
| |
| export const supportedFileTypes = { |
| 'text/plain': [ |
| '.txt', |
| '.md', |
| '.mdx', |
| '.rtf', |
| '.odt', |
| '.tex', |
| '.epub', |
| '.html', |
| '.htm', |
| '.csv', |
| '.json', |
| '.xml', |
| '.yaml', |
| '.yml', |
| '.log', |
| '.conf', |
| '.ini', |
| '.properties', |
| '.sql', |
| '.bat', |
| '.sh', |
| '.c', |
| '.h', |
| '.cpp', |
| '.hpp', |
| '.py', |
| '.java', |
| '.js', |
| '.ts', |
| '.swift', |
| '.go', |
| '.rb', |
| '.php', |
| '.css', |
| '.scss', |
| '.less' |
| ], |
| 'application/pdf': ['.pdf'], |
| 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': ['.docx'], |
| 'application/vnd.openxmlformats-officedocument.presentationml.presentation': ['.pptx'], |
| 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': ['.xlsx'] |
| } |
|
|
| export const SiteInfo = { |
| name: 'LightRAG', |
| home: '/', |
| github: 'https://github.com/HKUDS/LightRAG' |
| } |
|
|