Staff Início posts to /campanha/home-search with scoped word-start matches, shared readout component, and simplify hardening (messages, fetch busy, malformed response guard).
5 lines
302 B
TypeScript
5 lines
302 B
TypeScript
/** Exact string — `campaignJsonMutationRoute` `safeMessages` matches throws byte-for-byte. */
|
|
export const HOME_SEARCH_STAFF_ONLY_MESSAGE =
|
|
'Somente a equipe de campanha pode usar a busca do Início.'
|
|
|
|
export const HOME_SEARCH_GENERIC_ERROR_MESSAGE = 'Não foi possível buscar. Tente novamente.'
|