@webiny/data-migration 5.37.2 → 5.37.3-beta.1

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.
@@ -272,4 +272,6 @@ exports.MigrationRunner = MigrationRunner;
272
272
  optional: true
273
273
  }), (0, _ioc.inject)(_symbols.LoggerSymbol, {
274
274
  optional: true
275
- })]);
275
+ })]);
276
+
277
+ //# sourceMappingURL=MigrationRunner.js.map
@@ -18,4 +18,6 @@ const getDuration = since => {
18
18
  }
19
19
  return minutes ? `${minutes}m ${seconds}s` : `${seconds}s`;
20
20
  };
21
- exports.getDuration = getDuration;
21
+ exports.getDuration = getDuration;
22
+
23
+ //# sourceMappingURL=getDuration.js.map
@@ -24,4 +24,6 @@ const getMigrationStatus = async ({
24
24
  const response = await (0, _utils.executeWithRetry)(getStatus);
25
25
  return JSON.parse(response.Payload);
26
26
  };
27
- exports.getMigrationStatus = getMigrationStatus;
27
+ exports.getMigrationStatus = getMigrationStatus;
28
+
29
+ //# sourceMappingURL=getMigrationStatus.js.map
package/cli/index.js CHANGED
@@ -35,4 +35,6 @@ Object.keys(_getDuration).forEach(function (key) {
35
35
  return _getDuration[key];
36
36
  }
37
37
  });
38
- });
38
+ });
39
+
40
+ //# sourceMappingURL=index.js.map
@@ -54,4 +54,6 @@ const printReport = ({
54
54
  context.info(...[`[%s] %s: ${migration.description}`, (0, _centerAlign.default)(makeEven(migration.status), maxLength), migration.id]);
55
55
  }
56
56
  };
57
- exports.printReport = printReport;
57
+ exports.printReport = printReport;
58
+
59
+ //# sourceMappingURL=printReport.js.map
@@ -82,4 +82,6 @@ const runMigration = async ({
82
82
  }
83
83
  }
84
84
  };
85
- exports.runMigration = runMigration;
85
+ exports.runMigration = runMigration;
86
+
87
+ //# sourceMappingURL=runMigration.js.map
@@ -3,20 +3,21 @@ import { Logger } from "@webiny/logger";
3
3
  export declare const createPinoLogger: () => Logger<{
4
4
  level: string;
5
5
  redact?: string[] | import("@webiny/logger").RedactOptions | undefined;
6
+ name?: string | undefined;
7
+ customLevels?: {
8
+ [key: string]: number;
9
+ } | undefined;
10
+ useOnlyCustomLevels?: boolean | undefined;
11
+ levelVal?: number | undefined;
12
+ onChild?: (<ChildOptions extends import("pino").default.ChildLoggerOptions>(child: import("pino").default.Logger<import("pino").LoggerOptions & ChildOptions>) => void) | undefined;
6
13
  transport?: import("pino").default.TransportSingleOptions<Record<string, any>> | import("pino").default.TransportMultiOptions<Record<string, any>> | import("pino").default.TransportPipelineOptions<Record<string, any>> | undefined;
7
14
  safe?: boolean | undefined;
8
- name?: string | undefined;
9
15
  serializers?: {
10
16
  [key: string]: import("pino").default.SerializerFn;
11
17
  } | undefined;
12
18
  timestamp?: boolean | (() => string) | undefined;
13
- customLevels?: {
14
- [key: string]: number;
15
- } | undefined;
16
- useOnlyCustomLevels?: boolean | undefined;
17
19
  mixin?: ((mergeObject: object, level: number) => object) | undefined;
18
20
  mixinMergeStrategy?: ((mergeObject: object, mixinObject: object) => object) | undefined;
19
- levelVal?: number | undefined;
20
21
  messageKey?: string | undefined;
21
22
  errorKey?: string | undefined;
22
23
  nestedKey?: string | undefined;
@@ -53,7 +54,6 @@ export declare const createPinoLogger: () => Logger<{
53
54
  } | undefined;
54
55
  depthLimit?: number | undefined;
55
56
  edgeLimit?: number | undefined;
56
- onChild?: (<ChildOptions extends import("pino").default.ChildLoggerOptions>(child: import("pino").default.Logger<import("pino").LoggerOptions & ChildOptions>) => void) | undefined;
57
57
  }>;
58
58
  export declare const getChildLogger: (logger: Logger, migration: DataMigration) => import("pino").default.Logger<import("pino").LoggerOptions & {
59
59
  msgPrefix: string;
@@ -21,4 +21,6 @@ const getChildLogger = (logger, migration) => {
21
21
  msgPrefix: _chalk.default.blueBright(`[${migration.getId()}]`) + " "
22
22
  });
23
23
  };
24
- exports.getChildLogger = getChildLogger;
24
+ exports.getChildLogger = getChildLogger;
25
+
26
+ //# sourceMappingURL=createPinoLogger.js.map
package/createTable.js CHANGED
@@ -26,4 +26,6 @@ const createTable = ({
26
26
  }
27
27
  });
28
28
  };
29
- exports.createTable = createTable;
29
+ exports.createTable = createTable;
30
+
31
+ //# sourceMappingURL=createTable.js.map
@@ -78,4 +78,6 @@ const createDdbEsProjectMigration = _ref => {
78
78
  }
79
79
  });
80
80
  };
81
- exports.createDdbEsProjectMigration = createDdbEsProjectMigration;
81
+ exports.createDdbEsProjectMigration = createDdbEsProjectMigration;
82
+
83
+ //# sourceMappingURL=createDdbEsProjectMigration.js.map
@@ -74,4 +74,6 @@ const createDdbProjectMigration = _ref => {
74
74
  }
75
75
  });
76
76
  };
77
- exports.createDdbProjectMigration = createDdbProjectMigration;
77
+ exports.createDdbProjectMigration = createDdbProjectMigration;
78
+
79
+ //# sourceMappingURL=createDdbProjectMigration.js.map
@@ -14,4 +14,6 @@ const createPatternMatcher = pattern => {
14
14
  return migration.getId() === pattern;
15
15
  };
16
16
  };
17
- exports.createPatternMatcher = createPatternMatcher;
17
+ exports.createPatternMatcher = createPatternMatcher;
18
+
19
+ //# sourceMappingURL=createPatternMatcher.js.map
@@ -11,4 +11,6 @@ const devVersionErrorResponse = () => {
11
11
  }
12
12
  };
13
13
  };
14
- exports.devVersionErrorResponse = devVersionErrorResponse;
14
+ exports.devVersionErrorResponse = devVersionErrorResponse;
15
+
16
+ //# sourceMappingURL=devVersionErrorResponse.js.map
package/index.js CHANGED
@@ -68,4 +68,6 @@ Object.keys(_createPinoLogger).forEach(function (key) {
68
68
  return _createPinoLogger[key];
69
69
  }
70
70
  });
71
- });
71
+ });
72
+
73
+ //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/data-migration",
3
- "version": "5.37.2",
3
+ "version": "5.37.3-beta.1",
4
4
  "main": "index.js",
5
5
  "types": "types.ts",
6
6
  "license": "MIT",
@@ -14,11 +14,11 @@
14
14
  "@babel/runtime": "7.22.6",
15
15
  "@elastic/elasticsearch": "7.12.0",
16
16
  "@types/pino": "7.0.5",
17
- "@webiny/db-dynamodb": "5.37.2",
18
- "@webiny/handler-aws": "5.37.2",
19
- "@webiny/ioc": "5.37.2",
20
- "@webiny/logger": "5.37.2",
21
- "@webiny/utils": "5.37.2",
17
+ "@webiny/db-dynamodb": "5.37.3-beta.1",
18
+ "@webiny/handler-aws": "5.37.3-beta.1",
19
+ "@webiny/ioc": "5.37.3-beta.1",
20
+ "@webiny/logger": "5.37.3-beta.1",
21
+ "@webiny/utils": "5.37.3-beta.1",
22
22
  "center-align": "1.0.1",
23
23
  "chalk": "4.1.2",
24
24
  "dynamodb-toolbox": "0.3.5",
@@ -32,8 +32,8 @@
32
32
  "@babel/preset-env": "7.22.7",
33
33
  "@types/center-align": "1.0.0",
34
34
  "@types/semver": "7.3.13",
35
- "@webiny/cli": "5.37.2",
36
- "@webiny/project-utils": "5.37.2",
35
+ "@webiny/cli": "5.37.3-beta.1",
36
+ "@webiny/project-utils": "5.37.3-beta.1",
37
37
  "jest": "29.5.0",
38
38
  "jest-dynalite": "3.6.1",
39
39
  "jest-mock-console": "1.3.0",
@@ -55,5 +55,5 @@
55
55
  ]
56
56
  }
57
57
  },
58
- "gitHead": "e69288bf5e710060b14497aae8317034c6cb4bcc"
58
+ "gitHead": "59d377132f34c76cb198cd0f0eee211a56ca25b7"
59
59
  }
@@ -34,4 +34,6 @@ const createStandardEntity = ({
34
34
  }
35
35
  });
36
36
  };
37
- exports.createStandardEntity = createStandardEntity;
37
+ exports.createStandardEntity = createStandardEntity;
38
+
39
+ //# sourceMappingURL=createStandardEntity.js.map
@@ -105,4 +105,6 @@ class MigrationRepositoryImpl {
105
105
  }
106
106
  }
107
107
  exports.MigrationRepositoryImpl = MigrationRepositoryImpl;
108
- (0, _ioc.makeInjectable)(MigrationRepositoryImpl, [(0, _ioc.inject)(_symbols.PrimaryDynamoTableSymbol)]);
108
+ (0, _ioc.makeInjectable)(MigrationRepositoryImpl, [(0, _ioc.inject)(_symbols.PrimaryDynamoTableSymbol)]);
109
+
110
+ //# sourceMappingURL=migrations.repository.js.map
package/symbols.js CHANGED
@@ -17,4 +17,6 @@ exports.PrimaryDynamoTableSymbol = PrimaryDynamoTableSymbol;
17
17
  const ElasticsearchDynamoTableSymbol = Symbol.for("ElasticsearchDynamoTable");
18
18
  exports.ElasticsearchDynamoTableSymbol = ElasticsearchDynamoTableSymbol;
19
19
  const ExecutionTimeLimiterSymbol = Symbol.for("ExecutionTimeLimiter");
20
- exports.ExecutionTimeLimiterSymbol = ExecutionTimeLimiterSymbol;
20
+ exports.ExecutionTimeLimiterSymbol = ExecutionTimeLimiterSymbol;
21
+
22
+ //# sourceMappingURL=symbols.js.map
package/types.js CHANGED
@@ -2,4 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
- });
5
+ });
6
+
7
+ //# sourceMappingURL=types.js.map