"""Base class and shared constants for SQLAlchemy ORM models."""

from __future__ import annotations

from typing import ClassVar

from sqlalchemy import MetaData
from sqlalchemy.orm import DeclarativeBase

# Vector dimension for embeddings (OpenAI compatible)
EMBEDDING_DIM = 1536

# Default workspace/user UUID for single-user mode
DEFAULT_WORKSPACE_ID = "00000000-0000-0000-0000-000000000001"
DEFAULT_USER_ID = "00000000-0000-0000-0000-000000000001"


class Base(DeclarativeBase):
    """Base class for all ORM models."""

    metadata: ClassVar[MetaData]
