/** Mongo collection name for reported municipal issues. */ export const MUNI_ISSUES_COLLECTION = "muniIssues"; /** Sync state of the issue's Jira ticket at write time. */ export const MUNI_ISSUE_SYNC_STATUSES = ["created", "failed"] as const; /** Max length for the long free-text fields — well above the ~2000-char target. */ export const MUNI_ISSUE_TEXT_MAX_LENGTH = 5000; /** Max length for the short identity fields (a person's name and role). */ export const MUNI_ISSUE_NAME_MAX_LENGTH = 200; /** MongoDB error 48 (NamespaceExists): collection already exists, e.g. concurrent createCollection. */ export const NAMESPACE_EXISTS = 48; /** Reject (not just flag) writes that fail the $jsonSchema validator. */ export const VALIDATION_LEVEL = "strict" as const; export const VALIDATION_ACTION = "error" as const;