diff --git a/src/structures/dto/structure.dto.ts b/src/structures/dto/structure.dto.ts index b4e417214280f76147dde7e07c55efc70d2a0100..12cd9f6078251651726e001f405bedeffe733101 100644 --- a/src/structures/dto/structure.dto.ts +++ b/src/structures/dto/structure.dto.ts @@ -39,6 +39,7 @@ export class structureDto { pmrAccess: boolean; publicsAccompaniment: string[]; proceduresAccompaniment: string[]; + remoteAccompaniment: boolean; @ArrayNotEmpty() accessModality: string[]; diff --git a/src/structures/schemas/structure.schema.ts b/src/structures/schemas/structure.schema.ts index fdd977bfc67d6f6ab411d60b1ba36f109a4a5573..8de6014257d72ece380cc9dec9526ad9f3ff1dd2 100644 --- a/src/structures/schemas/structure.schema.ts +++ b/src/structures/schemas/structure.schema.ts @@ -75,6 +75,9 @@ export class Structure { @Prop() proceduresAccompaniment: string[]; + @Prop() + remoteAccompaniment: boolean; + @Prop() baseSkills: string[]; diff --git a/src/structures/services/aptic-structures.service.ts b/src/structures/services/aptic-structures.service.ts index b0013f8fc6a747479ffa30bfa197215c07f73359..766a7513fbdfe2cfeb5c88a2d6d86de0acdebbd4 100644 --- a/src/structures/services/aptic-structures.service.ts +++ b/src/structures/services/aptic-structures.service.ts @@ -75,6 +75,7 @@ export class ApticStructuresService { createdStructure.labelsQualifications = ['passNumerique']; createdStructure.structureType = 'autre'; createdStructure.pmrAccess = false; + createdStructure.remoteAccompaniment = false; createdStructure.accessModality = ['accesLibre']; createdStructure.publics = ['toutPublic']; createdStructure.accountVerified = true;