import { Partner, Role } from "./etc.js"; import { PublicId } from "../vertices/properties/index.js"; import { Company } from "./companies.js"; //#region src/core/interfaces/other/users.d.ts declare namespace User { export type core = { readonly id: PublicId; username: string; role: Role; associatedPartner?: Partner | null; }; type optionals = { createdAt?: string; verifyToken?: string; company?: { id: string; name: string; }; }; export type serialized = core & optionals & {}; export type shallow = core & optionals & {}; export type populated = core & optionals & {}; export {}; } interface User { id?: PublicId; username?: string; role: Role; timestamps?: string[]; company?: Pick; } //#endregion export { User }; //# sourceMappingURL=users.d.ts.map