const STATUS_POSTFIX = "-status"; export const isStatusId = (rawId: string) => rawId.endsWith(STATUS_POSTFIX); export const getStatusId = (rawId: string) => Number(rawId.replace(STATUS_POSTFIX, ""));