UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.

53 lines (52 loc) 2.49 kB
import { FromSchema } from 'json-schema-to-ts'; export declare const requestsPerSecondSchema: { readonly $id: "#/components/schemas/requestsPerSecondSchema"; readonly type: "object"; readonly properties: { readonly status: { readonly type: "string"; }; readonly data: { readonly type: "object"; readonly properties: { readonly resultType: { readonly type: "string"; }; readonly result: { readonly description: "An array of values per metric. Each one represents a line in the graph labeled by its metric name"; readonly type: "array"; readonly items: { readonly type: "object"; readonly properties: { readonly metric: { readonly description: "A key value set representing the metric"; readonly type: "object"; readonly properties: { readonly appName: { readonly type: "string"; }; }; }; readonly values: { readonly description: "An array of arrays. Each element of the array is an array of size 2 consisting of the 2 axis for the graph: in position zero the x axis represented as a number and position one the y axis represented as string"; readonly type: "array"; readonly items: { readonly type: "array"; readonly items: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "number"; }]; }; }; }; }; }; }; }; }; }; readonly components: {}; }; export declare type RequestsPerSecondSchema = FromSchema<typeof requestsPerSecondSchema>;