Skip to content

Commit

Permalink
chore: add missing languages prop
Browse files Browse the repository at this point in the history
  • Loading branch information
jahow committed Mar 22, 2024
1 parent 4434d8e commit c74d46e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,5 @@ As such, **it is not very interesting at all.**`,
updatedTimes: 3,
per: 'month',
},
languages: [],
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,5 @@ Ce lot de données produit en 2019, a été numérisé à partir du PCI Vecteur
temporalExtents: [],
status: 'completed',
updateFrequency: 'unknown',
languages: [],
}
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ Die Quelle ist zu bezeichnen: „Quelle: Stadt Zürich“.`,
temporalExtents: [],
status: 'completed',
updateFrequency: 'asNeeded',
languages: [],
}

export const GEOCAT_CH_SERVICE_RECORD: ServiceRecord = {
Expand Down Expand Up @@ -422,4 +423,5 @@ export const GEOCAT_CH_SERVICE_RECORD: ServiceRecord = {
legalConstraints: [],
securityConstraints: [],
otherConstraints: [],
languages: [],
}
2 changes: 2 additions & 0 deletions libs/api/metadata-converter/src/lib/iso19139/converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export function toModel(xml: string): CatalogRecord {
return {
uniqueIdentifier,
kind,
languages: [],
recordCreated,
recordUpdated,
recordPublished,
Expand Down Expand Up @@ -128,6 +129,7 @@ export function toModel(xml: string): CatalogRecord {
return {
uniqueIdentifier,
kind,
languages: [],
recordCreated,
recordUpdated,
recordPublished,
Expand Down
1 change: 1 addition & 0 deletions libs/common/fixtures/src/lib/records.fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ As such, **it is not very interesting at all.**`,
updatedTimes: 3,
per: 'month',
},
languages: ['en'],
},
{
uniqueIdentifier: '7d002c4c-92ef-4b9f-a568-d732f740b99e',
Expand Down

0 comments on commit c74d46e

Please sign in to comment.