unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
96 lines (95 loc) • 3.48 kB
TypeScript
import { FromSchema } from 'json-schema-to-ts';
export declare const usersSchema: {
readonly $id: "#/components/schemas/usersSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["users"];
readonly properties: {
readonly users: {
readonly type: "array";
readonly items: {
readonly $ref: "#/components/schemas/userSchema";
};
};
readonly rootRoles: {
readonly type: "array";
readonly items: {
readonly $ref: "#/components/schemas/roleSchema";
};
};
};
readonly components: {
readonly schemas: {
readonly userSchema: {
readonly $id: "#/components/schemas/userSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["id"];
readonly properties: {
readonly id: {
readonly type: "number";
};
readonly isAPI: {
readonly type: "boolean";
};
readonly name: {
readonly type: "string";
};
readonly email: {
readonly type: "string";
};
readonly username: {
readonly type: "string";
};
readonly imageUrl: {
readonly type: "string";
};
readonly inviteLink: {
readonly type: "string";
};
readonly loginAttempts: {
readonly type: "number";
};
readonly emailSent: {
readonly type: "boolean";
};
readonly rootRole: {
readonly type: "number";
};
readonly seenAt: {
readonly type: "string";
readonly format: "date-time";
readonly nullable: true;
};
readonly createdAt: {
readonly type: "string";
readonly format: "date-time";
};
};
readonly components: {};
};
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 UsersSchema = FromSchema<typeof usersSchema>;