cc-core-cli 1.0.88 → 1.0.90

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-core-cli",
3
- "version": "1.0.88",
3
+ "version": "1.0.90",
4
4
  "description": "Command Line Interface tool for generating project templates for the (Your Platform's Name) platform.",
5
5
  "main": "bin/index.js",
6
6
  "scripts": {
@@ -240,7 +240,7 @@
240
240
  &.data-table {
241
241
  .ant-table-thead {
242
242
  .ant-table-cell {
243
- text-align: center !important;
243
+ text-align: center;
244
244
  }
245
245
  }
246
246
  }
@@ -1922,7 +1922,9 @@ h4.ant-typography {
1922
1922
  justify-content: center;
1923
1923
  color: var(--text-color-var) !important;
1924
1924
  background-color: var(--background-color-var) !important;
1925
+ margin-top: var(--align-bottom) !important
1925
1926
  }
1927
+
1926
1928
  .buttonvariable:hover{
1927
1929
  background-color: var(--background-color-hover-var) !important;
1928
1930
  color: var(--text-color-hover-var) !important;
@@ -17,7 +17,7 @@
17
17
  "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix"
18
18
  },
19
19
  "dependencies": {
20
- "@shopstack/cc-core-lib": "^2.5.41"
20
+ "@shopstack/cc-core-lib": "^2.5.101"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/bull": "^3.14.4",
@@ -425,9 +425,14 @@ export class CoreController {
425
425
  @Basic()
426
426
  @Patch("/:entity/import_validate")
427
427
  async importValidate(@Param() params: any, @Body() body): Promise<boolean> {
428
- return this.service.importValidate(params.entity, body.data, body.id,
428
+ return this.service.importValidate(
429
+ params.entity,
430
+ body.id,
429
431
  body.code,
432
+ body.data,
433
+ body.data_text,
430
434
  body.original_data,
431
- body.filename);
435
+ body.filename
436
+ );
432
437
  }
433
438
  }
@@ -619,11 +619,19 @@ export class CoreService implements OnModuleInit {
619
619
  id: string,
620
620
  code: string,
621
621
  data: any,
622
+ dataText: string,
622
623
  originalData,
623
624
  filename
624
625
  ): Promise<any> {
625
626
  const service = await this._getService(entityName);
626
- return service.importValidate(id, code, data, originalData, filename);
627
+ return service.importValidate(
628
+ id,
629
+ code,
630
+ data,
631
+ dataText,
632
+ originalData,
633
+ filename
634
+ );
627
635
  }
628
636
  }
629
637