UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.

312 lines (311 loc) • 14.6 kB
import { FromSchema } from 'json-schema-to-ts'; export declare const usersGroupsBaseSchema: { readonly $id: "#/components/schemas/usersGroupsBaseSchema"; readonly type: "object"; readonly additionalProperties: false; readonly properties: { readonly groups: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/groupSchema"; }; }; readonly users: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/userSchema"; }; }; }; readonly components: { readonly schemas: { readonly groupSchema: { readonly $id: "#/components/schemas/groupSchema"; readonly type: "object"; readonly additionalProperties: true; readonly required: readonly ["name"]; readonly properties: { readonly id: { readonly type: "number"; }; readonly name: { readonly type: "string"; }; readonly description: { readonly type: "string"; }; readonly mappingsSSO: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly createdBy: { readonly type: "string"; readonly nullable: true; }; readonly createdAt: { readonly type: "string"; readonly format: "date-time"; readonly nullable: true; }; readonly users: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/groupUserModelSchema"; }; }; readonly projects: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; }; readonly components: { readonly schemas: { readonly groupUserModelSchema: { readonly $id: "#/components/schemas/groupUserModelSchema"; readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["user"]; readonly properties: { readonly joinedAt: { readonly type: "string"; readonly format: "date-time"; }; readonly createdBy: { readonly type: "string"; readonly nullable: true; }; readonly user: { 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: {}; }; }; }; }; 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 groupUserModelSchema: { readonly $id: "#/components/schemas/groupUserModelSchema"; readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["user"]; readonly properties: { readonly joinedAt: { readonly type: "string"; readonly format: "date-time"; }; readonly createdBy: { readonly type: "string"; readonly nullable: true; }; readonly user: { 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: {}; }; }; }; }; 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 UsersGroupsBaseSchema = FromSchema<typeof usersGroupsBaseSchema>;