@oliasoft-open-source/node-json-migrator 4.6.0-beta-1 → 4.6.0-beta-2
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 +1 -1
- package/dist/index.cjs +2431 -5936
- package/dist/index.d.cts +5 -2
- package/dist/index.d.mts +5 -2
- package/dist/index.mjs +2418 -5923
- package/package.json +16 -15
- package/dist/immer-CjiV9AMA.mjs +0 -1576
- package/dist/immer-ZZLkDBss.cjs +0 -1598
package/dist/index.d.cts
CHANGED
|
@@ -103,13 +103,16 @@ declare const getPlannedMigrations: ({ config }: {
|
|
|
103
103
|
fileName: string;
|
|
104
104
|
sequence: string;
|
|
105
105
|
}[];
|
|
106
|
-
plannedMigrations: TMigration[] &
|
|
106
|
+
plannedMigrations: TMigration[] & {
|
|
107
|
+
fileHash: string;
|
|
108
|
+
migrator: (...args: unknown[]) => unknown;
|
|
109
|
+
}[];
|
|
107
110
|
nextVersion: string;
|
|
108
111
|
}>;
|
|
109
112
|
|
|
110
113
|
declare const getPlannedVersion: ({ config }: {
|
|
111
114
|
config: any;
|
|
112
|
-
}) => Promise<
|
|
115
|
+
}) => Promise<string>;
|
|
113
116
|
|
|
114
117
|
/**
|
|
115
118
|
* Migrates a payload
|
package/dist/index.d.mts
CHANGED
|
@@ -103,13 +103,16 @@ declare const getPlannedMigrations: ({ config }: {
|
|
|
103
103
|
fileName: string;
|
|
104
104
|
sequence: string;
|
|
105
105
|
}[];
|
|
106
|
-
plannedMigrations: TMigration[] &
|
|
106
|
+
plannedMigrations: TMigration[] & {
|
|
107
|
+
fileHash: string;
|
|
108
|
+
migrator: (...args: unknown[]) => unknown;
|
|
109
|
+
}[];
|
|
107
110
|
nextVersion: string;
|
|
108
111
|
}>;
|
|
109
112
|
|
|
110
113
|
declare const getPlannedVersion: ({ config }: {
|
|
111
114
|
config: any;
|
|
112
|
-
}) => Promise<
|
|
115
|
+
}) => Promise<string>;
|
|
113
116
|
|
|
114
117
|
/**
|
|
115
118
|
* Migrates a payload
|