52 lines
1.2 KiB
TypeScript
52 lines
1.2 KiB
TypeScript
import { NgModule } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
|
|
// * modals
|
|
import { SeenModalComponent } from './components/modals/seen-modal/seen-modal.component';
|
|
import { ConfirmModalComponent } from './components/modals/confirm-modal/confirm-modal.component';
|
|
|
|
// * pipes
|
|
import { DateFormatPipe } from './pipes/date-format/date-format.pipe';
|
|
|
|
// * other
|
|
import { RatingModule } from 'ngx-bootstrap/rating';
|
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
import { CollectionEditModalComponent } from '../features/collections/user-collection-info/collection-edit-modal/collection-edit-modal.component';
|
|
import { FloatFormatPipe } from './pipes/float-format/float-format.pipe';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule,
|
|
|
|
FormsModule,
|
|
ReactiveFormsModule,
|
|
|
|
RatingModule.forRoot(),
|
|
],
|
|
declarations: [
|
|
// * pipes
|
|
DateFormatPipe,
|
|
FloatFormatPipe,
|
|
|
|
// ? components
|
|
SeenModalComponent,
|
|
CollectionEditModalComponent,
|
|
ConfirmModalComponent,
|
|
|
|
],
|
|
exports: [
|
|
// * pipes
|
|
DateFormatPipe,
|
|
FloatFormatPipe,
|
|
|
|
FormsModule,
|
|
ReactiveFormsModule,
|
|
|
|
SeenModalComponent,
|
|
ConfirmModalComponent,
|
|
RatingModule,
|
|
],
|
|
})
|
|
export class SharedModule {}
|