import { ExtensionService , provideExtensionConfig } from '@alfresco/adf-extensions' ; import { NgModule } from '@angular/core' ; import { EffectsModule } from '@ngrx/effects' ; import { AosEffects } from './effects/aos.effects' ; import { TranslationService } from '@alfresco/adf-core' ; import { canOpenWithOffice } from './evaluators' ; @ NgModule ( { imports : [ EffectsModule . forFeature ( [ AosEffects ] ) ] , providers : [ provideExtensionConfig ( [ 'aos.plugin.json' ] ) ] } ) export class AosExtensionModule { constructor ( extensions , translation ) { translation . addTranslationFolder ( 'adf-office-services-ext' , 'assets/adf-office-services-ext' ) ; extensions . setEvaluators ( { 'aos.canOpenWithOffice' : canOpenWithOffice } ) ; } }