import type { FolderDto } from "./domain/folder/FolderDto.js"; import type { FolderIdentityDto } from "./domain/folder/FolderIdentity.js"; import type { GenericSearchData, Location } from "./types.js"; export type { TableRow, RecordTableRow } from "@webiny/app-admin/components/Table/table.types.js"; import type { TableRow } from "@webiny/app-admin/components/Table/table.types.js"; export interface SearchRecordItem { id: string; type: string; title: string; content: string; location: Location; data: TData; tags: string[]; createdOn: string; createdBy: FolderIdentityDto; savedOn: string; savedBy: FolderIdentityDto; modifiedOn: string | null; modifiedBy: FolderIdentityDto | null; } export type MovableSearchRecordItem = Pick; export type DeletableSearchRecordItem = Pick; export interface FolderTableRow extends TableRow { $type: "FOLDER"; }