mirror of https://github.com/logos-co/open-law.git
23 lines
418 B
Python
23 lines
418 B
Python
import enum
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class BreadCrumbType(enum.StrEnum):
|
|
"""Bread Crumb Type"""
|
|
|
|
MyBookList = "MyBookList"
|
|
AuthorBookList = "AuthorBookList"
|
|
Collection = "Collection"
|
|
Section = "Section"
|
|
Interpretation = "Interpretation"
|
|
Splitter = "Splitter"
|
|
|
|
|
|
class BreadCrumb(BaseModel):
|
|
"""Bread Crumb for navigation"""
|
|
|
|
label: str
|
|
url: str
|
|
type: BreadCrumbType
|