export const INDEXING_ACTIVE = ['pending', 'running'] as const
export type IndexingStatus = (typeof INDEXING_ACTIVE)[number] | 'success' | 'failure' | string

export function isIndexing(status?: string) {
  return status ? INDEXING_ACTIVE.includes(status as any) : false
}
