@twick/timeline 0.14.5 → 0.14.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,38 @@
1
+ /**
2
+ * Initial timeline data structure for new video editor projects.
3
+ * Provides a default timeline with a sample text element to get started.
4
+ *
5
+ * @example
6
+ * ```js
7
+ * import { INITIAL_TIMELINE_DATA } from '@twick/timeline';
8
+ *
9
+ * // Use as starting point for new projects
10
+ * const newProject = {
11
+ * ...INITIAL_TIMELINE_DATA,
12
+ * tracks: [...INITIAL_TIMELINE_DATA.tracks, newTrack]
13
+ * };
14
+ * ```
15
+ */
16
+ export declare const INITIAL_TIMELINE_DATA: {
17
+ tracks: {
18
+ type: string;
19
+ id: string;
20
+ name: string;
21
+ elements: {
22
+ id: string;
23
+ trackId: string;
24
+ name: string;
25
+ type: string;
26
+ s: number;
27
+ e: number;
28
+ props: {
29
+ text: string;
30
+ fill: string;
31
+ };
32
+ }[];
33
+ }[];
34
+ version: number;
35
+ };
1
36
  /**
2
37
  * Player state constants for timeline playback control.
3
38
  * Defines the different states that a timeline player can be in during playback.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twick/timeline",
3
- "version": "0.14.5",
3
+ "version": "0.14.6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -23,7 +23,7 @@
23
23
  "docs": "typedoc"
24
24
  },
25
25
  "dependencies": {
26
- "@twick/media-utils": "0.14.5",
26
+ "@twick/media-utils": "0.14.6",
27
27
  "posthog-js": "^1.258.5"
28
28
  },
29
29
  "devDependencies": {