unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
38 lines (37 loc) • 1.14 kB
TypeScript
import { FromSchema } from 'json-schema-to-ts';
export declare const createApiTokenSchema: {
readonly $id: "#/components/schemas/createApiTokenSchema";
readonly type: "object";
readonly required: readonly ["username", "type"];
readonly properties: {
readonly secret: {
readonly type: "string";
};
readonly username: {
readonly type: "string";
};
readonly type: {
readonly type: "string";
readonly description: `One of ${string}`;
};
readonly environment: {
readonly type: "string";
};
readonly project: {
readonly type: "string";
};
readonly projects: {
readonly type: "array";
readonly items: {
readonly type: "string";
};
};
readonly expiresAt: {
readonly type: "string";
readonly format: "date-time";
readonly nullable: true;
};
};
readonly components: {};
};
export declare type CreateApiTokenSchema = FromSchema<typeof createApiTokenSchema>;