@crowdin/app-project-module 0.28.0-12 → 0.28.0-13
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.
|
@@ -44,7 +44,7 @@ function handle(baseConfig, config, folderName) {
|
|
|
44
44
|
switch (body.jobType) {
|
|
45
45
|
case models_1.ProcessFileJobType.PRE_IMPORT:
|
|
46
46
|
case models_1.ProcessFileJobType.POST_EXPORT:
|
|
47
|
-
const { contentFile, fileName, error: contentFileError } = fileProcessResult;
|
|
47
|
+
const { contentFile, fileName, fileType, error: contentFileError, } = fileProcessResult;
|
|
48
48
|
if (contentFile) {
|
|
49
49
|
const contentFileEncoded = Buffer.from(contentFile).toString('base64');
|
|
50
50
|
if (Buffer.byteLength(contentFileEncoded, 'utf8') < files_1.MAX_BODY_SIZE) {
|
|
@@ -65,6 +65,9 @@ function handle(baseConfig, config, folderName) {
|
|
|
65
65
|
if (fileName) {
|
|
66
66
|
response.fileName = fileName;
|
|
67
67
|
}
|
|
68
|
+
if (fileType) {
|
|
69
|
+
response.fileType = fileType;
|
|
70
|
+
}
|
|
68
71
|
processingError = contentFileError;
|
|
69
72
|
break;
|
|
70
73
|
case models_1.ProcessFileJobType.POST_IMPORT:
|
package/out/models/index.d.ts
CHANGED
package/package.json
CHANGED