Fix sending heartbeats and parsing GitHub repo
This commit is contained in:
@@ -53,7 +53,7 @@ export interface Config {
|
||||
/**
|
||||
* API key use to query wakatime api
|
||||
*/
|
||||
apiKey: '';
|
||||
apiKey: string;
|
||||
apiUrl: string;
|
||||
colors: Colors;
|
||||
/**
|
||||
@@ -66,14 +66,14 @@ export interface Config {
|
||||
* no activity in the browser for x second
|
||||
*/
|
||||
detectionIntervalInSeconds: number;
|
||||
|
||||
devSites: string[];
|
||||
|
||||
/**
|
||||
* Url to which to send the heartbeat
|
||||
*/
|
||||
heartbeatApiEndPoint: string;
|
||||
|
||||
hostname: string;
|
||||
|
||||
/**
|
||||
* Is logging enabled
|
||||
*/
|
||||
@@ -89,6 +89,7 @@ export interface Config {
|
||||
*/
|
||||
name: string;
|
||||
nonTrackableSites: string[];
|
||||
queueName: string;
|
||||
socialMediaSites: string[];
|
||||
states: ExtensionStatus[];
|
||||
/**
|
||||
@@ -163,6 +164,8 @@ const config: Config = {
|
||||
|
||||
nonTrackableSites: ['chrome://', 'about:'],
|
||||
|
||||
queueName: 'heartbeatQueue',
|
||||
|
||||
socialMediaSites: [
|
||||
'facebook.com',
|
||||
'instagram.com',
|
||||
|
||||
Reference in New Issue
Block a user