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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
export const v2Project = {
id: "project-v2-123",
version: 2,
metadata: {
id: "project-v2-123",
name: "My V2 Project",
thumbnail: "data:image/png;base64,abc123",
createdAt: "2024-03-01T10:00:00.000Z",
updatedAt: "2024-03-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: 15.5,
trimStart: 0,
trimEnd: 0,
},
],
},
{
id: "track-2",
type: "text",
name: "Text Track",
elements: [
{
id: "element-2",
type: "text",
content: "Hello World",
startTime: 2,
duration: 5,
},
],
},
],
bookmarks: [5.0, 10.0],
createdAt: "2024-03-01T10:00:00.000Z",
updatedAt: "2024-03-01T14:00:00.000Z",
},
],
};
export const v2ProjectWithBlurBackground = {
id: "project-v2-blur",
version: 2,
metadata: {
id: "project-v2-blur",
name: "Blur Background Project",
createdAt: "2024-03-15T08:00:00.000Z",
updatedAt: "2024-03-15T10:00:00.000Z",
},
settings: {
fps: 24,
canvasSize: { width: 1080, height: 1920 },
background: { type: "blur", blurIntensity: 25 },
},
currentSceneId: "scene-1",
scenes: [
{
id: "scene-1",
name: "Main scene",
isMain: true,
tracks: [
{
id: "track-1",
type: "video",
isMain: true,
elements: [
{
id: "el-1",
type: "video",
mediaId: "m1",
startTime: 0,
duration: 30,
},
],
},
],
bookmarks: [],
createdAt: "2024-03-15T08:00:00.000Z",
updatedAt: "2024-03-15T10:00:00.000Z",
},
],
};
export const v2ProjectEmptyScenes = {
id: "project-v2-empty",
version: 2,
metadata: {
id: "project-v2-empty",
name: "Empty Scenes Project",
createdAt: "2024-04-01T00:00:00.000Z",
updatedAt: "2024-04-01T00:00:00.000Z",
},
settings: {
fps: 30,
canvasSize: { width: 1920, height: 1080 },
background: { type: "color", color: "#ffffff" },
},
currentSceneId: "",
scenes: [],
};
export const v2ProjectSceneWithoutTracks = {
id: "project-v2-no-tracks",
version: 2,
metadata: {
id: "project-v2-no-tracks",
name: "Scene Without Tracks",
createdAt: "2024-04-01T00:00:00.000Z",
updatedAt: "2024-04-01T00:00:00.000Z",
},
settings: {
fps: 30,
canvasSize: { width: 1920, height: 1080 },
background: { type: "color", color: "#000000" },
},
currentSceneId: "scene-1",
scenes: [
{
id: "scene-1",
name: "Main Scene",
isMain: true,
createdAt: "2024-04-01T00:00:00.000Z",
updatedAt: "2024-04-01T00:00:00.000Z",
},
],
};
|