unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
55 lines (54 loc) • 2.01 kB
TypeScript
import { FromSchema } from 'json-schema-to-ts';
export declare const featureMetricsSchema: {
readonly $id: "#/components/schemas/featureMetricsSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["version", "maturity", "data"];
readonly properties: {
readonly version: {
readonly type: "number";
};
readonly maturity: {
readonly type: "string";
};
readonly data: {
readonly type: "array";
readonly items: {
readonly $ref: "#/components/schemas/featureEnvironmentMetricsSchema";
};
};
};
readonly components: {
readonly schemas: {
readonly featureEnvironmentMetricsSchema: {
readonly $id: "#/components/schemas/featureEnvironmentMetricsSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["environment", "timestamp", "yes", "no"];
readonly properties: {
readonly featureName: {
readonly type: "string";
};
readonly appName: {
readonly type: "string";
};
readonly environment: {
readonly type: "string";
};
readonly timestamp: {
readonly type: "string";
readonly format: "date-time";
};
readonly yes: {
readonly type: "number";
};
readonly no: {
readonly type: "number";
};
};
readonly components: {};
};
};
};
};
export declare type FeatureMetricsSchema = FromSchema<typeof featureMetricsSchema>;