constants

Shared constants for the webapp server and UI behavior.

Keeping these values in one module makes it easier to reuse route-level limits and Generation tab metadata across HTTP handlers and service modules as refactoring continues.

Attributes

DEFAULT_PAGE_LIMIT

MAX_PAGE_LIMIT

GENERATION_NAME_CLASSES

GENERATION_CLASS_PATTERNS

GENERATION_CLASS_KEYS

GENERATION_SYLLABLE_LABELS

Module Contents

constants.DEFAULT_PAGE_LIMIT = 20
constants.MAX_PAGE_LIMIT = 200
constants.GENERATION_NAME_CLASSES: list[tuple[str, str]] = [('first_name', 'First Name'), ('last_name', 'Last Name'), ('place_name', 'Place Name'),...
constants.GENERATION_CLASS_PATTERNS: dict[str, tuple[str, Ellipsis]]
constants.GENERATION_CLASS_KEYS: set[str]
constants.GENERATION_SYLLABLE_LABELS: dict[str, str]