Skip to content

Commit

Permalink
chore(deps): ENG-393 update all
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin committed Aug 25, 2023
1 parent 0689467 commit 034b8d8
Show file tree
Hide file tree
Showing 9 changed files with 3,417 additions and 2,435 deletions.
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@
}
},
"dependencies": {
"axios": "0.21.1"
"axios": "1.4.0"
},
"description": "SDK for timelyapp.com API",
"devDependencies": {
"@digitalroute/cz-conventional-changelog-for-jira": "6.6.0",
"@pliancy/eslint-config-ts": "0.0.5",
"@pliancy/semantic-release-config-npm": "^2.1.0",
"@types/jest": "27.0.1",
"commitizen": "4.2.4",
"cpy-cli": "3.1.1",
"husky": "7.0.2",
"jest": "27.1.0",
"npm-run-all": "^4.1.5",
"pinst": "2.1.6",
"rimraf": "3.0.2",
"semantic-release": "^17.4.7",
"ts-jest": "27.0.5",
"ts-node": "^9.1.1",
"typescript": "4.4.2"
"@digitalroute/cz-conventional-changelog-for-jira": "6.8.0",
"@pliancy/eslint-config-ts": "1.0.0",
"@pliancy/semantic-release-config-npm": "2.2.0",
"@types/jest": "29.5.4",
"commitizen": "4.3.0",
"cpy-cli": "5.0.0",
"husky": "8.0.3",
"jest": "29.6.4",
"npm-run-all": "4.1.5",
"pinst": "3.0.0",
"rimraf": "5.0.1",
"semantic-release": "19.0.5",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"typescript": "5.1.6"
},
"engines": {
"node": ">=12"
Expand Down
5 changes: 4 additions & 1 deletion src/lib/clients/clients.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ import { AxiosInstance } from 'axios'
import { AddTimelyClient, TimelyAppConfig, TimelyClient } from '../types'

export class Clients {
constructor(private readonly http: AxiosInstance, private readonly config: TimelyAppConfig) {}
constructor(
private readonly http: AxiosInstance,
private readonly config: TimelyAppConfig,
) {}

async getAll(): Promise<TimelyClient[]> {
const { data } = await this.http.get(`/${this.config.accountId}/clients?show=all`)
Expand Down
5 changes: 4 additions & 1 deletion src/lib/events/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ import {
} from '../types'

export class Events {
constructor(private readonly http: AxiosInstance, private readonly config: TimelyAppConfig) {}
constructor(
private readonly http: AxiosInstance,
private readonly config: TimelyAppConfig,
) {}

async getAll(start?: DateString, end?: DateString): Promise<TimelyEvent[]> {
// Ensure given date range conforms to ISO string format
Expand Down
5 changes: 4 additions & 1 deletion src/lib/labels/labels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ import { AxiosInstance } from 'axios'
import { AddTimelyLabel, TimelyAppConfig, TimelyLabel } from '../types'

export class Labels {
constructor(private readonly http: AxiosInstance, private readonly config: TimelyAppConfig) {}
constructor(
private readonly http: AxiosInstance,
private readonly config: TimelyAppConfig,
) {}

async getAll(): Promise<TimelyLabel[]> {
const { data } = await this.http.get(`/${this.config.accountId}/labels`)
Expand Down
5 changes: 4 additions & 1 deletion src/lib/projects/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ import { AxiosInstance } from 'axios'
import { AddTimelyProject, TimelyAppConfig, TimelyProject } from '../types'

export class Projects {
constructor(private readonly http: AxiosInstance, private readonly config: TimelyAppConfig) {}
constructor(
private readonly http: AxiosInstance,
private readonly config: TimelyAppConfig,
) {}

async getAll(filter?: 'active' | 'all' | 'mine' | 'archived'): Promise<TimelyProject[]> {
const { data } = await this.http.get(
Expand Down
5 changes: 4 additions & 1 deletion src/lib/reports/reports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import { paginatedRequest } from '../http/paginated-request'
import { TimelyAppConfig } from '../types'

export class Reports {
constructor(private readonly http: AxiosInstance, private readonly config: TimelyAppConfig) {}
constructor(
private readonly http: AxiosInstance,
private readonly config: TimelyAppConfig,
) {}

async getByExternalId(
externalId: string,
Expand Down
5 changes: 4 additions & 1 deletion src/lib/teams/teams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ import { AxiosInstance } from 'axios'
import { TimelyAppConfig, TimelyTeam, TimelyUser } from '../types'

export class Teams {
constructor(private readonly http: AxiosInstance, private readonly config: TimelyAppConfig) {}
constructor(
private readonly http: AxiosInstance,
private readonly config: TimelyAppConfig,
) {}

async getAll(): Promise<TimelyUser[]> {
const { data } = await this.http.get(`/${this.config.accountId}/teams`)
Expand Down
5 changes: 4 additions & 1 deletion src/lib/users/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ import {
} from '../types'

export class Users {
constructor(private readonly http: AxiosInstance, private readonly config: TimelyAppConfig) {}
constructor(
private readonly http: AxiosInstance,
private readonly config: TimelyAppConfig,
) {}

async getAll(): Promise<TimelyUser[]> {
const { data } = await this.http.get(`/${this.config.accountId}/users?limit=1000`)
Expand Down
Loading

0 comments on commit 034b8d8

Please sign in to comment.