import{ NgxsDataPluginModule }from'@angular-ru/ngxs';import{ NgModule }from'@angular/core';import{ NgxsLoggerPluginModule }from'@ngxs/logger-plugin';import{ NgxsModule }from'@ngxs/store';import{ GlobalConfigState }from'ccf-shared';import{ environment }from'../../../environments/environment';/**
* States shared across the entire app.
*/exportconstROOT_STATES=[GlobalConfigState];@NgModule({
imports:[// For some strange reason the data plugin is not happy being placed after the store module!?
NgxsDataPluginModule.forRoot(),
NgxsModule.forRoot(ROOT_STATES,{
developmentMode:!environment.production,// Consider setting compatibility and executionStrategy// https://www.ngxs.io/advanced/options}),// Logger plugin must be last!
NgxsLoggerPluginModule.forRoot({
disabled: environment.production,}),],})exportclassStoreModule{}