diff options
author | Ajay Ramachandran <[email protected]> | 2021-10-12 23:33:41 -0400 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2021-10-12 23:33:41 -0400 |
commit | e20b60979c38873f792e0af879f49d0205e271f3 (patch) | |
tree | 7b574460fa1d668831fd7b63c72b1b82dd76ec47 /src/types.ts | |
parent | a2b054844aa925517c5a554ae8c09369f2b31d31 (diff) | |
download | SponsorBlock-e20b60979c38873f792e0af879f49d0205e271f3.tar.gz SponsorBlock-e20b60979c38873f792e0af879f49d0205e271f3.zip |
Add initial chapter name rendering
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/types.ts b/src/types.ts index c60e52bb..cd2dca43 100644 --- a/src/types.ts +++ b/src/types.ts @@ -58,7 +58,8 @@ export enum CategoryActionType { export enum ActionType { Skip = "skip", - Mute = "mute" + Mute = "mute", + Chapter = "chapter", } export const ActionTypes = [ActionType.Skip, ActionType.Mute]; @@ -77,6 +78,7 @@ export interface SponsorTime { category: Category; actionType: ActionType; + description?: string; hidden?: SponsorHideType; source?: SponsorSourceType; |