unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
51 lines (50 loc) • 1.42 kB
TypeScript
import { FromSchema } from 'json-schema-to-ts';
export declare const 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: {};
};
export declare type UserSchema = FromSchema<typeof userSchema>;