unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
64 lines (63 loc) • 2.3 kB
TypeScript
import { FromSchema } from 'json-schema-to-ts';
export declare const featureUsageSchema: {
readonly $id: "#/components/schemas/featureUsageSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["version", "maturity", "featureName", "lastHourUsage", "seenApplications"];
readonly properties: {
readonly version: {
readonly type: "number";
};
readonly maturity: {
readonly type: "string";
};
readonly featureName: {
readonly type: "string";
};
readonly lastHourUsage: {
readonly type: "array";
readonly items: {
readonly $ref: "#/components/schemas/featureEnvironmentMetricsSchema";
};
};
readonly seenApplications: {
readonly type: "array";
readonly items: {
readonly type: "string";
};
};
};
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 FeatureUsageSchema = FromSchema<typeof featureUsageSchema>;