diff --git a/package-lock.json b/package-lock.json index 7c03ec7..6316739 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@internxt/drive-desktop-core", - "version": "0.1.6", + "version": "0.1.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@internxt/drive-desktop-core", - "version": "0.1.6", + "version": "0.1.7", "license": "MIT", "dependencies": { "@internxt/sdk": "^1.11.10", diff --git a/package.json b/package.json index 7a94b56..075f5fb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@internxt/drive-desktop-core", - "version": "0.1.6", + "version": "0.1.7", "author": "Internxt ", "license": "MIT", "files": [ diff --git a/src/backend/features/sync/index.tsx b/src/backend/features/sync/index.tsx new file mode 100644 index 0000000..abf6cba --- /dev/null +++ b/src/backend/features/sync/index.tsx @@ -0,0 +1,3 @@ +export const SyncModule = { + MAX_FILE_SIZE: 40 * 1024 * 1024 * 1024, +}; diff --git a/src/backend/index.ts b/src/backend/index.ts index 052d41e..8465881 100644 --- a/src/backend/index.ts +++ b/src/backend/index.ts @@ -5,3 +5,4 @@ export { throwWrapper } from './core/utils/throw-wrapper'; export { FileSystemModule, AbsolutePath, RelativePath } from './infra/file-system/file-system.module'; export { PaymentsModule, UserAvailableProducts } from './features/payments/payments.module'; export { CleanerModule } from './features/cleaner/cleaner.module'; +export { SyncModule } from './features/sync'; diff --git a/src/frontend/core/i18n/locales/en.ts b/src/frontend/core/i18n/locales/en.ts index 8a67fe7..8612dfe 100644 --- a/src/frontend/core/i18n/locales/en.ts +++ b/src/frontend/core/i18n/locales/en.ts @@ -427,7 +427,7 @@ export const en = { CREATE_FOLDER_FAILED: 'Failed to create folder', DELETE_ERROR: 'Cannot delete item', FILE_MODIFIED: 'File modified while uploading', - FILE_SIZE_TOO_BIG: 'File size too big (max 20GB)', + FILE_SIZE_TOO_BIG: 'File size too big (max 40GB)', FOLDER_ACCESS_DENIED: 'The app does not have permission to access this folder', FOLDER_DOES_NOT_EXIST: 'Folder does not exist', INVALID_WINDOWS_NAME: String.raw`Windows does not allow names that include the characters \ / : * ? " < > |`, diff --git a/src/frontend/core/i18n/locales/es.ts b/src/frontend/core/i18n/locales/es.ts index 5bba506..7c18955 100644 --- a/src/frontend/core/i18n/locales/es.ts +++ b/src/frontend/core/i18n/locales/es.ts @@ -431,7 +431,7 @@ export const es: Translation = { CREATE_FOLDER_FAILED: 'Error al crear la carpeta', DELETE_ERROR: 'No se pudo eliminar el elemento', FILE_MODIFIED: 'Archivo modificado durante la subida', - FILE_SIZE_TOO_BIG: 'Archivo es demasiado grande (máximo 20GB)', + FILE_SIZE_TOO_BIG: 'Archivo es demasiado grande (máximo 40GB)', FOLDER_ACCESS_DENIED: 'La app no tiene permiso para acceder a esta carpeta', FOLDER_DOES_NOT_EXIST: 'Carpeta no existe', INVALID_WINDOWS_NAME: String.raw`Windows no permite nombres que incluyen los caracteres \ / : * ? " < > |`, diff --git a/src/frontend/core/i18n/locales/fr.ts b/src/frontend/core/i18n/locales/fr.ts index b80939f..e0f5f58 100644 --- a/src/frontend/core/i18n/locales/fr.ts +++ b/src/frontend/core/i18n/locales/fr.ts @@ -433,7 +433,7 @@ export const fr: Translation = { CREATE_FOLDER_FAILED: 'Erreur lors de la création de la dossier', DELETE_ERROR: "Impossible de supprimer l'élément", FILE_MODIFIED: 'Fichier modifié lors du téléchargement', - FILE_SIZE_TOO_BIG: 'Le fichier est trop grand (max 20GB)', + FILE_SIZE_TOO_BIG: 'Le fichier est trop grand (max 40GB)', FOLDER_ACCESS_DENIED: "L'app n'a pas le droit d'accéder à cette dossier", FOLDER_DOES_NOT_EXIST: 'Dossier non existant', INVALID_WINDOWS_NAME: String.raw`Windows ne permet pas les noms contenant les caractères \ / : * ? " < > |`,