summaryrefslogtreecommitdiff
path: root/apps/web/src/services/storage/migrations/__tests__/fixtures/v3.ts
blob: 1d46e36238285aec41d6fd82c5cfc1a44b8f8062 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
export const v3Project = {
	id: "project-v3-123",
	version: 3,
	metadata: {
		id: "project-v3-123",
		name: "My V3 Project",
		thumbnail: "data:image/png;base64,xyz789",
		duration: 25.5,
		createdAt: "2024-05-01T10:00:00.000Z",
		updatedAt: "2024-05-01T14:00:00.000Z",
	},
	settings: {
		fps: 30,
		canvasSize: { width: 1920, height: 1080 },
		background: { type: "color", color: "#000000" },
	},
	currentSceneId: "scene-main",
	scenes: [
		{
			id: "scene-main",
			name: "Main scene",
			isMain: true,
			tracks: [
				{
					id: "track-1",
					type: "video",
					name: "Video Track",
					isMain: true,
					elements: [
						{
							id: "element-1",
							type: "video",
							mediaId: "media-1",
							startTime: 0,
							duration: 25.5,
							trimStart: 0,
							trimEnd: 0,
						},
					],
				},
			],
			bookmarks: [],
			createdAt: "2024-05-01T10:00:00.000Z",
			updatedAt: "2024-05-01T14:00:00.000Z",
		},
	],
};