unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
71 lines (70 loc) • 2.71 kB
TypeScript
import { FromSchema } from 'json-schema-to-ts';
export declare const apiTokensSchema: {
readonly $id: "#/components/schemas/apiTokensSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["tokens"];
readonly properties: {
readonly tokens: {
readonly type: "array";
readonly items: {
readonly $ref: "#/components/schemas/apiTokenSchema";
};
};
};
readonly components: {
readonly schemas: {
readonly apiTokenSchema: {
readonly $id: "#/components/schemas/apiTokenSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["username", "type"];
readonly properties: {
readonly secret: {
readonly type: "string";
};
readonly username: {
readonly type: "string";
};
readonly type: {
readonly type: "string";
readonly enum: import("../../types/models/api-token").ApiTokenType[];
};
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 createdAt: {
readonly type: "string";
readonly format: "date-time";
readonly nullable: true;
};
readonly seenAt: {
readonly type: "string";
readonly format: "date-time";
readonly nullable: true;
};
readonly alias: {
readonly type: "string";
readonly nullable: true;
};
};
readonly components: {};
};
};
};
};
export declare type ApiTokensSchema = FromSchema<typeof apiTokensSchema>;