can’t innovate my ass 

Signed-off-by: FTCHD <144691102+FTCHD@users.noreply.github.com>
This commit is contained in:
FTCHD
2025-12-07 18:42:44 +01:00
committed by GitHub
parent 4254efe732
commit 7a62659323
243 changed files with 20668 additions and 11553 deletions
+160 -66
View File
@@ -1,83 +1,177 @@
export const RCLONE_CONFIG_DEFAULTS = {
'MultiThreadCutoff': '64M',
'MultiThreadStreams': 8,
'MultiThreadChunkSize': '8M',
'UseListR': true,
'UseServerModTime': true,
'BufferSize': '32M',
'Transfers': 8,
'Checkers': 16,
}
export const RCLONE_VFS_DEFAULTS = {
'ChunkSize': '4M',
'ChunkStreams': 16,
}
copy: {
'multi_thread_cutoff': '64M',
'multi_thread_streams': 8,
'multi_thread_chunk_size': '8M',
},
config: {
'fast_list': true,
'use_server_modtime': true,
'buffer_size': '32M',
'transfers': 8,
'checkers': 16,
},
vfs: {
'chunk_size': '4M',
'chunk_streams': 16,
},
} as const
export const RCLONE_CONF_REGEX = /[\/\\]rclone\.conf$/
export const DOUBLE_BACKSLASH_REGEX = /\\\\/g
export const SUPPORTED_BACKENDS = [
'azureblob',
'azurefiles',
export const SERVE_TYPES = ['dlna', 'ftp', 'sftp', 'http', 'nfs', 'restic', 's3', 'webdav'] as const
export const SUPPORTS_CLEANUP = [
's3',
'b2',
'box',
'drive',
'dropbox',
'sftp',
's3',
'ftp',
'gcs',
'protondrive',
'webdav',
'onedrive',
'http',
'storj',
'gphotos',
'netstorage',
'oos',
'swift',
'compress',
'union',
'hasher',
'combine',
'chunker',
'memory',
'crypt',
'alias',
'cache',
'local',
'hdfs',
'cloudinary',
'doi',
'filelu',
'filescom',
'imagekit',
'internetarchive',
'koofr',
'linkbox',
'mega',
'opendrive',
'pixeldrain',
'seafile',
'sia',
'smb',
'ulozto',
'gofile',
'qingstor',
'filefabric',
'quatrix',
'sugarsync',
'hidrive',
'drive',
'internetarchive',
'jottacloud',
'mailru',
'mega',
'onedrive',
'oos',
'pcloud',
'pikpak',
'putio',
'protondrive',
'qingstor',
'seafile',
'yandex',
] as const
export const SUPPORTS_PURGE = [
'netstorage',
'box',
'sharefile',
'dropbox',
'filefabric',
'filescom',
'gofile',
'gcs',
'drive',
'hdfs',
'hifile',
'iclouddrive',
'imagekit',
'jottacloud',
'koofr',
'mailru',
'mega',
'azureblob',
'onedrive',
'opendrive',
'swift',
'pikpak',
'pcloud',
'pixeldrain',
'premiumizeme',
'putio',
'sharefile',
'protondrive',
'quatrix',
'seafile',
'sugarsync',
'storj',
'webdav',
'yandex',
'zoho',
]
] as const
export const SERVE_TYPES = ['dlna', 'ftp', 'sftp', 'http', 'nfs', 'restic', 's3', 'webdav'] as const
export const SUPPORTS_ABOUT = [
'box',
'dropbox',
'gofile',
'drive',
'hdfs',
'internetarchive',
'jottacloud',
'koofr',
'mailru',
'mega',
'azurefiles',
'onedrive',
'opendrive',
'swift',
'pcloud',
'pikpak',
'pixeldrain',
'premiumizeme',
'putio',
'protondrive',
'quatrix',
'seafile',
'sftp',
'webdav',
'yandex',
'zoho',
'local',
] as const
// export const SUPPORTED_OPERATIONS = [
// {
// id: 'uncategorized',
// name: 'Uncategorized',
// icon: <FileIcon />,
// titleColor: 'text-foreground',
// indicatorColor: 'text-foreground-500',
// },
// {
// id: 'copy',
// name: 'Copy',
// icon: <CopyIcon />,
// titleColor: 'text-primary-400',
// indicatorColor: 'text-primary-300',
// },
// {
// id: 'move',
// name: 'Move',
// icon: <MoveIcon />,
// titleColor: 'text-primary-400',
// indicatorColor: 'text-primary-300',
// },
// {
// id: 'delete',
// name: 'Delete',
// icon: <TrashIcon />,
// titleColor: 'text-danger-400',
// indicatorColor: 'text-danger-300',
// },
// {
// id: 'sync',
// name: 'Sync',
// icon: <ArrowRightLeftIcon />,
// titleColor: 'text-success-300',
// indicatorColor: 'text-success-300',
// },
// {
// id: 'bisync',
// name: 'Bisync',
// icon: <ArrowRightLeftIcon />,
// titleColor: 'text-primary-400',
// indicatorColor: 'text-primary-300',
// },
// {
// id: 'mount',
// name: 'Mount',
// icon: <HardDriveIcon />,
// titleColor: 'text-secondary-500',
// indicatorColor: 'text-secondary-400',
// },
// {
// id: 'purge',
// name: 'Purge',
// icon: <Trash2Icon />,
// titleColor: 'text-warning-300',
// indicatorColor: 'text-warning-300',
// },
// {
// id: 'serve',
// name: 'Serve',
// icon: <ServerIcon />,
// titleColor: 'text-cyan-500',
// indicatorColor: 'text-cyan-300',
// },
// ] as const