migrateCubeSpec( json: JsonObject, from: number, to?: number, migrations?: readonly CubeSpecMigration[],): JsonObject Parameters
- json: JsonObject
- from: number
- to: number = CURRENT_FORMAT_VERSION
- migrations: readonly CubeSpecMigration[] = CUBE_SPEC_MIGRATIONS
Returns JsonObject
Brings a document saved with an older format to
to, one step at a time