hf-discussion-search / constants.py
nbroad's picture
nbroad HF staff
big update
1606cd0 verified
raw
history blame
268 Bytes
from enum import Enum
class MeilisearchIndexFields(Enum):
INDEX_NAME = "comments"
ID = "comment_id"
CONTENT = "content"
TITLE = "title"
STATUS = "status"
AUTHOR = "author"
URL = "url"
REPO_ID = "repo_id"
UPDATED_AT = "updatedAt"