Skip to content

Commit 49762a7

Browse files
authored
Merge pull request #498 from contentstack/feature/workflow
workflow test
2 parents a2da7f1 + c84bd18 commit 49762a7

File tree

15 files changed

+4
-13
lines changed

15 files changed

+4
-13
lines changed

api/src/services/contentful.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ const processField = (
333333
}
334334
};
335335

336+
336337
// Helper function to clean up brackets in non-numeric lang_value
337338
const cleanBrackets = (lang_value: any) => {
338339
const myJSON = JSON.stringify(lang_value);

api/src/services/contentful/jsonRTE.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ function parseBlockAsset(obj: any, lang?: LangType, destination_stack_id?: Stack
314314
};
315315
}
316316

317+
317318
function parseBlockquote(obj: any): any {
318319
const children = obj.content.map((e: any) => parsers.get(e.nodeType)?.(e)).filter(Boolean);
319320
return {

api/src/services/sitecore.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { orgService } from './org.service.js';
99
import { getLogMessage } from '../utils/index.js';
1010
import customLogger from '../utils/custom-logger.utils.js';
1111

12-
1312
const append = "a";
1413

1514
const baseDirName = MIGRATION_DATA_CONFIG.DATA

api/src/services/wordpress.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { getLogMessage } from "../utils/index.js";
1111
import { Advanced } from "../models/FieldMapper.js";
1212

1313
const { JSDOM } = jsdom;
14+
1415
const virtualConsole = new jsdom.VirtualConsole();
1516
// Get the current file's path
1617
const __filename = fileURLToPath(import.meta.url);

index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ const envContents = {
3333
'Upload-API': uploadAPIEnvContent,
3434
};
3535

36-
37-
3836
// Function to create env files
3937
const createEnvFiles = () => {
4038
// Loop through each key in the envFilePaths object

upload-api/migration-contentful/config/index.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@
44
"contentful": "contentfulSchema"
55
},
66
"fileName": "en-us.json"
7-
87
}

upload-api/migration-sitecore/constants/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ const MIGRATION_DATA_CONFIG = {
4343
EXPORT_INFO_FILE: "export-info.json"
4444
}
4545

46-
4746
module.exports = {
4847
MIGRATION_DATA_CONFIG
4948
};

upload-api/migration-wordpress/config/index.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@
4646
"dirName": "posts",
4747
"fileName": "en-us.json",
4848
"masterfile": "posts.json"
49-
50-
5149
}
5250
}
5351
}

upload-api/src/config/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export default {
1313
buketKey: 'project/package 45.zip'
1414
},
1515

16+
1617
localPath: '/home/gaurishn/Documents/contentstack/sitetitle.xml' //package 45.zip'
1718
// localPath: '/Users/umesh.more/Documents/ui-migration/migration-v2-node-server/upload-api/extracted_files/package 45.zip'
1819
};

upload-api/src/models/contentful.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,4 @@
3131
"name": "roles",
3232
"required": "false"
3333
}
34-
3534
}

0 commit comments

Comments
 (0)