Skip to content

entities

Pure domain entities and enums, independent of any framework or infrastructure.

AuthProvider

Supported SSO authentication providers.

Category

Recipe course categories.

GoogleUserInfo dataclass

GoogleUserInfo(email: str, name: str, google_id: str, picture: str | None = None)

Verified user info returned by Google ID token verification.

RecipeShareEntity dataclass

RecipeShareEntity(
    id: UUID,
    recipe_id: UUID,
    shared_by_user_id: UUID,
    shared_with_user_id: UUID,
    role: ShareRole,
    status: ShareStatus,
    recipe_title: str | None = None,
    shared_by_name: str | None = None,
    shared_with_email: str | None = None,
    shared_with_name: str | None = None,
    created_at: datetime | None = None,
    updated_at: datetime | None = None,
)

Represents a share relationship between a recipe and a user.

Season

Recipe seasonal availability.

ShareRole

Roles for shared recipe access.

ShareStatus

Status of a recipe share invitation.

SourceType

Recipe source origin types.