import{Schema as e}from"mongoose";const t=new e({activeOrganizationId:{type:e.Types.ObjectId,ref:`Organization`,required:!1},activeProjectId:{type:e.Types.ObjectId,ref:`Project`,required:!1}},{timestamps:!0,toJSON:{virtuals:!0,versionKey:!1,transform(e,t){let{_id:n,...r}=t;return{...r,id:n.toString()}}},toObject:{virtuals:!0,transform(e,t){let{_id:n,...r}=t;return{...r,id:n}}}});export{t as sessionSchema};
//# sourceMappingURL=session.schema.mjs.map