UNPKG

unleash-server

Version:

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

69 lines (68 loc) 3.6 kB
import { FromSchema } from 'json-schema-to-ts'; export declare const requestsPerSecondSegmentedSchema: { readonly $id: "#/components/schemas/requestsPerSecondSegmentedSchema"; readonly type: "object"; readonly properties: { readonly clientMetrics: { readonly $ref: "#/components/schemas/requestsPerSecondSchema"; }; readonly adminMetrics: { readonly $ref: "#/components/schemas/requestsPerSecondSchema"; }; }; readonly components: { readonly schemas: { readonly 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 RequestsPerSecondSegmentedSchema = FromSchema<typeof requestsPerSecondSegmentedSchema>;