Skip to main content

create

Function create 

Source
pub fn create(
    project: &str,
    content: &str,
    options: TimelineCreateOptions,
) -> Result<TimelineEntry>
Expand description

Add a plain event to a project’s timeline, main unless timeline names another, at the end unless an index is given. A dated timeline needs a start and takes no index. Entries and scenes are added with timeline.place.

Needs timeline.create or content:write in the manifest’s [permissions].