migrate
Migrate the Data payload to the latest shape, automatically transforming deprecated data.
import { migrate } from "@measured/puck";
migrate(legacyData);Returns
The updated Data object.
Migrate the Data payload to the latest shape, automatically transforming deprecated data.
import { migrate } from "@measured/puck";
migrate(legacyData);The updated Data object.