diff --git a/libs/api/metadata-converter/src/lib/gn4/types/search.model.ts b/libs/api/metadata-converter/src/lib/gn4/types/search.model.ts index dc177cd5aa..2fe95b79e3 100644 --- a/libs/api/metadata-converter/src/lib/gn4/types/search.model.ts +++ b/libs/api/metadata-converter/src/lib/gn4/types/search.model.ts @@ -7,15 +7,6 @@ export interface SearchFilters { type SearchFiltersFieldsLeaf = Record -export interface Organisation { - name: string - description?: string - logoUrl?: string - recordCount?: number - email?: string - emails?: string[] -} - export interface MetadataContact { name?: string organisation?: string @@ -26,34 +17,6 @@ export interface MetadataContact { phone?: string } -export interface MetadataRecord { - id: string - uuid: string - title: string - metadataUrl: string - abstract?: string - thumbnailUrl?: string - hasDownloads?: boolean - hasMaps?: boolean - updateStatus?: string - updateFrequency?: string - links?: MetadataLink[] - updatedOn?: Date - createdOn?: Date - dataUpdatedOn?: Date - dataCreatedOn?: Date - lineage?: string - keywords?: string[] - contact?: MetadataContact - resourceContacts?: MetadataContact[] - catalogUuid?: string - constraints?: string[] - favoriteCount?: number - isOpenData?: boolean - ownerInfo?: string - isPublishedToAll?: boolean -} - export enum MetadataLinkType { WMS, WMTS, @@ -64,24 +27,11 @@ export enum MetadataLinkType { OTHER, } -export interface MetadataLink { - url: string - type: MetadataLinkType - // either a file name, a layer name or any other resource identifier - name?: string - protocol?: string - mimeType?: string - description?: string - label?: string -} - export interface RecordMetric { value: string recordCount: number } -export const RESULTS_PAGE_SIZE = 10 - interface HitsObject { max_score?: number total?: { value: number; relation: 'eq' }