diff --git a/frontend/src/renderer/constants/index.js b/frontend/src/renderer/constants/index.js new file mode 100644 index 0000000..feea265 --- /dev/null +++ b/frontend/src/renderer/constants/index.js @@ -0,0 +1,32 @@ +export const FILE_TYPES = { + FOLDER: 'folder', + FILE: 'file', +}; + +export const FILE_ICONS = { + pdf: 'file-pdf', + doc: 'file-word', + docx: 'file-word', + xls: 'file-excel', + xlsx: 'file-excel', + jpg: 'file-image', + jpeg: 'file-image', + png: 'file-image', + gif: 'file-image', + mp4: 'video', + mp3: 'audio', + zip: 'file-zip', + default: 'file', +}; + +export const SYNC_STATUS = { + IDLE: 'idle', + SYNCING: 'syncing', + COMPLETED: 'completed', + ERROR: 'error', +}; + +export const STORAGE_LIMITS = { + FREE: 10 * 1024 * 1024 * 1024, // 10GB + PRO: 100 * 1024 * 1024 * 1024, // 100GB +};