@4lch4/toggl-aid
Version:
A wrapper library for interacting with the Toggl API.
19 lines • 637 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Defaults = void 0;
const APIUrls = {
TogglAPI: 'https://www.toggl.com/api/v8',
ReportsAPI: 'https://www.toggl.com/reports/api/v2'
};
const Defaults = {
reportsAPI: {
baseUrl: APIUrls.ReportsAPI,
weeklyReportUrl: `${APIUrls.ReportsAPI}/weekly`,
detailsReportUrl: `${APIUrls.ReportsAPI}/details`,
summaryReportUrl: `${APIUrls.ReportsAPI}/summary`
},
baseTogglUrl: APIUrls.TogglAPI,
headers: { 'Content-Type': 'application/json' }
};
exports.Defaults = Defaults;
//# sourceMappingURL=Defaults.js.map