import type { DbApiOptions } from '@/db/api/types';

export interface SessionOptions extends DbApiOptions {
  familyId?: string;
  previousTokenId?: string | null;
}

/** Shapes of the `GET /me` profile response, built by the auth service mappers. */
export interface RoleDto {
  id: string | null;
  name: string | null;
  scope: string | null;
  globalAccess: boolean;
}

export interface OrganizationDto {
  id: string;
  name: string | null;
  logo?: string | null;
}

export interface CampusDto {
  id: string;
  name: string | null;
  code: string | null;
  logo?: string | null;
}
