/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// import { FSDBEntity } from '@becomes/purple-cheetah-mod-fsdb/types'; import { JWT, JWTRole } from '@becomes/purple-cheetah-mod-jwt/types'; import type { ObjectSchema } from '@becomes/purple-cheetah/types'; import { Schema } from 'mongoose'; import { BCMSUserCustomPool } from './custom-pool'; export interface BCMSUser extends FSDBEntity { username: string; email: string; password: string; roles: JWTRole[]; customPool: BCMSUserCustomPool; } export interface BCMSProtectedUser extends FSDBEntity { username: string; email: string; roles: JWTRole[]; customPool: BCMSUserCustomPool; } export interface JWTProtectionType { accessToken: JWT; } export declare const BCMSUserMongoDBSchema: Schema, {}, {}, {}, {}, "type", { username: string; email: string; password: string; roles: any[]; customPool: { personal: { firstName: string; lastName: string; avatarUri?: string | undefined; }; address: { country?: string | undefined; city?: string | undefined; state?: string | undefined; zip?: string | undefined; street?: any; }; policy: any; }; _id?: string | undefined; createdAt?: number | undefined; updatedAt?: number | undefined; }>; export declare const BCMSUserFSDBSchema: ObjectSchema;