mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
17 lines
436 B
TypeScript
17 lines
436 B
TypeScript
import { StorageMigration } from "./base";
|
|
import type { ProjectRecord } from "./transformers/types";
|
|
import { transformProjectV5ToV6 } from "./transformers/v5-to-v6";
|
|
|
|
export class V5toV6Migration extends StorageMigration {
|
|
from = 5;
|
|
to = 6;
|
|
|
|
async transform(project: ProjectRecord): Promise<{
|
|
project: ProjectRecord;
|
|
skipped: boolean;
|
|
reason?: string;
|
|
}> {
|
|
return transformProjectV5ToV6({ project });
|
|
}
|
|
}
|