Skip to content

Commit 8527045

Browse files
authored
chore: add ipAddresses to app response (#13)
1 parent 0e3856d commit 8527045

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

__tests__/app.test.ts

+10
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ describe('app', () => {
1414
name: 'fly-org',
1515
slug: 'personal',
1616
},
17+
ipAddresses: [
18+
{
19+
type: 'v4',
20+
address: '1.1.1.1'
21+
},
22+
{
23+
type: 'v6',
24+
address: '2001:db8::1'
25+
}
26+
]
1727
}
1828

1929
it('lists apps', async () => {

src/lib/app.ts

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ export interface AppResponse {
2626
name: string
2727
slug: string
2828
}
29+
ipAddresses: {
30+
type: string
31+
address: string
32+
}[]
2933
}
3034

3135
export interface CreateAppRequest {

0 commit comments

Comments
 (0)