Skip to content

Commit

Permalink
feat!: Update raster CSW record to new design (MAPCO-4265, MAPCO-4232) (
Browse files Browse the repository at this point in the history
#186)

* feat!: updated layer fields

* fix: validations amd more

* feat: update full schema

* fix: some changes

* feat: rename and sync fields

* feat: update yaml

* fix: yaml

* fix: pr changes

* feat: validations from mc utils and consts

* fix: pr changes

* fix: lint

* fix: update fields and values
  • Loading branch information
RonitKissis authored May 20, 2024
1 parent 226d2a7 commit ac98adb
Show file tree
Hide file tree
Showing 9 changed files with 225 additions and 118 deletions.
3 changes: 3 additions & 0 deletions src/models/layerMetadata/bestMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ export interface IBestMetadata {
rms: number | undefined;
scale: number | undefined;
discretes: DiscreteOrder[] | undefined;
sourceDateStart: Date | undefined;
sourceDateEnd: Date | undefined;
updateDate: Date | undefined;
}

export interface IPropPYCSWMapping extends IPYCSWMapping {
Expand Down
3 changes: 0 additions & 3 deletions src/models/layerMetadata/interfaces/metadataCommonModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ export interface IMetadataCommonModel {
description: string | undefined;
srsName: string | undefined;
producerName: string | undefined;
updateDate: Date | undefined;
sourceDateStart: Date | undefined;
sourceDateEnd: Date | undefined;
sensors: string[] | undefined;
region: string[] | undefined;
footprint: GeoJSON | undefined;
Expand Down
3 changes: 3 additions & 0 deletions src/models/layerMetadata/layer3DMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ export interface ILayer3DMetadata {
productBoundingBox: string | undefined;
productSource: string | undefined;
productStatus: RecordStatus | undefined;
sourceDateStart: Date | undefined;
sourceDateEnd: Date | undefined;
updateDate: Date | undefined;
}

export interface IPropPYCSWMapping extends IPYCSWMapping {
Expand Down
3 changes: 3 additions & 0 deletions src/models/layerMetadata/layerDEMMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ export interface ILayerMetadata {
imagingSortieAccuracyCEP90: number | undefined;
productStatus: RecordStatus | undefined;
hasTerrain: boolean | undefined;
sourceDateStart: Date | undefined;
sourceDateEnd: Date | undefined;
updateDate: Date | undefined;
}

export interface IPropPYCSWMapping extends IPYCSWMapping {
Expand Down
Loading

0 comments on commit ac98adb

Please sign in to comment.