-
-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6f671fa
commit f426817
Showing
10 changed files
with
323 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { AutocompleteState } from './types' | ||
|
||
export function getDefaultAutocompleteState(): AutocompleteState { | ||
const state: AutocompleteState = { | ||
isRunning: false, | ||
} | ||
return state | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
export type AutocompleteState = { | ||
isRunning: boolean | ||
} | ||
export type AutocompleteControls = { | ||
/** | ||
* Take a range of storyboards and infer the corresponding story | ||
* | ||
* This will directly update the screenplay and timeline, | ||
* creating the appropriate segments, line coordinates etc | ||
* | ||
* | ||
* @param params | ||
* @returns | ||
*/ | ||
storyboardsToStory: (params?: { | ||
startTimeInMs?: number | ||
endTimeInMs?: number | ||
}) => Promise<void> | ||
} | ||
export type AutocompleteStore = AutocompleteState & AutocompleteControls |
Oops, something went wrong.