@nocobase/plugin-file-manager 2.0.57 → 2.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/867ada653cd02a3e.mjs +6 -0
- package/dist/client/index.js +1 -1
- package/dist/client/previewer/filePreviewTypes.d.ts +3 -0
- package/dist/externalVersion.js +8 -8
- package/dist/locale/de-DE.json +3 -0
- package/dist/locale/en-US.json +3 -0
- package/dist/locale/es-ES.json +3 -0
- package/dist/locale/fr-FR.json +3 -0
- package/dist/locale/hu-HU.json +4 -1
- package/dist/locale/id-ID.json +4 -1
- package/dist/locale/it-IT.json +3 -0
- package/dist/locale/ja-JP.json +3 -0
- package/dist/locale/ko-KR.json +3 -0
- package/dist/locale/nl-NL.json +3 -0
- package/dist/locale/pt-BR.json +3 -0
- package/dist/locale/ru-RU.json +3 -0
- package/dist/locale/tr-TR.json +3 -0
- package/dist/locale/uk-UA.json +3 -0
- package/dist/locale/vi-VN.json +4 -1
- package/dist/locale/zh-CN.json +3 -0
- package/dist/locale/zh-TW.json +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
- package/dist/node_modules/@aws-sdk/lib-storage/package.json +1 -1
- package/dist/node_modules/ali-oss/package.json +1 -1
- package/dist/node_modules/cos-nodejs-sdk-v5/package.json +1 -1
- package/dist/node_modules/mime-match/package.json +1 -1
- package/dist/node_modules/mime-types/package.json +1 -1
- package/dist/node_modules/mkdirp/package.json +1 -1
- package/dist/node_modules/url-join/package.json +1 -1
- package/dist/server/commands/repair-filenames.d.ts +55 -0
- package/dist/server/commands/repair-filenames.js +283 -0
- package/dist/server/server.d.ts +1 -0
- package/dist/server/server.js +4 -0
- package/dist/server/storages/ali-oss.d.ts +3 -1
- package/dist/server/storages/ali-oss.js +23 -2
- package/dist/server/storages/index.d.ts +3 -0
- package/dist/server/storages/index.js +6 -0
- package/dist/server/storages/local.d.ts +2 -0
- package/dist/server/storages/local.js +18 -0
- package/dist/server/storages/s3.d.ts +2 -0
- package/dist/server/storages/s3.js +26 -0
- package/dist/server/storages/tx-cos.d.ts +2 -0
- package/dist/server/storages/tx-cos.js +27 -0
- package/dist/server/utils.js +12 -2
- package/package.json +5 -3
- package/dist/client/301.4bc6687c4a9cf8e0.js +0 -15
package/dist/externalVersion.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/client": "2.0.
|
|
11
|
+
"@nocobase/client": "2.0.59",
|
|
12
12
|
"react": "18.2.0",
|
|
13
13
|
"antd": "5.24.2",
|
|
14
14
|
"@ant-design/icons": "5.6.1",
|
|
@@ -16,16 +16,16 @@ module.exports = {
|
|
|
16
16
|
"lodash": "4.18.1",
|
|
17
17
|
"react-i18next": "11.18.6",
|
|
18
18
|
"multer": "1.4.5-lts.2",
|
|
19
|
-
"@nocobase/database": "2.0.
|
|
20
|
-
"@nocobase/server": "2.0.
|
|
21
|
-
"@nocobase/utils": "2.0.
|
|
22
|
-
"@nocobase/test": "2.0.
|
|
19
|
+
"@nocobase/database": "2.0.59",
|
|
20
|
+
"@nocobase/server": "2.0.59",
|
|
21
|
+
"@nocobase/utils": "2.0.59",
|
|
22
|
+
"@nocobase/test": "2.0.59",
|
|
23
23
|
"@formily/react": "2.3.7",
|
|
24
|
-
"@nocobase/flow-engine": "2.0.
|
|
24
|
+
"@nocobase/flow-engine": "2.0.59",
|
|
25
25
|
"@emotion/css": "11.13.0",
|
|
26
26
|
"@formily/antd-v5": "1.2.3",
|
|
27
|
-
"@nocobase/actions": "2.0.
|
|
27
|
+
"@nocobase/actions": "2.0.59",
|
|
28
|
+
"@nocobase/plugin-data-source-main": "2.0.59",
|
|
28
29
|
"sequelize": "6.35.2",
|
|
29
|
-
"@nocobase/plugin-data-source-main": "2.0.57",
|
|
30
30
|
"axios": "1.7.7"
|
|
31
31
|
};
|
package/dist/locale/de-DE.json
CHANGED
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
"Minimum from 1 byte.": "Minimum from 1 byte.",
|
|
34
34
|
"Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Mehrere Typen durch Kommas getrennt, zum Beispiel: \"image/*\", \"image/png\", \"image/*, application/pdf\" usw.",
|
|
35
35
|
"Path": "Pfad",
|
|
36
|
+
"PDF preview failed. Please download the file to preview it.": "PDF-Vorschau fehlgeschlagen. Bitte laden Sie die Datei herunter, um sie anzuzeigen.",
|
|
37
|
+
"PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.": "Die PDF-Vorschau konnte die Datei nicht laden. Wenn die Datei auf einer anderen Domain gespeichert ist, konfigurieren Sie CORS für den externen Speicher, damit diese Website die Datei lesen darf.",
|
|
38
|
+
"PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.": "Die Ressourcen für die PDF-Vorschau konnten nicht geladen werden. Bitte aktualisieren Sie die Seite und prüfen Sie, ob die statischen Plugin-Dateien korrekt bereitgestellt wurden.",
|
|
36
39
|
"Region": "Region",
|
|
37
40
|
"Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Relativer Pfad, in dem die Datei gespeichert wird. Leer lassen als Stammpfad. Die führenden und abschließenden Schrägstriche \"/\" werden ignoriert. Zum Beispiel: \"user/avatar\".",
|
|
38
41
|
"Renaming strategy to avoid filename conflicts when uploading files.": "Umbenennungsstrategie, um Dateikonflikte beim Hochladen zu vermeiden.",
|
package/dist/locale/en-US.json
CHANGED
|
@@ -35,6 +35,9 @@
|
|
|
35
35
|
"Minimum from 1 byte.": "Minimum from 1 byte.",
|
|
36
36
|
"Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.",
|
|
37
37
|
"Path": "Path",
|
|
38
|
+
"PDF preview failed. Please download the file to preview it.": "PDF preview failed. Please download the file to preview it.",
|
|
39
|
+
"PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.": "PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.",
|
|
40
|
+
"PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.": "PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.",
|
|
38
41
|
"Region": "Region",
|
|
39
42
|
"Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".",
|
|
40
43
|
"Renaming strategy to avoid filename conflicts when uploading files.": "Renaming strategy to avoid filename conflicts when uploading files.",
|
package/dist/locale/es-ES.json
CHANGED
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
"Minimum from 1 byte.": "Minimum from 1 byte.",
|
|
34
34
|
"Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.",
|
|
35
35
|
"Path": "Path",
|
|
36
|
+
"PDF preview failed. Please download the file to preview it.": "La vista previa del PDF falló. Descargue el archivo para verlo.",
|
|
37
|
+
"PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.": "La vista previa del PDF no pudo cargar el archivo. Si el archivo está almacenado en otro dominio, configure CORS en el almacenamiento externo para permitir que este sitio lea el archivo.",
|
|
38
|
+
"PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.": "No se pudieron cargar los recursos de vista previa del PDF. Actualice la página y compruebe si los archivos estáticos del plugin se han desplegado correctamente.",
|
|
36
39
|
"Region": "Region",
|
|
37
40
|
"Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".",
|
|
38
41
|
"Renaming strategy to avoid filename conflicts when uploading files.": "Estrategia de renombrado para evitar conflictos de nombres de archivo al subir archivos.",
|
package/dist/locale/fr-FR.json
CHANGED
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
"Minimum from 1 byte.": "Minimum from 1 byte.",
|
|
34
34
|
"Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.",
|
|
35
35
|
"Path": "Chemin",
|
|
36
|
+
"PDF preview failed. Please download the file to preview it.": "L'aperçu du PDF a échoué. Veuillez télécharger le fichier pour le consulter.",
|
|
37
|
+
"PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.": "L'aperçu du PDF n'a pas pu charger le fichier. Si le fichier est stocké sur un autre domaine, configurez CORS pour le stockage externe afin d'autoriser ce site à lire le fichier.",
|
|
38
|
+
"PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.": "Les ressources de l'aperçu du PDF n'ont pas pu être chargées. Veuillez actualiser la page et vérifier que les fichiers statiques du plugin sont correctement déployés.",
|
|
36
39
|
"Region": "Region",
|
|
37
40
|
"Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".",
|
|
38
41
|
"Renaming strategy to avoid filename conflicts when uploading files.": "Stratégie de renommage pour éviter les conflits de noms de fichiers lors du téléchargement.",
|
package/dist/locale/hu-HU.json
CHANGED
|
@@ -28,6 +28,9 @@
|
|
|
28
28
|
"Minimum from 1 byte.": "Minimum from 1 byte.",
|
|
29
29
|
"Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Több típus vesszővel elválasztva, például: \"image/*\", \"image/png\", \"image/*, application/pdf\" stb.",
|
|
30
30
|
"Path": "Útvonal",
|
|
31
|
+
"PDF preview failed. Please download the file to preview it.": "A PDF előnézete sikertelen. Kérjük, töltse le a fájlt a megtekintéshez.",
|
|
32
|
+
"PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.": "A PDF előnézete nem tudta betölteni a fájlt. Ha a fájl másik tartományban van tárolva, állítsa be a CORS-t a külső tárhelyen, hogy ez a webhely olvashassa a fájlt.",
|
|
33
|
+
"PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.": "A PDF előnézeti erőforrásai nem töltődtek be. Kérjük, frissítse az oldalt, és ellenőrizze, hogy a plugin statikus fájljai megfelelően lettek-e telepítve.",
|
|
31
34
|
"Region": "Régió",
|
|
32
35
|
"Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Relatív útvonal, ahová a fájl mentésre kerül. Üresen hagyva gyökér útvonal. A kezdő és záró \"/\" karaktereket figyelmen kívül hagyjuk. Például: \"user/avatar\".",
|
|
33
36
|
"See more": "Továbbiak",
|
|
@@ -45,4 +48,4 @@
|
|
|
45
48
|
"Upload timeout for a single file in milliseconds. Default is 600000.": "Upload timeout for a single file in milliseconds. Default is 600000.",
|
|
46
49
|
"Use the built-in static file server": "A beépített statikus fájlkiszolgáló használata",
|
|
47
50
|
"Will be used for API": "Az API-hoz lesz használva"
|
|
48
|
-
}
|
|
51
|
+
}
|
package/dist/locale/id-ID.json
CHANGED
|
@@ -28,6 +28,9 @@
|
|
|
28
28
|
"Minimum from 1 byte.": "Minimum from 1 byte.",
|
|
29
29
|
"Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Beberapa tipe dipisahkan dengan koma, contoh: \"image/*\", \"image/png\", \"image/*, application/pdf\" dll.",
|
|
30
30
|
"Path": "Jalur",
|
|
31
|
+
"PDF preview failed. Please download the file to preview it.": "Pratinjau PDF gagal. Silakan unduh file untuk melihatnya.",
|
|
32
|
+
"PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.": "Pratinjau PDF gagal memuat file. Jika file disimpan di domain lain, konfigurasikan CORS pada penyimpanan eksternal agar situs ini dapat membaca file tersebut.",
|
|
33
|
+
"PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.": "Sumber daya pratinjau PDF gagal dimuat. Silakan segarkan halaman dan periksa apakah file statis plugin telah diterapkan dengan benar.",
|
|
31
34
|
"Region": "Wilayah",
|
|
32
35
|
"Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Jalur relatif tempat file akan disimpan. Biarkan kosong sebagai jalur root. Garis miring di awal dan akhir \"/\" akan diabaikan. Contoh: \"user/avatar\".",
|
|
33
36
|
"See more": "Lihat selengkapnya",
|
|
@@ -45,4 +48,4 @@
|
|
|
45
48
|
"Upload timeout for a single file in milliseconds. Default is 600000.": "Upload timeout for a single file in milliseconds. Default is 600000.",
|
|
46
49
|
"Use the built-in static file server": "Gunakan server file statis bawaan",
|
|
47
50
|
"Will be used for API": "Akan digunakan untuk API"
|
|
48
|
-
}
|
|
51
|
+
}
|
package/dist/locale/it-IT.json
CHANGED
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
"Minimum from 1 byte.": "Minimum from 1 byte.",
|
|
34
34
|
"Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Più tipi separati da virgola, ad esempio: \"image/*\", \"image/png\", \"image/*, application/pdf\" ecc.",
|
|
35
35
|
"Path": "Percorso",
|
|
36
|
+
"PDF preview failed. Please download the file to preview it.": "Anteprima PDF non riuscita. Scarica il file per visualizzarlo.",
|
|
37
|
+
"PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.": "L'anteprima PDF non è riuscita a caricare il file. Se il file è archiviato su un altro dominio, configura CORS per l'archiviazione esterna per consentire a questo sito di leggere il file.",
|
|
38
|
+
"PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.": "Le risorse dell'anteprima PDF non sono state caricate. Aggiorna la pagina e verifica che i file statici del plugin siano distribuiti correttamente.",
|
|
36
39
|
"Region": "Regione",
|
|
37
40
|
"Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Percorso relativo in cui verrà salvato il file. Lasciare vuoto per il percorso radice. Le barre iniziali e finali \"/\" verranno ignorate. Ad esempio: \"user/avatar\".",
|
|
38
41
|
"Renaming strategy to avoid filename conflicts when uploading files.": "Strategia di rinominazione per evitare conflitti di nomi di file durante il caricamento dei file.",
|
package/dist/locale/ja-JP.json
CHANGED
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
"Minimum from 1 byte.": "Minimum from 1 byte.",
|
|
34
34
|
"Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "複数のタイプはカンマで区切ります。 例えば「image/*」「image/png」「image/*、application/pdf」など。",
|
|
35
35
|
"Path": "パス",
|
|
36
|
+
"PDF preview failed. Please download the file to preview it.": "PDF のプレビューに失敗しました。ファイルをダウンロードして確認してください。",
|
|
37
|
+
"PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.": "PDF プレビューでファイルを読み込めませんでした。ファイルが別ドメインに保存されている場合は、このサイトがファイルを読み取れるように外部ストレージの CORS を設定してください。",
|
|
38
|
+
"PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.": "PDF プレビューのリソースを読み込めませんでした。ページを更新し、プラグインの静的ファイルが正しくデプロイされているか確認してください。",
|
|
36
39
|
"Region": "地域",
|
|
37
40
|
"Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "更清晰的表达方式,符合技术描述",
|
|
38
41
|
"Renaming strategy to avoid filename conflicts when uploading files.": "ファイルアップロード時のファイル名の競合を避けるためのリネーム戦略。",
|
package/dist/locale/ko-KR.json
CHANGED
|
@@ -34,6 +34,9 @@
|
|
|
34
34
|
"Minimum from 1 byte.": "Minimum from 1 byte.",
|
|
35
35
|
"Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.",
|
|
36
36
|
"Path": "경로",
|
|
37
|
+
"PDF preview failed. Please download the file to preview it.": "PDF 미리보기에 실패했습니다. 파일을 다운로드하여 확인하세요.",
|
|
38
|
+
"PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.": "PDF 미리보기가 파일을 불러오지 못했습니다. 파일이 다른 도메인에 저장되어 있다면 이 사이트가 파일을 읽을 수 있도록 외부 저장소의 CORS를 설정하세요.",
|
|
39
|
+
"PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.": "PDF 미리보기 리소스를 불러오지 못했습니다. 페이지를 새로고침하고 플러그인 정적 파일이 올바르게 배포되었는지 확인하세요.",
|
|
37
40
|
"Region": "지역",
|
|
38
41
|
"Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".",
|
|
39
42
|
"Renaming strategy to avoid filename conflicts when uploading files.": "파일 업로드 시 파일 이름 충돌을 피하기 위한 이름 변경 전략입니다.",
|
package/dist/locale/nl-NL.json
CHANGED
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
"Minimum from 1 byte.": "Minimum from 1 byte.",
|
|
34
34
|
"Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Meerdere typen gescheiden door een komma, bijvoorbeeld: \"image/*\", \"image/png\", \"image/*, application/pdf\" enz.",
|
|
35
35
|
"Path": "Pad",
|
|
36
|
+
"PDF preview failed. Please download the file to preview it.": "PDF-voorbeeld mislukt. Download het bestand om het te bekijken.",
|
|
37
|
+
"PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.": "Het PDF-voorbeeld kon het bestand niet laden. Als het bestand op een ander domein is opgeslagen, configureer dan CORS voor de externe opslag zodat deze site het bestand kan lezen.",
|
|
38
|
+
"PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.": "De PDF-voorbeeldbronnen konden niet worden geladen. Vernieuw de pagina en controleer of de statische pluginbestanden correct zijn geïmplementeerd.",
|
|
36
39
|
"Region": "Regio",
|
|
37
40
|
"Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Relatief pad waar het bestand zal worden opgeslagen. Laat leeg als hoofdmap. De voorloop- en achterloop-slashes \"/\" worden genegeerd. Bijvoorbeeld: \"gebruiker/avatar\".",
|
|
38
41
|
"Renaming strategy to avoid filename conflicts when uploading files.": "Hernoemstrategie om bestandsnaamconflicten te voorkomen bij het uploaden van bestanden.",
|
package/dist/locale/pt-BR.json
CHANGED
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
"Minimum from 1 byte.": "Minimum from 1 byte.",
|
|
34
34
|
"Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.",
|
|
35
35
|
"Path": "Path",
|
|
36
|
+
"PDF preview failed. Please download the file to preview it.": "A pré-visualização do PDF falhou. Baixe o arquivo para visualizá-lo.",
|
|
37
|
+
"PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.": "A pré-visualização do PDF não conseguiu carregar o arquivo. Se o arquivo estiver armazenado em outro domínio, configure CORS no armazenamento externo para permitir que este site leia o arquivo.",
|
|
38
|
+
"PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.": "Os recursos de pré-visualização do PDF não foram carregados. Atualize a página e verifique se os arquivos estáticos do plugin foram implantados corretamente.",
|
|
36
39
|
"Region": "Region",
|
|
37
40
|
"Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".",
|
|
38
41
|
"Renaming strategy to avoid filename conflicts when uploading files.": "Renaming strategy to avoid filename conflicts when uploading files.",
|
package/dist/locale/ru-RU.json
CHANGED
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
"Minimum from 1 byte.": "Minimum from 1 byte.",
|
|
34
34
|
"Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Несколько типов, разделенных запятой, например: \"image/*\", \"image/png\", \"image/*, application/pdf\" и т. д.",
|
|
35
35
|
"Path": "Путь",
|
|
36
|
+
"PDF preview failed. Please download the file to preview it.": "Не удалось выполнить предварительный просмотр PDF. Скачайте файл, чтобы просмотреть его.",
|
|
37
|
+
"PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.": "Предварительный просмотр PDF не смог загрузить файл. Если файл хранится на другом домене, настройте CORS для внешнего хранилища, чтобы разрешить этому сайту читать файл.",
|
|
38
|
+
"PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.": "Не удалось загрузить ресурсы предварительного просмотра PDF. Обновите страницу и проверьте, правильно ли развернуты статические файлы плагина.",
|
|
36
39
|
"Region": "Регион",
|
|
37
40
|
"Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Относительный путь, по которому будет сохранен файл. Оставьте пустым для корневого пути. Начальные и конечные слеши \"/\" будут проигнорированы. Например: \"user/avatar\".",
|
|
38
41
|
"Renaming strategy to avoid filename conflicts when uploading files.": "Стратегия переименования для избежания конфликтов имен файлов при загрузке файлов.",
|
package/dist/locale/tr-TR.json
CHANGED
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
"Minimum from 1 byte.": "Minimum from 1 byte.",
|
|
34
34
|
"Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.",
|
|
35
35
|
"Path": "Path",
|
|
36
|
+
"PDF preview failed. Please download the file to preview it.": "PDF önizlemesi başarısız oldu. Görüntülemek için lütfen dosyayı indirin.",
|
|
37
|
+
"PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.": "PDF önizlemesi dosyayı yükleyemedi. Dosya başka bir alan adında saklanıyorsa, bu sitenin dosyayı okuyabilmesi için harici depolamada CORS yapılandırın.",
|
|
38
|
+
"PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.": "PDF önizleme kaynakları yüklenemedi. Lütfen sayfayı yenileyin ve eklenti statik dosyalarının doğru dağıtıldığını kontrol edin.",
|
|
36
39
|
"Region": "Region",
|
|
37
40
|
"Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".",
|
|
38
41
|
"Renaming strategy to avoid filename conflicts when uploading files.": "Dosya yüklerken dosya adı çakışmalarını önlemek için yeniden adlandırma stratejisi.",
|
package/dist/locale/uk-UA.json
CHANGED
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
"Minimum from 1 byte.": "Minimum from 1 byte.",
|
|
34
34
|
"Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.",
|
|
35
35
|
"Path": "Path",
|
|
36
|
+
"PDF preview failed. Please download the file to preview it.": "Не вдалося попередньо переглянути PDF. Завантажте файл, щоб переглянути його.",
|
|
37
|
+
"PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.": "Попередній перегляд PDF не зміг завантажити файл. Якщо файл зберігається в іншому домені, налаштуйте CORS для зовнішнього сховища, щоб дозволити цьому сайту читати файл.",
|
|
38
|
+
"PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.": "Не вдалося завантажити ресурси попереднього перегляду PDF. Оновіть сторінку та перевірте, чи правильно розгорнуто статичні файли плагіна.",
|
|
36
39
|
"Region": "Region",
|
|
37
40
|
"Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".",
|
|
38
41
|
"Renaming strategy to avoid filename conflicts when uploading files.": "Renaming strategy to avoid filename conflicts when uploading files.",
|
package/dist/locale/vi-VN.json
CHANGED
|
@@ -28,6 +28,9 @@
|
|
|
28
28
|
"Minimum from 1 byte.": "Minimum from 1 byte.",
|
|
29
29
|
"Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.",
|
|
30
30
|
"Path": "Path",
|
|
31
|
+
"PDF preview failed. Please download the file to preview it.": "Xem trước PDF thất bại. Vui lòng tải tệp xuống để xem.",
|
|
32
|
+
"PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.": "Xem trước PDF không tải được tệp. Nếu tệp được lưu trữ trên tên miền khác, hãy cấu hình CORS cho bộ nhớ ngoài để cho phép trang này đọc tệp.",
|
|
33
|
+
"PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.": "Không tải được tài nguyên xem trước PDF. Vui lòng làm mới trang và kiểm tra xem các tệp tĩnh của plugin đã được triển khai đúng chưa.",
|
|
31
34
|
"Region": "Region",
|
|
32
35
|
"Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".",
|
|
33
36
|
"See more": "See more",
|
|
@@ -45,4 +48,4 @@
|
|
|
45
48
|
"Upload timeout for a single file in milliseconds. Default is 600000.": "Upload timeout for a single file in milliseconds. Default is 600000.",
|
|
46
49
|
"Use the built-in static file server": "Use the built-in static file server",
|
|
47
50
|
"Will be used for API": "Will be used for API"
|
|
48
|
-
}
|
|
51
|
+
}
|
package/dist/locale/zh-CN.json
CHANGED
|
@@ -34,6 +34,9 @@
|
|
|
34
34
|
"Minimum from 1 byte.": "最小为 1 字节。",
|
|
35
35
|
"Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "多个类型用逗号分隔,例如:\"image/*\", \"image/png\", \"image/*, application/pdf\" 等。",
|
|
36
36
|
"Path": "路径",
|
|
37
|
+
"PDF preview failed. Please download the file to preview it.": "PDF 预览失败,请下载文件后查看。",
|
|
38
|
+
"PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.": "PDF 预览加载文件失败。如果文件存储在其他域名,请为外部存储配置 CORS,允许当前站点读取文件。",
|
|
39
|
+
"PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.": "PDF 预览资源加载失败,请刷新页面并检查插件静态文件是否已正确部署。",
|
|
37
40
|
"Random string": "随机字符串",
|
|
38
41
|
"Region": "区域",
|
|
39
42
|
"Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "文件保存的相对路径。留空则为根路径。开始和结尾的斜杠“/”会被忽略。例如:\"user/avatar\"。",
|
package/dist/locale/zh-TW.json
CHANGED
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
"Minimum from 1 byte.": "Minimum from 1 byte.",
|
|
34
34
|
"Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.",
|
|
35
35
|
"Path": "Path",
|
|
36
|
+
"PDF preview failed. Please download the file to preview it.": "PDF 預覽失敗,請下載檔案後查看。",
|
|
37
|
+
"PDF preview failed to load the file. If the file is stored on another domain, configure CORS for the external storage to allow this site to read the file.": "PDF 預覽載入檔案失敗。如果檔案儲存在其他網域,請為外部儲存設定 CORS,允許目前網站讀取檔案。",
|
|
38
|
+
"PDF preview resources failed to load. Please refresh the page and check whether plugin static files are deployed correctly.": "PDF 預覽資源載入失敗,請重新整理頁面並檢查外掛靜態檔案是否已正確部署。",
|
|
36
39
|
"Region": "Region",
|
|
37
40
|
"Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".",
|
|
38
41
|
"Renaming strategy to avoid filename conflicts when uploading files.": "避免上傳文件時文件名衝突的重命名策略。",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@aws-sdk/client-s3","description":"AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native","version":"3.750.0","scripts":{"build":"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline client-s3","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo s3","test":"yarn g:vitest run","test:browser":"node ./test/browser-build/esbuild && yarn g:vitest run -c vitest.config.browser.ts","test:browser:watch":"node ./test/browser-build/esbuild && yarn g:vitest watch -c vitest.config.browser.ts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.ts && yarn test:browser","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.ts","test:watch":"yarn g:vitest watch"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha1-browser":"5.2.0","@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"3.750.0","@aws-sdk/credential-provider-node":"3.750.0","@aws-sdk/middleware-bucket-endpoint":"3.734.0","@aws-sdk/middleware-expect-continue":"3.734.0","@aws-sdk/middleware-flexible-checksums":"3.750.0","@aws-sdk/middleware-host-header":"3.734.0","@aws-sdk/middleware-location-constraint":"3.734.0","@aws-sdk/middleware-logger":"3.734.0","@aws-sdk/middleware-recursion-detection":"3.734.0","@aws-sdk/middleware-sdk-s3":"3.750.0","@aws-sdk/middleware-ssec":"3.734.0","@aws-sdk/middleware-user-agent":"3.750.0","@aws-sdk/region-config-resolver":"3.734.0","@aws-sdk/signature-v4-multi-region":"3.750.0","@aws-sdk/types":"3.734.0","@aws-sdk/util-endpoints":"3.743.0","@aws-sdk/util-user-agent-browser":"3.734.0","@aws-sdk/util-user-agent-node":"3.750.0","@aws-sdk/xml-builder":"3.734.0","@smithy/config-resolver":"^4.0.1","@smithy/core":"^3.1.4","@smithy/eventstream-serde-browser":"^4.0.1","@smithy/eventstream-serde-config-resolver":"^4.0.1","@smithy/eventstream-serde-node":"^4.0.1","@smithy/fetch-http-handler":"^5.0.1","@smithy/hash-blob-browser":"^4.0.1","@smithy/hash-node":"^4.0.1","@smithy/hash-stream-node":"^4.0.1","@smithy/invalid-dependency":"^4.0.1","@smithy/md5-js":"^4.0.1","@smithy/middleware-content-length":"^4.0.1","@smithy/middleware-endpoint":"^4.0.5","@smithy/middleware-retry":"^4.0.6","@smithy/middleware-serde":"^4.0.2","@smithy/middleware-stack":"^4.0.1","@smithy/node-config-provider":"^4.0.1","@smithy/node-http-handler":"^4.0.2","@smithy/protocol-http":"^5.0.1","@smithy/smithy-client":"^4.1.5","@smithy/types":"^4.1.0","@smithy/url-parser":"^4.0.1","@smithy/util-base64":"^4.0.0","@smithy/util-body-length-browser":"^4.0.0","@smithy/util-body-length-node":"^4.0.0","@smithy/util-defaults-mode-browser":"^4.0.6","@smithy/util-defaults-mode-node":"^4.0.6","@smithy/util-endpoints":"^3.0.1","@smithy/util-middleware":"^4.0.1","@smithy/util-retry":"^4.0.1","@smithy/util-stream":"^4.1.1","@smithy/util-utf8":"^4.0.0","@smithy/util-waiter":"^4.0.2","tslib":"^2.6.2"},"devDependencies":{"@aws-sdk/signature-v4-crt":"3.750.0","@tsconfig/node18":"18.2.4","@types/node":"^18.19.69","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~5.2.2"},"engines":{"node":">=18.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-s3"},"_lastModified":"2026-05-
|
|
1
|
+
{"name":"@aws-sdk/client-s3","description":"AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native","version":"3.750.0","scripts":{"build":"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline client-s3","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo s3","test":"yarn g:vitest run","test:browser":"node ./test/browser-build/esbuild && yarn g:vitest run -c vitest.config.browser.ts","test:browser:watch":"node ./test/browser-build/esbuild && yarn g:vitest watch -c vitest.config.browser.ts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.ts && yarn test:browser","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.ts","test:watch":"yarn g:vitest watch"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha1-browser":"5.2.0","@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"3.750.0","@aws-sdk/credential-provider-node":"3.750.0","@aws-sdk/middleware-bucket-endpoint":"3.734.0","@aws-sdk/middleware-expect-continue":"3.734.0","@aws-sdk/middleware-flexible-checksums":"3.750.0","@aws-sdk/middleware-host-header":"3.734.0","@aws-sdk/middleware-location-constraint":"3.734.0","@aws-sdk/middleware-logger":"3.734.0","@aws-sdk/middleware-recursion-detection":"3.734.0","@aws-sdk/middleware-sdk-s3":"3.750.0","@aws-sdk/middleware-ssec":"3.734.0","@aws-sdk/middleware-user-agent":"3.750.0","@aws-sdk/region-config-resolver":"3.734.0","@aws-sdk/signature-v4-multi-region":"3.750.0","@aws-sdk/types":"3.734.0","@aws-sdk/util-endpoints":"3.743.0","@aws-sdk/util-user-agent-browser":"3.734.0","@aws-sdk/util-user-agent-node":"3.750.0","@aws-sdk/xml-builder":"3.734.0","@smithy/config-resolver":"^4.0.1","@smithy/core":"^3.1.4","@smithy/eventstream-serde-browser":"^4.0.1","@smithy/eventstream-serde-config-resolver":"^4.0.1","@smithy/eventstream-serde-node":"^4.0.1","@smithy/fetch-http-handler":"^5.0.1","@smithy/hash-blob-browser":"^4.0.1","@smithy/hash-node":"^4.0.1","@smithy/hash-stream-node":"^4.0.1","@smithy/invalid-dependency":"^4.0.1","@smithy/md5-js":"^4.0.1","@smithy/middleware-content-length":"^4.0.1","@smithy/middleware-endpoint":"^4.0.5","@smithy/middleware-retry":"^4.0.6","@smithy/middleware-serde":"^4.0.2","@smithy/middleware-stack":"^4.0.1","@smithy/node-config-provider":"^4.0.1","@smithy/node-http-handler":"^4.0.2","@smithy/protocol-http":"^5.0.1","@smithy/smithy-client":"^4.1.5","@smithy/types":"^4.1.0","@smithy/url-parser":"^4.0.1","@smithy/util-base64":"^4.0.0","@smithy/util-body-length-browser":"^4.0.0","@smithy/util-body-length-node":"^4.0.0","@smithy/util-defaults-mode-browser":"^4.0.6","@smithy/util-defaults-mode-node":"^4.0.6","@smithy/util-endpoints":"^3.0.1","@smithy/util-middleware":"^4.0.1","@smithy/util-retry":"^4.0.1","@smithy/util-stream":"^4.1.1","@smithy/util-utf8":"^4.0.0","@smithy/util-waiter":"^4.0.2","tslib":"^2.6.2"},"devDependencies":{"@aws-sdk/signature-v4-crt":"3.750.0","@tsconfig/node18":"18.2.4","@types/node":"^18.19.69","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~5.2.2"},"engines":{"node":">=18.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-s3"},"_lastModified":"2026-05-28T11:55:38.313Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@aws-sdk/lib-storage","version":"3.750.0","description":"Storage higher order operation","main":"./dist-cjs/index.js","module":"./dist-es/index.js","types":"./dist-types/index.d.ts","scripts":{"build":"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline lib-storage","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","test":"yarn g:vitest run","test:e2e":"yarn g:vitest run -c vitest.config.e2e.ts --mode development","test:watch":"yarn g:vitest watch","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.ts"},"engines":{"node":">=18.0.0"},"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","dependencies":{"@smithy/abort-controller":"^4.0.1","@smithy/middleware-endpoint":"^4.0.5","@smithy/smithy-client":"^4.1.5","buffer":"5.6.0","events":"3.3.0","stream-browserify":"3.0.0","tslib":"^2.6.2"},"peerDependencies":{"@aws-sdk/client-s3":"^3.750.0"},"devDependencies":{"@aws-sdk/client-s3":"3.750.0","@smithy/types":"^4.1.0","@tsconfig/recommended":"1.0.1","@types/node":"^18.19.69","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~5.2.2","web-streams-polyfill":"3.2.1"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser","fs":false,"stream":"stream-browserify"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"files":["dist-*/**"],"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/lib/lib-storage","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"lib/lib-storage"},"_lastModified":"2026-05-
|
|
1
|
+
{"name":"@aws-sdk/lib-storage","version":"3.750.0","description":"Storage higher order operation","main":"./dist-cjs/index.js","module":"./dist-es/index.js","types":"./dist-types/index.d.ts","scripts":{"build":"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline lib-storage","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","test":"yarn g:vitest run","test:e2e":"yarn g:vitest run -c vitest.config.e2e.ts --mode development","test:watch":"yarn g:vitest watch","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.ts"},"engines":{"node":">=18.0.0"},"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","dependencies":{"@smithy/abort-controller":"^4.0.1","@smithy/middleware-endpoint":"^4.0.5","@smithy/smithy-client":"^4.1.5","buffer":"5.6.0","events":"3.3.0","stream-browserify":"3.0.0","tslib":"^2.6.2"},"peerDependencies":{"@aws-sdk/client-s3":"^3.750.0"},"devDependencies":{"@aws-sdk/client-s3":"3.750.0","@smithy/types":"^4.1.0","@tsconfig/recommended":"1.0.1","@types/node":"^18.19.69","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~5.2.2","web-streams-polyfill":"3.2.1"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser","fs":false,"stream":"stream-browserify"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"files":["dist-*/**"],"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/lib/lib-storage","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"lib/lib-storage"},"_lastModified":"2026-05-28T11:55:39.644Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"ali-oss","version":"6.20.0","description":"aliyun oss(object storage service) node client","main":"./lib/client.js","files":["lib","shims","dist"],"browser":{"./lib/client.js":"./dist/aliyun-oss-sdk.js","mime":"mime/lite","urllib":"./shims/xhr.js","utility":"./shims/utility.js","crypto":"./shims/crypto/crypto.js","debug":"./shims/debug","fs":false,"child_process":false,"is-type-of":"./shims/is-type-of.js"},"scripts":{"build-change-log":"standard-version","test":"npm run tsc && mocha -t 120000 -r should -r dotenv/config test/node/*.test.js test/node/**/*.test.js","test-cov":"npm run tsc && nyc --reporter=lcov node_modules/.bin/_mocha -t 120000 -r should test/node/*.test.js test/node/**/*.test.js","jshint":"jshint .","build-test":"MINIFY=1 node browser-build.js > test/browser/build/aliyun-oss-sdk.min.js && node -r dotenv/config task/browser-test-build.js > test/browser/build/tests.js","browser-test":"npm run build-test && karma start","build-dist":"npm run tsc && node browser-build.js > dist/aliyun-oss-sdk.js && MINIFY=1 node browser-build.js > dist/aliyun-oss-sdk.min.js","publish-to-npm":"node publish-npm-check.js && npm publish","publish-to-cdn":"node publish.js","snyk-protect":"snyk-protect","lint-staged":"lint-staged","detect-secrets":"node task/detect-secrets","tsc":"npm run tsc:clean && npm run tsc:build","tsc:build":"tsc -b tsconfig.json tsconfig-cjs.json","tsc:watch":"tsc -b tsconfig.json tsconfig-cjs.json --watch","tsc:clean":"tsc -b tsconfig.json tsconfig-cjs.json --clean ","prepare":"husky install"},"git-pre-hooks":{"pre-release":"npm run build-dist","post-release":["npm run publish-to-npm","npm run publish-to-cdn"]},"homepage":"https://github.com/ali-sdk/ali-oss","bugs":{"url":"https://github.com/ali-sdk/ali-oss/issues"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"repository":{"type":"git","url":"https://github.com/ali-sdk/ali-oss.git"},"keywords":["oss","client","file","aliyun"],"author":"dead_horse","license":"MIT","engines":{"node":">=8"},"devDependencies":{"@babel/core":"^7.11.6","@babel/plugin-transform-regenerator":"^7.10.4","@babel/plugin-transform-runtime":"^7.11.5","@babel/preset-env":"^7.11.5","@babel/runtime":"^7.11.2","@commitlint/cli":"^17.6.7","@commitlint/config-conventional":"^16.2.4","@octokit/core":"^5.0.0","@semantic-release/exec":"^6.0.3","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^10.0.5","@snyk/protect":"^1.1196.0","@types/node":"^14.0.12","@typescript-eslint/eslint-plugin":"^5.0.0","@typescript-eslint/parser":"^5.0.0","aliasify":"^2.0.0","axios":"0.27.2","babelify":"^10.0.0","beautify-benchmark":"^0.2.4","benchmark":"^2.1.1","bluebird":"^3.1.5","browserify":"^17.0.0","core-js":"^3.6.5","crypto-js":"^3.1.9-1","dotenv":"^8.2.0","eslint":"^8.44.0","eslint-config-airbnb":"^19.0.4","eslint-config-ali":"^13.0.0","eslint-config-prettier":"^8.8.0","eslint-plugin-import":"^2.21.1","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-prettier":"^4.2.1","filereader":"^0.10.3","form-data":"^4.0.0","git-pre-hooks":"^1.2.0","husky":"^7.0.4","immediate":"^3.3.0","karma":"^6.3.4","karma-browserify":"^8.1.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.0.1","karma-ie-launcher":"^1.0.0","karma-mocha":"^2.0.1","karma-safari-launcher":"^1.0.0","lint-staged":"^12.4.1","mm":"^2.0.0","mocha":"^9.1.2","nyc":"^15.1.0","prettier":"^3.0.0","promise-polyfill":"^6.0.2","puppeteer":"19.0.0","semantic-release":"^21.1.1","should":"^11.0.0","sinon":"^15.2.0","standard-version":"^9.3.1","stream-equal":"^1.1.0","timemachine":"^0.3.0","typescript":"^3.9.5","uglify-js":"^3.14.2","watchify":"^4.0.0"},"dependencies":{"address":"^1.2.2","agentkeepalive":"^3.4.1","bowser":"^1.6.0","copy-to":"^2.0.1","dateformat":"^2.0.0","debug":"^4.3.4","destroy":"^1.0.4","end-or-error":"^1.0.1","get-ready":"^1.0.0","humanize-ms":"^1.2.0","is-type-of":"^1.4.0","js-base64":"^2.5.2","jstoxml":"^2.0.0","lodash":"^4.17.21","merge-descriptors":"^1.0.1","mime":"^2.4.5","platform":"^1.3.1","pump":"^3.0.0","qs":"^6.4.0","sdk-base":"^2.0.1","stream-http":"2.8.2","stream-wormhole":"^1.0.4","urllib":"2.41.0","utility":"^1.18.0","xml2js":"^0.6.2"},"snyk":true,"lint-staged":{"**/!(dist)/*":["npm run detect-secrets --"],"**/*.{js,ts}":["eslint --cache --fix --ext .js,.ts","prettier --write","git add"]},"_lastModified":"2026-05-
|
|
1
|
+
{"name":"ali-oss","version":"6.20.0","description":"aliyun oss(object storage service) node client","main":"./lib/client.js","files":["lib","shims","dist"],"browser":{"./lib/client.js":"./dist/aliyun-oss-sdk.js","mime":"mime/lite","urllib":"./shims/xhr.js","utility":"./shims/utility.js","crypto":"./shims/crypto/crypto.js","debug":"./shims/debug","fs":false,"child_process":false,"is-type-of":"./shims/is-type-of.js"},"scripts":{"build-change-log":"standard-version","test":"npm run tsc && mocha -t 120000 -r should -r dotenv/config test/node/*.test.js test/node/**/*.test.js","test-cov":"npm run tsc && nyc --reporter=lcov node_modules/.bin/_mocha -t 120000 -r should test/node/*.test.js test/node/**/*.test.js","jshint":"jshint .","build-test":"MINIFY=1 node browser-build.js > test/browser/build/aliyun-oss-sdk.min.js && node -r dotenv/config task/browser-test-build.js > test/browser/build/tests.js","browser-test":"npm run build-test && karma start","build-dist":"npm run tsc && node browser-build.js > dist/aliyun-oss-sdk.js && MINIFY=1 node browser-build.js > dist/aliyun-oss-sdk.min.js","publish-to-npm":"node publish-npm-check.js && npm publish","publish-to-cdn":"node publish.js","snyk-protect":"snyk-protect","lint-staged":"lint-staged","detect-secrets":"node task/detect-secrets","tsc":"npm run tsc:clean && npm run tsc:build","tsc:build":"tsc -b tsconfig.json tsconfig-cjs.json","tsc:watch":"tsc -b tsconfig.json tsconfig-cjs.json --watch","tsc:clean":"tsc -b tsconfig.json tsconfig-cjs.json --clean ","prepare":"husky install"},"git-pre-hooks":{"pre-release":"npm run build-dist","post-release":["npm run publish-to-npm","npm run publish-to-cdn"]},"homepage":"https://github.com/ali-sdk/ali-oss","bugs":{"url":"https://github.com/ali-sdk/ali-oss/issues"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"repository":{"type":"git","url":"https://github.com/ali-sdk/ali-oss.git"},"keywords":["oss","client","file","aliyun"],"author":"dead_horse","license":"MIT","engines":{"node":">=8"},"devDependencies":{"@babel/core":"^7.11.6","@babel/plugin-transform-regenerator":"^7.10.4","@babel/plugin-transform-runtime":"^7.11.5","@babel/preset-env":"^7.11.5","@babel/runtime":"^7.11.2","@commitlint/cli":"^17.6.7","@commitlint/config-conventional":"^16.2.4","@octokit/core":"^5.0.0","@semantic-release/exec":"^6.0.3","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^10.0.5","@snyk/protect":"^1.1196.0","@types/node":"^14.0.12","@typescript-eslint/eslint-plugin":"^5.0.0","@typescript-eslint/parser":"^5.0.0","aliasify":"^2.0.0","axios":"0.27.2","babelify":"^10.0.0","beautify-benchmark":"^0.2.4","benchmark":"^2.1.1","bluebird":"^3.1.5","browserify":"^17.0.0","core-js":"^3.6.5","crypto-js":"^3.1.9-1","dotenv":"^8.2.0","eslint":"^8.44.0","eslint-config-airbnb":"^19.0.4","eslint-config-ali":"^13.0.0","eslint-config-prettier":"^8.8.0","eslint-plugin-import":"^2.21.1","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-prettier":"^4.2.1","filereader":"^0.10.3","form-data":"^4.0.0","git-pre-hooks":"^1.2.0","husky":"^7.0.4","immediate":"^3.3.0","karma":"^6.3.4","karma-browserify":"^8.1.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.0.1","karma-ie-launcher":"^1.0.0","karma-mocha":"^2.0.1","karma-safari-launcher":"^1.0.0","lint-staged":"^12.4.1","mm":"^2.0.0","mocha":"^9.1.2","nyc":"^15.1.0","prettier":"^3.0.0","promise-polyfill":"^6.0.2","puppeteer":"19.0.0","semantic-release":"^21.1.1","should":"^11.0.0","sinon":"^15.2.0","standard-version":"^9.3.1","stream-equal":"^1.1.0","timemachine":"^0.3.0","typescript":"^3.9.5","uglify-js":"^3.14.2","watchify":"^4.0.0"},"dependencies":{"address":"^1.2.2","agentkeepalive":"^3.4.1","bowser":"^1.6.0","copy-to":"^2.0.1","dateformat":"^2.0.0","debug":"^4.3.4","destroy":"^1.0.4","end-or-error":"^1.0.1","get-ready":"^1.0.0","humanize-ms":"^1.2.0","is-type-of":"^1.4.0","js-base64":"^2.5.2","jstoxml":"^2.0.0","lodash":"^4.17.21","merge-descriptors":"^1.0.1","mime":"^2.4.5","platform":"^1.3.1","pump":"^3.0.0","qs":"^6.4.0","sdk-base":"^2.0.1","stream-http":"2.8.2","stream-wormhole":"^1.0.4","urllib":"2.41.0","utility":"^1.18.0","xml2js":"^0.6.2"},"snyk":true,"lint-staged":{"**/!(dist)/*":["npm run detect-secrets --"],"**/*.{js,ts}":["eslint --cache --fix --ext .js,.ts","prettier --write","git add"]},"_lastModified":"2026-05-28T11:55:36.917Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"cos-nodejs-sdk-v5","version":"2.12.6","description":"cos nodejs sdk v5","main":"index.js","types":"index.d.ts","scripts":{"prettier":"prettier --write sdk demo/demo.js test/test.js index.d.ts","demo":"node demo/demo.js","demo-sts":"node demo/demo-sts.js","demo-sts-scope":"node demo/demo-sts-scope.js","test":"mocha test/test.js","cov":"istanbul cover _mocha -- -u exports 'test/test.js'","nyc":"nyc --reporter=clover --reporter=cobertura mocha --reporter xunit --reporter-options output=mocha.xml test/test.js","csp":"mocha test/csp.js"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/cos-nodejs-sdk-v5.git"},"keywords":["tencent","tencent cloud","qcloud","cos","cos-sdk"],"author":"carsonxu","license":"ISC","bugs":{"url":"https://github.com/tencentyun/cos-nodejs-sdk-v5/issues"},"homepage":"https://github.com/tencentyun/cos-nodejs-sdk-v5#readme","dependencies":{"conf":"^9.0.0","fast-xml-parser":"4.2.5","mime-types":"^2.1.24","request":"^2.88.2"},"devDependencies":{"@types/node":"^14.14.20","batch":"^0.6.1","crc64-ecma182.js":"^1.0.0","mocha":"^4.0.1","nyc":"^15.1.0","prettier":"^3.0.1","qcloud-cos-sts":"^3.0.0"},"engines":{"node":">= 6"},"_lastModified":"2026-05-
|
|
1
|
+
{"name":"cos-nodejs-sdk-v5","version":"2.12.6","description":"cos nodejs sdk v5","main":"index.js","types":"index.d.ts","scripts":{"prettier":"prettier --write sdk demo/demo.js test/test.js index.d.ts","demo":"node demo/demo.js","demo-sts":"node demo/demo-sts.js","demo-sts-scope":"node demo/demo-sts-scope.js","test":"mocha test/test.js","cov":"istanbul cover _mocha -- -u exports 'test/test.js'","nyc":"nyc --reporter=clover --reporter=cobertura mocha --reporter xunit --reporter-options output=mocha.xml test/test.js","csp":"mocha test/csp.js"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/cos-nodejs-sdk-v5.git"},"keywords":["tencent","tencent cloud","qcloud","cos","cos-sdk"],"author":"carsonxu","license":"ISC","bugs":{"url":"https://github.com/tencentyun/cos-nodejs-sdk-v5/issues"},"homepage":"https://github.com/tencentyun/cos-nodejs-sdk-v5#readme","dependencies":{"conf":"^9.0.0","fast-xml-parser":"4.2.5","mime-types":"^2.1.24","request":"^2.88.2"},"devDependencies":{"@types/node":"^14.14.20","batch":"^0.6.1","crc64-ecma182.js":"^1.0.0","mocha":"^4.0.1","nyc":"^15.1.0","prettier":"^3.0.1","qcloud-cos-sts":"^3.0.0"},"engines":{"node":">= 6"},"_lastModified":"2026-05-28T11:55:43.251Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"mime-match","version":"1.0.2","description":"A simple function to check whether a mimetype matches the specified mimetype (with wildcard support)","main":"index.js","scripts":{"test":"node test.js","gendocs":"gendocs > README.md"},"repository":{"type":"git","url":"https://github.com/DamonOehlman/mime-match.git"},"keywords":["mime","wildcard"],"author":"Damon Oehlman <damon.oehlman@gmail.com>","license":"ISC","bugs":{"url":"https://github.com/DamonOehlman/mime-match/issues"},"homepage":"https://github.com/DamonOehlman/mime-match","dependencies":{"wildcard":"^1.1.0"},"devDependencies":{"tape":"^4.5.1"},"_lastModified":"2026-05-
|
|
1
|
+
{"name":"mime-match","version":"1.0.2","description":"A simple function to check whether a mimetype matches the specified mimetype (with wildcard support)","main":"index.js","scripts":{"test":"node test.js","gendocs":"gendocs > README.md"},"repository":{"type":"git","url":"https://github.com/DamonOehlman/mime-match.git"},"keywords":["mime","wildcard"],"author":"Damon Oehlman <damon.oehlman@gmail.com>","license":"ISC","bugs":{"url":"https://github.com/DamonOehlman/mime-match/issues"},"homepage":"https://github.com/DamonOehlman/mime-match","dependencies":{"wildcard":"^1.1.0"},"devDependencies":{"tape":"^4.5.1"},"_lastModified":"2026-05-28T11:55:32.165Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"mime-types","description":"The ultimate javascript content-type utility.","version":"3.0.1","contributors":["Douglas Christopher Wilson <doug@somethingdoug.com>","Jeremiah Senkpiel <fishrock123@rocketmail.com> (https://searchbeam.jit.su)","Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)"],"license":"MIT","keywords":["mime","types"],"repository":"jshttp/mime-types","dependencies":{"mime-db":"^1.54.0"},"devDependencies":{"eslint":"8.33.0","eslint-config-standard":"14.1.1","eslint-plugin-import":"2.27.5","eslint-plugin-markdown":"3.0.0","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.1.1","eslint-plugin-standard":"4.1.0","mocha":"10.2.0","nyc":"15.1.0"},"files":["HISTORY.md","LICENSE","index.js","mimeScore.js"],"engines":{"node":">= 0.6"},"scripts":{"lint":"eslint .","test":"mocha --reporter spec test/test.js","test-ci":"nyc --reporter=lcov --reporter=text npm test","test-cov":"nyc --reporter=html --reporter=text npm test"},"_lastModified":"2026-05-
|
|
1
|
+
{"name":"mime-types","description":"The ultimate javascript content-type utility.","version":"3.0.1","contributors":["Douglas Christopher Wilson <doug@somethingdoug.com>","Jeremiah Senkpiel <fishrock123@rocketmail.com> (https://searchbeam.jit.su)","Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)"],"license":"MIT","keywords":["mime","types"],"repository":"jshttp/mime-types","dependencies":{"mime-db":"^1.54.0"},"devDependencies":{"eslint":"8.33.0","eslint-config-standard":"14.1.1","eslint-plugin-import":"2.27.5","eslint-plugin-markdown":"3.0.0","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.1.1","eslint-plugin-standard":"4.1.0","mocha":"10.2.0","nyc":"15.1.0"},"files":["HISTORY.md","LICENSE","index.js","mimeScore.js"],"engines":{"node":">= 0.6"},"scripts":{"lint":"eslint .","test":"mocha --reporter spec test/test.js","test-ci":"nyc --reporter=lcov --reporter=text npm test","test-cov":"nyc --reporter=html --reporter=text npm test"},"_lastModified":"2026-05-28T11:55:32.467Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"mkdirp","description":"Recursively mkdir, like `mkdir -p`","version":"0.5.6","publishConfig":{"tag":"legacy"},"author":"James Halliday <mail@substack.net> (http://substack.net)","main":"index.js","keywords":["mkdir","directory"],"repository":{"type":"git","url":"https://github.com/substack/node-mkdirp.git"},"scripts":{"test":"tap test/*.js"},"dependencies":{"minimist":"^1.2.6"},"devDependencies":{"tap":"^16.0.1"},"bin":"bin/cmd.js","license":"MIT","files":["bin","index.js"],"_lastModified":"2026-05-
|
|
1
|
+
{"name":"mkdirp","description":"Recursively mkdir, like `mkdir -p`","version":"0.5.6","publishConfig":{"tag":"legacy"},"author":"James Halliday <mail@substack.net> (http://substack.net)","main":"index.js","keywords":["mkdir","directory"],"repository":{"type":"git","url":"https://github.com/substack/node-mkdirp.git"},"scripts":{"test":"tap test/*.js"},"dependencies":{"minimist":"^1.2.6"},"devDependencies":{"tap":"^16.0.1"},"bin":"bin/cmd.js","license":"MIT","files":["bin","index.js"],"_lastModified":"2026-05-28T11:55:37.008Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"url-join","version":"4.0.1","description":"Join urls and normalize as in path.join.","main":"lib/url-join.js","scripts":{"test":"mocha --require should"},"repository":{"type":"git","url":"git://github.com/jfromaniello/url-join.git"},"keywords":["url","join"],"author":"José F. Romaniello <jfromaniello@gmail.com> (http://joseoncode.com)","license":"MIT","devDependencies":{"conventional-changelog":"^1.1.10","mocha":"^3.2.0","should":"~1.2.1"},"_lastModified":"2026-05-
|
|
1
|
+
{"name":"url-join","version":"4.0.1","description":"Join urls and normalize as in path.join.","main":"lib/url-join.js","scripts":{"test":"mocha --require should"},"repository":{"type":"git","url":"git://github.com/jfromaniello/url-join.git"},"keywords":["url","join"],"author":"José F. Romaniello <jfromaniello@gmail.com> (http://joseoncode.com)","license":"MIT","devDependencies":{"conventional-changelog":"^1.1.10","mocha":"^3.2.0","should":"~1.2.1"},"_lastModified":"2026-05-28T11:55:32.256Z"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
import { Application } from '@nocobase/server';
|
|
10
|
+
import { AttachmentModel, StorageClassType, StorageModel } from '../storages';
|
|
11
|
+
export type RepairFilenameStatus = 'pending' | 'repaired' | 'skipped' | 'failed';
|
|
12
|
+
export interface RepairFilenameItem {
|
|
13
|
+
collectionName: string;
|
|
14
|
+
id: number | string;
|
|
15
|
+
storageId: number | string;
|
|
16
|
+
storageType: string;
|
|
17
|
+
oldPath: string;
|
|
18
|
+
oldFilename: string;
|
|
19
|
+
newPath: string;
|
|
20
|
+
newFilename: string;
|
|
21
|
+
oldKey: string;
|
|
22
|
+
newKey: string;
|
|
23
|
+
sourceExists?: boolean;
|
|
24
|
+
targetExists?: boolean;
|
|
25
|
+
status: RepairFilenameStatus;
|
|
26
|
+
reason?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface RepairFilenamesOptions {
|
|
29
|
+
apply?: boolean;
|
|
30
|
+
batchSize?: number;
|
|
31
|
+
limit?: number;
|
|
32
|
+
}
|
|
33
|
+
export interface RepairFilenamesResult {
|
|
34
|
+
dryRun: boolean;
|
|
35
|
+
scanned: number;
|
|
36
|
+
candidates: RepairFilenameItem[];
|
|
37
|
+
repaired: RepairFilenameItem[];
|
|
38
|
+
skipped: RepairFilenameItem[];
|
|
39
|
+
failed: RepairFilenameItem[];
|
|
40
|
+
}
|
|
41
|
+
interface FileManagerLike {
|
|
42
|
+
storageTypes: {
|
|
43
|
+
get(type: string): StorageClassType | undefined;
|
|
44
|
+
};
|
|
45
|
+
loadStorages(): Promise<void>;
|
|
46
|
+
storagesCache: Map<number | string, StorageModel>;
|
|
47
|
+
}
|
|
48
|
+
export declare function replaceInvisibleChars(value?: string | null): string;
|
|
49
|
+
export declare function getRepairedAttachmentValues(record: Pick<AttachmentModel, 'path' | 'filename'>): {
|
|
50
|
+
path: string;
|
|
51
|
+
filename: string;
|
|
52
|
+
};
|
|
53
|
+
export declare function repairAttachmentFilenames(app: Application, fileManager: FileManagerLike, options?: RepairFilenamesOptions): Promise<RepairFilenamesResult>;
|
|
54
|
+
export declare function registerRepairFilenamesCommand(app: Application): void;
|
|
55
|
+
export {};
|