Orion, Orion Unit, Configuration (#40)

* Refactoring

* Better docs

* Bump

* ESLint standard

* Fix

* Bumo

* VerboseOrionUnitConfig to types

* Docs improvements

* Docs improvements. Orion default env
This commit is contained in:
Aleksandr Kraiz
2023-02-08 14:51:58 +04:00
committed by GitHub
parent bf33fbe4f0
commit b2f3cdf5fb
31 changed files with 4386 additions and 2816 deletions

View File

@@ -10,8 +10,12 @@ export default class OrionAnalytics {
this.getOverview = this.getOverview.bind(this);
}
get api() {
return this.apiUrl;
}
getOverview = () => fetchWithValidation(
`${this.apiUrl}/api/stats/overview`,
`${this.apiUrl}/overview`,
overviewSchema,
);
}