mirror of
https://github.com/openziti/zrok.git
synced 2026-09-27 09:45:48 -04:00
roughed in environment sparklines backend (#327)
This commit is contained in:
@@ -8,6 +8,12 @@ export function configuration() {
|
||||
return gateway.request(configurationOperation)
|
||||
}
|
||||
|
||||
/**
|
||||
*/
|
||||
export function getAccountDetail() {
|
||||
return gateway.request(getAccountDetailOperation)
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} envZId
|
||||
* @return {Promise<module:types.environmentShares>} ok
|
||||
@@ -104,6 +110,16 @@ const configurationOperation = {
|
||||
method: 'get'
|
||||
}
|
||||
|
||||
const getAccountDetailOperation = {
|
||||
path: '/detail/account',
|
||||
method: 'get',
|
||||
security: [
|
||||
{
|
||||
id: 'key'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
const getEnvironmentDetailOperation = {
|
||||
path: '/detail/environment/{envZId}',
|
||||
method: 'get',
|
||||
|
||||
+9
-9
@@ -87,7 +87,7 @@
|
||||
* @property {string} host
|
||||
* @property {string} address
|
||||
* @property {string} zId
|
||||
* @property {boolean} active
|
||||
* @property {module:types.sparkData} activity
|
||||
* @property {number} createdAt
|
||||
* @property {number} updatedAt
|
||||
*/
|
||||
@@ -205,14 +205,6 @@
|
||||
* @property {number} updatedAt
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef sparkDataSample
|
||||
* @memberof module:types
|
||||
*
|
||||
* @property {number} rx
|
||||
* @property {number} tx
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef shareRequest
|
||||
* @memberof module:types
|
||||
@@ -235,6 +227,14 @@
|
||||
* @property {string} shrToken
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef sparkDataSample
|
||||
* @memberof module:types
|
||||
*
|
||||
* @property {number} rx
|
||||
* @property {number} tx
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef unaccessRequest
|
||||
* @memberof module:types
|
||||
|
||||
Reference in New Issue
Block a user