hunk.code_window: from typing import Optional
   from uuid import UUID
   import resend
   from logger import get_logger
   from models.settings import CommonsDep, common_dependencies
   from pydantic import BaseModel
   logger = get_logger(__name__)
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit: from models.settings import BrainSettings, CommonsDep, common_dependencies
  
hunk.file_path: backend/core/models/brains_subscription_invitations.py
hunk.type: replace
file: import { BrainRoleAssignation } from "../../../types";
  
  export const generateBrainAssignation = (): BrainRoleAssignation => {
    return {
      email: "",
      rights: "viewer",
      id: Math.random().toString(),
    };
  };
  