diff --git a/src/models/layerMetadata/bestMetadata.ts b/src/models/layerMetadata/bestMetadata.ts index b4937df..9d8a0b6 100644 --- a/src/models/layerMetadata/bestMetadata.ts +++ b/src/models/layerMetadata/bestMetadata.ts @@ -252,6 +252,10 @@ export class BestMetadata implements IBestMetadata, IMetadataCommonModel { @graphql({ nullable: true, }) + @fieldConfig({ + category: FieldCategory.MAIN, + isAutoGenerated: true, + }) //#endregion public ingestionDate: Date | undefined = undefined; diff --git a/src/models/layerMetadata/layer3DMetadata.ts b/src/models/layerMetadata/layer3DMetadata.ts index 0241de2..c01b064 100644 --- a/src/models/layerMetadata/layer3DMetadata.ts +++ b/src/models/layerMetadata/layer3DMetadata.ts @@ -881,6 +881,7 @@ export class Layer3DMetadata implements ILayer3DMetadata, IMetadataCommonModel { }) @fieldConfig({ category: FieldCategory.GENERAL, + isManuallyEditable: true, infoMsgCode: ['info-general-tooltip.required'], lookupTable: 'classification', validation: [ diff --git a/src/models/layerMetadata/layerMetadata.ts b/src/models/layerMetadata/layerMetadata.ts index 894fd7f..ac4889c 100644 --- a/src/models/layerMetadata/layerMetadata.ts +++ b/src/models/layerMetadata/layerMetadata.ts @@ -302,6 +302,10 @@ export class LayerMetadata implements ILayerMetadata, IMetadataCommonModel { @graphql({ nullable: true, }) + @fieldConfig({ + category: FieldCategory.MAIN, + isAutoGenerated: true, + }) //#endregion public ingestionDate: Date | undefined = undefined; diff --git a/src/models/layerMetadata/pycsw3DCatalogRecord.ts b/src/models/layerMetadata/pycsw3DCatalogRecord.ts index 823e6fd..1983cf0 100644 --- a/src/models/layerMetadata/pycsw3DCatalogRecord.ts +++ b/src/models/layerMetadata/pycsw3DCatalogRecord.ts @@ -110,6 +110,12 @@ export class Pycsw3DCatalogRecord extends Layer3DMetadata implements IPycswCoreM public anyText: string | undefined = ''; //#region CORE: insertDate + @pycsw({ + profile: 'mc_3d', + xmlElement: 'mc:insertDate', + queryableField: 'mc:insertDate', + pycswField: 'pycsw:InsertDate', + }) @catalogDB({ columnType: ORMColumnType.CREATE_DATE_COLUMN, column: { diff --git a/src/models/layerMetadata/vectorBestMetadata.ts b/src/models/layerMetadata/vectorBestMetadata.ts index db8f840..9eba45e 100644 --- a/src/models/layerMetadata/vectorBestMetadata.ts +++ b/src/models/layerMetadata/vectorBestMetadata.ts @@ -275,7 +275,7 @@ export class VectorBestMetadata implements IVectorBestMetadata { nullable: true, }) @fieldConfig({ - category: FieldCategory.GENERAL, + category: FieldCategory.MAIN, isAutoGenerated: true, }) //#endregion