Emily Markova | 7b78640 | 2024-01-24 20:05:24 -0800 | [diff] [blame] | 1 | import {NgModule, isDevMode} from '@angular/core'; |
Philipp Schrader | 175a93c | 2023-02-19 13:13:40 -0800 | [diff] [blame] | 2 | import {BrowserModule} from '@angular/platform-browser'; |
| 3 | import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; |
Emily Markova | 7b78640 | 2024-01-24 20:05:24 -0800 | [diff] [blame] | 4 | import {ServiceWorkerModule} from '@angular/service-worker'; |
Philipp Schrader | 175a93c | 2023-02-19 13:13:40 -0800 | [diff] [blame] | 5 | |
| 6 | import {App} from './app'; |
Philipp Schrader | e5d1394 | 2024-03-17 15:44:35 -0700 | [diff] [blame] | 7 | import {EntryModule} from '@org_frc971/scouting/www/entry'; |
| 8 | import {MatchListModule} from '@org_frc971/scouting/www/match_list'; |
| 9 | import {NotesModule} from '@org_frc971/scouting/www/notes'; |
| 10 | import {ShiftScheduleModule} from '@org_frc971/scouting/www/shift_schedule'; |
| 11 | import {ViewModule} from '@org_frc971/scouting/www/view'; |
| 12 | import {DriverRankingModule} from '@org_frc971/scouting/www/driver_ranking'; |
| 13 | import {PitScoutingModule} from '@org_frc971/scouting/www/pit_scouting'; |
| 14 | import {ScanModule} from '@org_frc971/scouting/www/scan'; |
Philipp Schrader | 175a93c | 2023-02-19 13:13:40 -0800 | [diff] [blame] | 15 | |
| 16 | @NgModule({ |
| 17 | declarations: [App], |
| 18 | imports: [ |
| 19 | BrowserModule, |
| 20 | BrowserAnimationsModule, |
Emily Markova | 7b78640 | 2024-01-24 20:05:24 -0800 | [diff] [blame] | 21 | ServiceWorkerModule.register('./ngsw-worker.js', { |
| 22 | enabled: !isDevMode(), |
| 23 | // Register the ServiceWorker as soon as the application is stable |
| 24 | // or after 30 seconds (whichever comes first). |
| 25 | registrationStrategy: 'registerWhenStable:30000', |
| 26 | }), |
Philipp Schrader | 175a93c | 2023-02-19 13:13:40 -0800 | [diff] [blame] | 27 | EntryModule, |
| 28 | NotesModule, |
Philipp Schrader | 175a93c | 2023-02-19 13:13:40 -0800 | [diff] [blame] | 29 | MatchListModule, |
| 30 | ShiftScheduleModule, |
| 31 | DriverRankingModule, |
| 32 | ViewModule, |
Emily Markova | faecfe1 | 2023-07-01 12:40:03 -0700 | [diff] [blame] | 33 | PitScoutingModule, |
Philipp Schrader | e2e27ff | 2024-02-25 22:08:55 -0800 | [diff] [blame] | 34 | ScanModule, |
Philipp Schrader | 175a93c | 2023-02-19 13:13:40 -0800 | [diff] [blame] | 35 | ], |
| 36 | exports: [App], |
| 37 | bootstrap: [App], |
| 38 | }) |
| 39 | export class AppModule {} |