Skip to content

Commit

Permalink
fix: integration with 3d (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
EllaMartirosyan authored Jul 28, 2022
1 parent 22c8466 commit 6dfb9ec
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 18 deletions.
10 changes: 6 additions & 4 deletions src/models/layerMetadata/bestMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export class BestMetadata implements IBestMetadata, IMetadataCommonModel {
mappingType: TsTypes.STRING,
})
@graphql({
nullable: true,
nullable: false,
})
//#endregion
public producerName: string | undefined = 'IDFMU';
Expand Down Expand Up @@ -401,7 +401,7 @@ export class BestMetadata implements IBestMetadata, IMetadataCommonModel {
mappingType: TsTypes.STRING_ARRAY,
})
@graphql({
nullable: true,
nullable: false,
})
@fieldConfig({
category: FieldCategory.GENERAL,
Expand Down Expand Up @@ -432,7 +432,7 @@ export class BestMetadata implements IBestMetadata, IMetadataCommonModel {
mappingType: TsTypes.STRING_ARRAY,
})
@graphql({
nullable: true,
nullable: false,
})
@fieldConfig({
category: FieldCategory.GENERAL,
Expand All @@ -457,7 +457,9 @@ export class BestMetadata implements IBestMetadata, IMetadataCommonModel {
@tsTypes({
mappingType: TsTypes.STRING,
})
@graphql()
@graphql({
nullable: true,
})
@fieldConfig({
category: FieldCategory.MAIN,
infoMsgCode: ['info-general-tooltip.required'],
Expand Down
10 changes: 6 additions & 4 deletions src/models/layerMetadata/layerDEMMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export class LayerDemMetadata implements ILayerMetadata, IMetadataCommonModel {
mappingType: TsTypes.STRING,
})
@graphql({
nullable: true,
nullable: false,
})
@fieldConfig({
category: FieldCategory.GENERAL,
Expand Down Expand Up @@ -364,7 +364,7 @@ export class LayerDemMetadata implements ILayerMetadata, IMetadataCommonModel {
mappingType: TsTypes.STRING_ARRAY,
})
@graphql({
nullable: true,
nullable: false,
})
@fieldConfig({
category: FieldCategory.GENERAL,
Expand Down Expand Up @@ -393,7 +393,7 @@ export class LayerDemMetadata implements ILayerMetadata, IMetadataCommonModel {
mappingType: TsTypes.STRING_ARRAY,
})
@graphql({
nullable: true,
nullable: false,
})
@fieldConfig({
category: FieldCategory.GENERAL,
Expand Down Expand Up @@ -425,7 +425,9 @@ export class LayerDemMetadata implements ILayerMetadata, IMetadataCommonModel {
@tsTypes({
mappingType: TsTypes.STRING,
})
@graphql()
@graphql({
nullable: true,
})
@fieldConfig({
category: FieldCategory.MAIN,
infoMsgCode: ['info-field-tooltip.productId.tooltip', 'info-general-tooltip.required'],
Expand Down
10 changes: 6 additions & 4 deletions src/models/layerMetadata/layerMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export class LayerMetadata implements ILayerMetadata, IMetadataCommonModel {
mappingType: TsTypes.STRING,
})
@graphql({
nullable: true,
nullable: false,
})
@fieldConfig({
category: FieldCategory.GENERAL,
Expand Down Expand Up @@ -459,7 +459,7 @@ export class LayerMetadata implements ILayerMetadata, IMetadataCommonModel {
mappingType: TsTypes.STRING_ARRAY,
})
@graphql({
nullable: true,
nullable: false,
})
@fieldConfig({
category: FieldCategory.GENERAL,
Expand Down Expand Up @@ -494,7 +494,7 @@ export class LayerMetadata implements ILayerMetadata, IMetadataCommonModel {
mappingType: TsTypes.STRING_ARRAY,
})
@graphql({
nullable: true,
nullable: false,
})
@fieldConfig({
category: FieldCategory.GENERAL,
Expand Down Expand Up @@ -533,7 +533,9 @@ export class LayerMetadata implements ILayerMetadata, IMetadataCommonModel {
@tsTypes({
mappingType: TsTypes.STRING,
})
@graphql()
@graphql({
nullable: true,
})
@fieldConfig({
category: FieldCategory.MAIN,
infoMsgCode: ['info-field-tooltip.productId.tooltip', 'info-general-tooltip.required'],
Expand Down
10 changes: 6 additions & 4 deletions src/models/layerMetadata/quantizedMeshBestMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ export class QuantizedMeshBestMetadata implements IQuantizedMeshBestMetadata, IM
@tsTypes({
mappingType: TsTypes.STRING,
})
@graphql()
@graphql({
nullable: true,
})
@fieldConfig({
category: FieldCategory.MAIN,
isAutoGenerated: true,
Expand Down Expand Up @@ -483,7 +485,7 @@ export class QuantizedMeshBestMetadata implements IQuantizedMeshBestMetadata, IM
mappingType: TsTypes.STRING_ARRAY,
})
@graphql({
nullable: true,
nullable: false,
})
@fieldConfig({
category: FieldCategory.GENERAL,
Expand Down Expand Up @@ -676,7 +678,7 @@ export class QuantizedMeshBestMetadata implements IQuantizedMeshBestMetadata, IM
mappingType: TsTypes.STRING_ARRAY,
})
@graphql({
nullable: true,
nullable: false,
})
@fieldConfig({
category: FieldCategory.GENERAL,
Expand Down Expand Up @@ -810,7 +812,7 @@ export class QuantizedMeshBestMetadata implements IQuantizedMeshBestMetadata, IM
mappingType: TsTypes.STRING,
})
@graphql({
nullable: true,
nullable: false,
})
@fieldConfig({
category: FieldCategory.GENERAL,
Expand Down
4 changes: 2 additions & 2 deletions src/models/layerMetadata/vectorBestMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export class VectorBestMetadata implements IVectorBestMetadata {
mappingType: TsTypes.STRING,
})
@graphql({
nullable: true,
nullable: false,
})
@fieldConfig({
category: FieldCategory.GENERAL,
Expand Down Expand Up @@ -324,7 +324,7 @@ export class VectorBestMetadata implements IVectorBestMetadata {
mappingType: TsTypes.STRING_ARRAY,
})
@graphql({
nullable: true,
nullable: false,
})
@fieldConfig({
category: FieldCategory.GENERAL,
Expand Down

0 comments on commit 6dfb9ec

Please sign in to comment.