diff options
Diffstat (limited to 'src/api/AppApi.ts')
-rw-r--r-- | src/api/AppApi.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/api/AppApi.ts b/src/api/AppApi.ts new file mode 100644 index 000000000..6e5e5c806 --- /dev/null +++ b/src/api/AppApi.ts | |||
@@ -0,0 +1,11 @@ | |||
1 | export default class AppApi { | ||
2 | server: any; | ||
3 | |||
4 | constructor(server: any) { | ||
5 | this.server = server; | ||
6 | } | ||
7 | |||
8 | health() { | ||
9 | return this.server.healthCheck(); | ||
10 | } | ||
11 | } | ||