import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { StoreModule } from '@ngrx/store';
import { EffectsModule } from '@ngrx/effects';

import { TranslateModule } from '@ngx-translate/core';

import { CcBlockModule } from '@cc/shared/block';

// -- Components --
import { @module.class.name@Component } from './components/sample.component';

const COMPONENTS = [
    @module.class.name@Component,
];

// -- Containers --
import { @module.class.name@ContainerComponent } from './containers/container.component';

const CONTAINERS = [
    @module.class.name@ContainerComponent,
];

// -- Effects --
const EFFECTS = [
];

// -- Feature --
import { feature } from './store/block.feature';

// -- Services --
const SERVICES = [
];

@NgModule({
    imports: [
        CommonModule,
        StoreModule.forFeature(feature),
        EffectsModule.forFeature(EFFECTS),
        TranslateModule,

        CcBlockModule,
    ],
    declarations: [
        ...COMPONENTS,
        ...CONTAINERS,
    ],
    providers: [
        ...SERVICES,
    ],
    exports: [
        @module.class.name@ContainerComponent,
    ],
})
export class MainParticipantModule {
}
