import { CmsIdentity, FolderItem, GenericSearchData, Location } from "./types"; export interface SearchRecordItem { id: string; type: string; title: string; content: string; location: Location; data: TData; tags: string[]; createdOn: string; createdBy: CmsIdentity; savedOn: string; savedBy: CmsIdentity; modifiedOn: string | null; modifiedBy: CmsIdentity | null; } export type MovableSearchRecordItem = Pick; export type DeletableSearchRecordItem = Pick; export interface BaseTableItem { $selectable: boolean; $type: string; } export interface FolderTableItem extends BaseTableItem, FolderItem { $type: "FOLDER"; } export interface RecordTableItem extends BaseTableItem { $type: "RECORD"; }