Skip to content

Commit

Permalink
Addressing PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
sbosio committed Jun 12, 2024
1 parent b64cc6f commit 084796a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
9 changes: 1 addition & 8 deletions src/api-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {Login} from './login'
import {Mutex} from './mutex'
import {RequestId, requestIdHeader} from './request-id'
import {vars} from './vars'
import {ParticleboardClient, IDelinquencyInfo} from './particleboard-client'
import {ParticleboardClient, IDelinquencyInfo, IDelinquencyConfig} from './particleboard-client'

export namespace APIClient {
export interface Options extends HTTPRequestOptions {
Expand All @@ -30,13 +30,6 @@ export interface IHerokuAPIErrorOptions {
url?: string
}

interface IDelinquencyConfig {
fetch_delinquency: boolean
warning_shown: boolean
resource_type?: 'account' | 'team'
fetch_url?: string
}

export class HerokuAPIError extends CLIError {
http: HTTPError
body: IHerokuAPIErrorOptions
Expand Down
7 changes: 7 additions & 0 deletions src/particleboard-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ export interface IDelinquencyInfo {
scheduled_deletion_time?: string | null
}

export interface IDelinquencyConfig {
fetch_delinquency: boolean
warning_shown: boolean
resource_type?: 'account' | 'team'
fetch_url?: string
}

export class ParticleboardClient {
http: typeof HTTP
private _auth?: string
Expand Down

0 comments on commit 084796a

Please sign in to comment.