Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
496 B
TypeScript
28 lines
496 B
TypeScript
export const SEARCH_ENTITY_TYPES = [
|
|
"employee",
|
|
"agent",
|
|
"task",
|
|
"goal",
|
|
"project",
|
|
"workspace",
|
|
"approval",
|
|
"chat_space",
|
|
"chat_message",
|
|
"file",
|
|
"provider",
|
|
"social_account",
|
|
"scheduled_post",
|
|
"document",
|
|
"knowledge",
|
|
] as const;
|
|
|
|
export type SearchEntityType = (typeof SEARCH_ENTITY_TYPES)[number];
|
|
|
|
export interface SearchResultRecord {
|
|
entityType: SearchEntityType;
|
|
entityId: string;
|
|
title: string;
|
|
preview: string;
|
|
facets: Record<string, string>;
|
|
}
|