@contentstack/cli-cm-import 1.31.2 → 1.31.3

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/README.md CHANGED
@@ -47,7 +47,7 @@ $ npm install -g @contentstack/cli-cm-import
47
47
  $ csdx COMMAND
48
48
  running command...
49
49
  $ csdx (--version)
50
- @contentstack/cli-cm-import/1.31.2 linux-x64 node-v22.22.0
50
+ @contentstack/cli-cm-import/1.31.3 linux-x64 node-v22.22.0
51
51
  $ csdx --help [COMMAND]
52
52
  USAGE
53
53
  $ csdx COMMAND
@@ -1,4 +1,4 @@
1
- import { Stack } from '@contentstack/management/types/stack';
1
+ import { ManagementStack } from '@contentstack/cli-utilities';
2
2
  import { ImportConfig, ModuleClassParams } from '../../types';
3
3
  export type AdditionalKeys = {
4
4
  backupDir: string;
@@ -34,11 +34,11 @@ export type CustomPromiseHandlerInput = {
34
34
  };
35
35
  export type CustomPromiseHandler = (input: CustomPromiseHandlerInput) => Promise<any>;
36
36
  export default abstract class BaseClass {
37
- readonly client: Stack;
37
+ readonly client: ManagementStack;
38
38
  importConfig: ImportConfig;
39
39
  modulesConfig: any;
40
40
  constructor({ importConfig, stackAPIClient }: Omit<ModuleClassParams, 'moduleName'>);
41
- get stack(): Stack;
41
+ get stack(): ManagementStack;
42
42
  /**
43
43
  * @method delay
44
44
  * @param {number} ms number
@@ -20,7 +20,7 @@ export default class ImportWorkflows extends BaseClass {
20
20
  start(): Promise<void>;
21
21
  getRoles(): Promise<void>;
22
22
  importWorkflows(): Promise<void>;
23
- updateNextAvailableStagesUid(workflow: Record<string, any>, newWorkflowStages: Record<string, any>[], oldWorkflowStages: Record<string, any>[]): Promise<import("@contentstack/management/types/stack/workflow").Workflow>;
23
+ updateNextAvailableStagesUid(workflow: Record<string, any>, newWorkflowStages: Record<string, any>[], oldWorkflowStages: Record<string, any>[]): Promise<any>;
24
24
  /**
25
25
  * @method serializeWorkflows
26
26
  * @param {ApiOptions} apiOptions ApiOptions
@@ -212,5 +212,5 @@
212
212
  ]
213
213
  }
214
214
  },
215
- "version": "1.31.2"
215
+ "version": "1.31.3"
216
216
  }
package/package.json CHANGED
@@ -1,22 +1,21 @@
1
1
  {
2
2
  "name": "@contentstack/cli-cm-import",
3
3
  "description": "Contentstack CLI plugin to import content into stack",
4
- "version": "1.31.2",
4
+ "version": "1.31.3",
5
5
  "author": "Contentstack",
6
6
  "bugs": "https://github.com/contentstack/cli/issues",
7
7
  "dependencies": {
8
8
  "@contentstack/cli-audit": "~1.17.1",
9
- "@contentstack/cli-command": "~1.7.1",
10
- "@contentstack/cli-utilities": "~1.17.0",
11
- "@contentstack/management": "~1.27.3",
9
+ "@contentstack/cli-command": "~1.7.2",
10
+ "@contentstack/cli-utilities": "~1.17.2",
12
11
  "@contentstack/cli-variants": "~1.3.7",
13
12
  "@oclif/core": "^4.3.0",
14
13
  "big-json": "^3.2.0",
15
14
  "bluebird": "^3.7.2",
16
15
  "chalk": "^4.1.2",
17
- "debug": "^4.4.1",
18
- "fs-extra": "^11.3.0",
19
- "lodash": "^4.17.21",
16
+ "debug": "^4.4.3",
17
+ "fs-extra": "^11.3.3",
18
+ "lodash": "^4.17.23",
20
19
  "marked": "^4.3.0",
21
20
  "merge": "^2.1.1",
22
21
  "mkdirp": "^1.0.4",
@@ -25,7 +24,7 @@
25
24
  "winston": "^3.17.0"
26
25
  },
27
26
  "devDependencies": {
28
- "@oclif/test": "^4.1.13",
27
+ "@oclif/test": "^4.1.16",
29
28
  "@types/big-json": "^3.2.5",
30
29
  "@types/bluebird": "^3.5.42",
31
30
  "@types/fs-extra": "^11.0.4",
@@ -95,4 +94,4 @@
95
94
  }
96
95
  },
97
96
  "repository": "https://github.com/contentstack/cli"
98
- }
97
+ }