Timeline Studio API Documentation - v0.26.0
Preparing search index...
features/timeline/services/timeline-machine
TimelineEvents
Type Alias TimelineEvents
TimelineEvents
:
|
{
name
:
string
;
settings
?:
any
;
type
:
"CREATE_PROJECT"
}
|
{
project
:
TimelineProject
;
type
:
"LOAD_PROJECT"
}
|
{
type
:
"SAVE_PROJECT"
}
|
{
type
:
"CLOSE_PROJECT"
}
|
{
duration
:
number
;
name
:
string
;
realStartTime
?:
Date
;
startTime
:
number
;
type
:
"ADD_SECTION"
;
}
|
{
sectionId
:
string
;
type
:
"REMOVE_SECTION"
}
|
{
sectionId
:
string
;
type
:
"UPDATE_SECTION"
;
updates
:
Partial
<
TimelineSection
>
;
}
|
{
name
?:
string
;
sectionId
?:
string
;
trackType
:
TrackType
;
type
:
"ADD_TRACK"
;
}
|
{
trackId
:
string
;
type
:
"REMOVE_TRACK"
}
|
{
trackId
:
string
;
type
:
"UPDATE_TRACK"
;
updates
:
Partial
<
TimelineTrack
>
;
}
|
{
trackIds
:
string
[]
;
type
:
"REORDER_TRACKS"
}
|
{
duration
?:
number
;
mediaFile
:
PREVIEW_SIZES
;
startTime
:
number
;
trackId
:
string
;
type
:
"ADD_CLIP"
;
}
|
{
clipId
:
string
;
type
:
"REMOVE_CLIP"
}
|
{
clipId
:
string
;
type
:
"UPDATE_CLIP"
;
updates
:
Partial
<
TimelineClip
>
}
|
{
clipId
:
string
;
newStartTime
:
number
;
newTrackId
:
string
;
type
:
"MOVE_CLIP"
;
}
|
{
clipId
:
string
;
splitTime
:
number
;
type
:
"SPLIT_CLIP"
}
|
{
clipId
:
string
;
newDuration
:
number
;
newStartTime
:
number
;
type
:
"TRIM_CLIP"
;
}
|
{
addToSelection
?:
boolean
;
clipIds
:
string
[]
;
type
:
"SELECT_CLIPS"
}
|
{
addToSelection
?:
boolean
;
trackIds
:
string
[]
;
type
:
"SELECT_TRACKS"
}
|
{
addToSelection
?:
boolean
;
sectionIds
:
string
[]
;
type
:
"SELECT_SECTIONS"
;
}
|
{
type
:
"CLEAR_SELECTION"
}
|
{
type
:
"PLAY"
}
|
{
type
:
"PAUSE"
}
|
{
type
:
"STOP"
}
|
{
time
:
number
;
type
:
"SEEK"
}
|
{
rate
:
number
;
type
:
"SET_PLAYBACK_RATE"
}
|
{
scale
:
number
;
type
:
"SET_TIME_SCALE"
}
|
{
type
:
"SET_SCROLL_POSITION"
;
x
:
number
;
y
:
number
}
|
{
mode
:
"select"
|
"cut"
|
"trim"
|
"move"
;
type
:
"SET_EDIT_MODE"
}
|
{
snapMode
:
"none"
|
"grid"
|
"clips"
|
"markers"
;
type
:
"TOGGLE_SNAP"
}
|
{
type
:
"UNDO"
}
|
{
type
:
"REDO"
}
|
{
type
:
"CLEAR_HISTORY"
}
|
{
type
:
"COPY_SELECTION"
}
|
{
type
:
"CUT_SELECTION"
}
|
{
targetTime
?:
number
;
targetTrackId
?:
string
;
type
:
"PASTE"
}
|
{
clipId
:
string
;
customParams
?:
Record
<
string
,
any
>
;
effect
:
PREVIEW_SIZES
;
type
:
"APPLY_EFFECT_TO_CLIP"
;
}
|
{
clipId
:
string
;
customParams
?:
Record
<
string
,
any
>
;
filter
:
PREVIEW_SIZES
;
type
:
"APPLY_FILTER_TO_CLIP"
;
}
|
{
clipId
:
string
;
customParams
?:
Record
<
string
,
any
>
;
duration
:
number
;
transition
:
PREVIEW_SIZES
;
transitionType
:
"in"
|
"out"
|
"cross"
;
type
:
"APPLY_TRANSITION_TO_CLIP"
;
}
|
{
clipId
:
string
;
customizations
?:
AppliedStyleTemplate
[
"customizations"
]
;
styleTemplate
:
PREVIEW_SIZES
;
type
:
"APPLY_STYLE_TEMPLATE_TO_CLIP"
;
}
|
{
cellIndex
?:
number
;
clipId
:
string
;
template
:
PREVIEW_SIZES
;
type
:
"APPLY_TEMPLATE_TO_CLIP"
;
}
|
{
customParams
?:
Record
<
string
,
any
>
;
effect
:
PREVIEW_SIZES
;
trackId
:
string
;
type
:
"APPLY_EFFECT_TO_TRACK"
;
}
|
{
customParams
?:
Record
<
string
,
any
>
;
filter
:
PREVIEW_SIZES
;
trackId
:
string
;
type
:
"APPLY_FILTER_TO_TRACK"
;
}
|
{
type
:
"CLEAR_ERROR"
}
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Timeline Studio API Documentation - v0.26.0
Loading...