unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
69 lines • 3.37 kB
TypeScript
import type { FromSchema } from 'json-schema-to-ts';
export declare const 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 UnknownFlagSchema = FromSchema<typeof unknownFlagSchema>;
//# sourceMappingURL=unknown-flag-schema.d.ts.map