half way through refactor

This commit is contained in:
Alan Hamlett
2024-08-27 14:48:22 +02:00
parent d5e94de63c
commit d34c8ca347
13 changed files with 313 additions and 143 deletions

View File

@@ -3,7 +3,7 @@ import browser from 'webextension-polyfill';
/**
* Logging
*/
export type ApiStates = 'allGood' | 'notLogging' | 'notSignedIn' | 'ignored';
export type ExtensionStatus = 'allGood' | 'notLogging' | 'notSignedIn' | 'ignored';
/**
* Supported logging style
*/
@@ -90,7 +90,7 @@ export interface Config {
name: string;
nonTrackableSites: string[];
socialMediaSites: string[];
states: ApiStates[];
states: ExtensionStatus[];
/**
* Get stats from the wakatime api
*/