generated from john/python-template
21 lines
486 B
Python
21 lines
486 B
Python
"""Application-defined semantic registry entries."""
|
|
|
|
from __future__ import annotations
|
|
|
|
BUILT_IN_DOCUMENT_TYPES: tuple[tuple[str, str], ...] = (
|
|
("book", "Book"),
|
|
("letter", "Letter"),
|
|
("postcard", "Postcard"),
|
|
("photo", "Photo"),
|
|
("journal", "Journal"),
|
|
("form", "Form"),
|
|
)
|
|
|
|
BUILT_IN_PERSON_ROLES: tuple[tuple[str, str], ...] = (
|
|
("author", "Author"),
|
|
("recipient", "Recipient"),
|
|
("mentioned", "Mentioned"),
|
|
)
|
|
|
|
AUTHOR_ROLE_SEMANTIC_KEY = "author"
|