mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 11:37:02 +03:00
Added config option
This commit is contained in:
@@ -5,6 +5,7 @@ import Utils from "./utils";
|
||||
const utils = new Utils();
|
||||
|
||||
interface SBConfig {
|
||||
timeWithSkips: boolean,
|
||||
userID: string,
|
||||
sponsorTimes: SBMap<string, any>,
|
||||
whitelistedChannels: string[],
|
||||
@@ -123,6 +124,7 @@ var Config: SBObject = {
|
||||
*/
|
||||
configListeners: [],
|
||||
defaults: {
|
||||
timeWithSkips: false,
|
||||
userID: null,
|
||||
sponsorTimes: new SBMap("sponsorTimes"),
|
||||
whitelistedChannels: [],
|
||||
@@ -406,4 +408,4 @@ function addDefaults() {
|
||||
// Sync config
|
||||
setupConfig();
|
||||
|
||||
export default Config;
|
||||
export default Config;
|
||||
|
||||
Reference in New Issue
Block a user