unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
89 lines • 4.87 kB
TypeScript
import type { FromSchema } from 'json-schema-to-ts';
export declare const unknownFlagsResponseSchema: {
readonly $id: "#/components/schemas/unknownFlagsResponseSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["unknownFlags"];
readonly description: "A list of unknown flag reports";
readonly properties: {
readonly unknownFlags: {
readonly description: "The list of recently reported unknown flags.";
readonly type: "array";
readonly items: {
readonly $ref: "#/components/schemas/unknownFlagSchema";
};
};
};
readonly components: {
readonly schemas: {
readonly unknownFlagSchema: {
readonly $id: "#/components/schemas/unknownFlagSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["name", "lastSeenAt"];
readonly description: "An unknown flag report";
readonly properties: {
readonly name: {
readonly type: "string";
readonly description: "The name of the unknown flag.";
readonly example: "my-unknown-flag";
};
readonly lastSeenAt: {
readonly type: "string";
readonly format: "date-time";
readonly description: "The date and time when the unknown flag was last reported.";
readonly example: "2023-10-01T12:00:00Z";
};
readonly lastEventAt: {
readonly type: "string";
readonly format: "date-time";
readonly description: "The date and time when the last event for the unknown flag name occurred, if any.";
readonly example: "2023-10-01T12:00:00Z";
readonly nullable: true;
};
readonly reports: {
readonly type: "array";
readonly description: "The list of reports for this unknown flag.";
readonly items: {
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["appName", "environments"];
readonly properties: {
readonly appName: {
readonly type: "string";
readonly description: "The name of the application that reported the unknown flag.";
readonly example: "my-app";
};
readonly environments: {
readonly type: "array";
readonly description: "The list of environments where this application reported the unknown flag.";
readonly items: {
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["environment", "seenAt"];
readonly properties: {
readonly environment: {
readonly type: "string";
readonly description: "The environment in which the unknown flag was reported.";
readonly example: "production";
};
readonly seenAt: {
readonly type: "string";
readonly format: "date-time";
readonly description: "The date and time when the unknown flag was last seen in this environment.";
readonly example: "2023-10-01T12:00:00Z";
};
};
};
};
};
};
};
};
readonly components: {};
};
};
};
};
export type UnknownFlagsResponseSchema = FromSchema<typeof unknownFlagsResponseSchema>;
//# sourceMappingURL=unknown-flags-response-schema.d.ts.map