@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/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[] & any[];
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<any>;
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[] & any[];
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<any>;
115
+ }) => Promise<string>;
113
116
 
114
117
  /**
115
118
  * Migrates a payload