unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
62 lines (61 loc) • 2.29 kB
TypeScript
import { FromSchema } from 'json-schema-to-ts';
export declare const usersSearchSchema: {
readonly $id: "#/components/schemas/usersSearchSchema";
readonly type: "array";
readonly items: {
readonly $ref: "#/components/schemas/userSchema";
};
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: {};
};
};
};
};
export declare type UsersSearchSchema = FromSchema<typeof usersSearchSchema>;