From 82ae90b922539edc1c981571b0618458fb7b62a0 Mon Sep 17 00:00:00 2001 From: Netanel Cohen Date: Tue, 14 Jun 2022 14:28:12 +0300 Subject: [PATCH] fix: graphql --- src/models/layerMetadata/layer3DMetadata.ts | 24 ++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/models/layerMetadata/layer3DMetadata.ts b/src/models/layerMetadata/layer3DMetadata.ts index 937a99c..d6f4211 100644 --- a/src/models/layerMetadata/layer3DMetadata.ts +++ b/src/models/layerMetadata/layer3DMetadata.ts @@ -102,7 +102,7 @@ export class Layer3DMetadata implements ILayer3DMetadata, IMetadataCommonModel { column: { name: 'product_name', type: 'text', - nullable: true, + nullable: false, }, }) @tsTypes({ @@ -161,7 +161,7 @@ export class Layer3DMetadata implements ILayer3DMetadata, IMetadataCommonModel { column: { name: 'product_type', type: 'text', - nullable: true, + nullable: false, }, }) @tsTypes({ @@ -457,7 +457,7 @@ export class Layer3DMetadata implements ILayer3DMetadata, IMetadataCommonModel { mappingType: TsTypes.NUMBER, }) @graphql({ - nullable: true, + nullable: false, }) @fieldConfig({ category: FieldCategory.GEO_INFO, @@ -663,7 +663,7 @@ export class Layer3DMetadata implements ILayer3DMetadata, IMetadataCommonModel { mappingType: TsTypes.STRING_ARRAY, }) @graphql({ - nullable: true, + nullable: false, }) @fieldConfig({ category: FieldCategory.GENERAL, @@ -872,7 +872,7 @@ export class Layer3DMetadata implements ILayer3DMetadata, IMetadataCommonModel { column: { name: 'region', type: 'text', - nullable: true, + nullable: false, }, field: { overrideType: TsTypes.STRING, @@ -882,7 +882,7 @@ export class Layer3DMetadata implements ILayer3DMetadata, IMetadataCommonModel { mappingType: TsTypes.STRING_ARRAY, }) @graphql({ - nullable: true, + nullable: false, }) @fieldConfig({ category: FieldCategory.GENERAL, @@ -942,14 +942,14 @@ export class Layer3DMetadata implements ILayer3DMetadata, IMetadataCommonModel { column: { name: 'production_system', type: 'text', - nullable: true, + nullable: false, }, }) @tsTypes({ mappingType: TsTypes.STRING, }) @graphql({ - nullable: true, + nullable: false, }) @fieldConfig({ category: FieldCategory.GENERAL, @@ -975,14 +975,14 @@ export class Layer3DMetadata implements ILayer3DMetadata, IMetadataCommonModel { column: { name: 'production_system_version', type: 'text', - nullable: true, + nullable: false, }, }) @tsTypes({ mappingType: TsTypes.STRING, }) @graphql({ - nullable: true, + nullable: false, }) @fieldConfig({ category: FieldCategory.GENERAL, @@ -1009,14 +1009,14 @@ export class Layer3DMetadata implements ILayer3DMetadata, IMetadataCommonModel { name: 'producer_name', type: 'text', default: 'IDFMU', - nullable: true, + nullable: false, }, }) @tsTypes({ mappingType: TsTypes.STRING, }) @graphql({ - nullable: true, + nullable: false, }) @fieldConfig({ category: FieldCategory.GENERAL,