@youri-kane/heroku-client
Advanced tools
Comparing version
@@ -15,3 +15,3 @@ import * as apps from './apps'; | ||
end_time: string; | ||
step: "1m" | "10m" | "60m" | "120m"; | ||
step: import("..").DataStepInMinutes; | ||
}; | ||
@@ -27,3 +27,3 @@ }) => Promise<import("./types").CustomResponse<import("..").Metrics<import("..").LoadData>>>; | ||
end_time: string; | ||
step: "1m" | "10m" | "60m" | "120m"; | ||
step: import("..").DataStepInMinutes; | ||
}; | ||
@@ -39,3 +39,3 @@ }) => Promise<import("./types").CustomResponse<import("..").Metrics<import("..").MemoryData>>>; | ||
end_time: string; | ||
step: "1m" | "10m" | "60m" | "120m"; | ||
step: import("..").DataStepInMinutes; | ||
}; | ||
@@ -51,3 +51,3 @@ }) => Promise<import("./types").CustomResponse<import("..").Metrics<import("..").DynoErrors>>>; | ||
end_time: string; | ||
step: "1m" | "10m" | "60m" | "120m"; | ||
step: import("..").DataStepInMinutes; | ||
}; | ||
@@ -63,3 +63,3 @@ }) => Promise<import("./types").CustomResponse<import("..").Metrics<import("..").LatencyData>>>; | ||
end_time: string; | ||
step: "1m" | "10m" | "60m" | "120m"; | ||
step: import("..").DataStepInMinutes; | ||
}; | ||
@@ -75,3 +75,3 @@ }) => Promise<import("./types").CustomResponse<import("..").Metrics<import("..").StatusData>>>; | ||
end_time: string; | ||
step: "1m" | "10m" | "60m" | "120m"; | ||
step: import("..").DataStepInMinutes; | ||
}; | ||
@@ -78,0 +78,0 @@ }) => Promise<import("./types").CustomResponse<import("..").Metrics<import("..").RouterErrors>>>; |
import { Request } from '../../types'; | ||
import { Metrics } from '../types'; | ||
import { DataStepInMinutes, Metrics } from '../types'; | ||
export declare const getDynoErrors: (config: Parameters<Request>[0]) => (params: import("../../types").RequestParams & { | ||
@@ -12,4 +12,4 @@ params: { | ||
end_time: string; | ||
step: '1m' | '10m' | '60m' | '120m'; | ||
step: DataStepInMinutes; | ||
}; | ||
}) => Promise<import("../../types").CustomResponse<Metrics<import("../types").DynoErrors>>>; |
import { Request } from '../../types'; | ||
import { Metrics } from '../types'; | ||
import { DataStepInMinutes, Metrics } from '../types'; | ||
export declare const getDynoLoad: (config: Parameters<Request>[0]) => (params: import("../../types").RequestParams & { | ||
@@ -12,4 +12,4 @@ params: { | ||
end_time: string; | ||
step: '1m' | '10m' | '60m' | '120m'; | ||
step: DataStepInMinutes; | ||
}; | ||
}) => Promise<import("../../types").CustomResponse<Metrics<import("../types").LoadData>>>; |
import { Request } from '../../types'; | ||
import { Metrics } from '../types'; | ||
import { DataStepInMinutes, Metrics } from '../types'; | ||
export declare const getDynoMemoryUsage: (config: Parameters<Request>[0]) => (params: import("../../types").RequestParams & { | ||
@@ -12,4 +12,4 @@ params: { | ||
end_time: string; | ||
step: '1m' | '10m' | '60m' | '120m'; | ||
step: DataStepInMinutes; | ||
}; | ||
}) => Promise<import("../../types").CustomResponse<Metrics<import("../types").MemoryData>>>; |
import { Request } from '../../types'; | ||
import { Metrics } from '../types'; | ||
import { DataStepInMinutes, Metrics } from '../types'; | ||
export declare const getRouterErrors: (config: Parameters<Request>[0]) => (params: import("../../types").RequestParams & { | ||
@@ -12,4 +12,4 @@ params: { | ||
end_time: string; | ||
step: '1m' | '10m' | '60m' | '120m'; | ||
step: DataStepInMinutes; | ||
}; | ||
}) => Promise<import("../../types").CustomResponse<Metrics<import("../types").RouterErrors>>>; |
import { Request } from '../../types'; | ||
import { Metrics } from '../types'; | ||
import { Metrics, DataStepInMinutes } from '../types'; | ||
export declare const getRouterLatency: (config: Parameters<Request>[0]) => (params: import("../../types").RequestParams & { | ||
@@ -12,4 +12,4 @@ params: { | ||
end_time: string; | ||
step: '1m' | '10m' | '60m' | '120m'; | ||
step: DataStepInMinutes; | ||
}; | ||
}) => Promise<import("../../types").CustomResponse<Metrics<import("../types").LatencyData>>>; |
import { Request } from '../../types'; | ||
import { Metrics } from '../types'; | ||
import { DataStepInMinutes, Metrics } from '../types'; | ||
export declare const getRouterStatus: (config: Parameters<Request>[0]) => (params: import("../../types").RequestParams & { | ||
@@ -12,4 +12,4 @@ params: { | ||
end_time: string; | ||
step: '1m' | '10m' | '60m' | '120m'; | ||
step: DataStepInMinutes; | ||
}; | ||
}) => Promise<import("../../types").CustomResponse<Metrics<import("../types").StatusData>>>; |
@@ -0,1 +1,7 @@ | ||
export declare enum DataStepInMinutes { | ||
$1M = "1m", | ||
$10M = "10m", | ||
$60M = "60m", | ||
$120M = "120m" | ||
} | ||
export declare type DataArray = number[]; | ||
@@ -2,0 +8,0 @@ export declare type NullableDataArray = (number | null)[]; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DynoMetricsTypes = exports.RouterMetricsTypes = void 0; | ||
exports.DynoMetricsTypes = exports.RouterMetricsTypes = exports.DataStepInMinutes = void 0; | ||
var DataStepInMinutes; | ||
(function (DataStepInMinutes) { | ||
DataStepInMinutes["$1M"] = "1m"; | ||
DataStepInMinutes["$10M"] = "10m"; | ||
DataStepInMinutes["$60M"] = "60m"; | ||
DataStepInMinutes["$120M"] = "120m"; | ||
})(DataStepInMinutes = exports.DataStepInMinutes || (exports.DataStepInMinutes = {})); | ||
var RouterMetricsTypes; | ||
@@ -5,0 +12,0 @@ (function (RouterMetricsTypes) { |
{ | ||
"name": "@youri-kane/heroku-client", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "heroku developer api client with typescript support", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
99183
0.49%1760
0.74%