Skip to content

Commit

Permalink
chore: add ipAddresses to app response (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcnc authored Jan 18, 2024
1 parent 0e3856d commit 8527045
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions __tests__/app.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ describe('app', () => {
name: 'fly-org',
slug: 'personal',
},
ipAddresses: [
{
type: 'v4',
address: '1.1.1.1'
},
{
type: 'v6',
address: '2001:db8::1'
}
]
}

it('lists apps', async () => {
Expand Down
4 changes: 4 additions & 0 deletions src/lib/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ export interface AppResponse {
name: string
slug: string
}
ipAddresses: {
type: string
address: string
}[]
}

export interface CreateAppRequest {
Expand Down

0 comments on commit 8527045

Please sign in to comment.