unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
55 lines (54 loc) • 1.81 kB
TypeScript
import { FromSchema } from 'json-schema-to-ts';
export declare const tokenUserSchema: {
readonly $id: "#/components/schemas/tokenUserSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["id", "name", "email", "token", "createdBy", "role"];
readonly properties: {
readonly id: {
readonly type: "number";
};
readonly name: {
readonly type: "string";
};
readonly email: {
readonly type: "string";
};
readonly token: {
readonly type: "string";
};
readonly createdBy: {
readonly type: "string";
readonly nullable: true;
};
readonly role: {
readonly $ref: "#/components/schemas/roleSchema";
};
};
readonly components: {
readonly schemas: {
readonly roleSchema: {
readonly $id: "#/components/schemas/roleSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["id", "type", "name"];
readonly properties: {
readonly id: {
readonly type: "number";
};
readonly type: {
readonly type: "string";
};
readonly name: {
readonly type: "string";
};
readonly description: {
readonly type: "string";
};
};
readonly components: {};
};
};
};
};
export declare type TokenUserSchema = FromSchema<typeof tokenUserSchema>;