mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
* rename frontend to web and update contributing guide * rename this time * fix build * restructure rust code * update documentation * update descriptions * Update CONTRIBUTING.md Co-authored-by: J H <2364004+Blu-J@users.noreply.github.com> --------- Co-authored-by: Aiden McClelland <me@drbonez.dev> Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com> Co-authored-by: J H <2364004+Blu-J@users.noreply.github.com>
78 lines
2.5 KiB
TypeScript
78 lines
2.5 KiB
TypeScript
import {
|
|
TuiDialogModule,
|
|
TuiModeModule,
|
|
TuiRootModule,
|
|
TuiThemeNightModule,
|
|
} from '@taiga-ui/core'
|
|
import { HttpClientModule } from '@angular/common/http'
|
|
import { NgModule } from '@angular/core'
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'
|
|
import { IonicModule } from '@ionic/angular'
|
|
import { MonacoEditorModule } from '@materia-ui/ngx-monaco-editor'
|
|
import {
|
|
DarkThemeModule,
|
|
EnterModule,
|
|
LightThemeModule,
|
|
MarkdownModule,
|
|
ResponsiveColModule,
|
|
SharedPipesModule,
|
|
} from '@start9labs/shared'
|
|
|
|
import { AppComponent } from './app.component'
|
|
import { AppRoutingModule } from './app-routing.module'
|
|
import { OSWelcomePageModule } from './modals/os-welcome/os-welcome.module'
|
|
import { GenericInputComponentModule } from './modals/generic-input/generic-input.component.module'
|
|
import { MarketplaceModule } from './marketplace.module'
|
|
import { PreloaderModule } from './app/preloader/preloader.module'
|
|
import { FooterModule } from './app/footer/footer.module'
|
|
import { MenuModule } from './app/menu/menu.module'
|
|
import { APP_PROVIDERS } from './app.providers'
|
|
import { PatchDbModule } from './services/patch-db/patch-db.module'
|
|
import { ToastContainerModule } from './components/toast-container/toast-container.module'
|
|
import { ConnectionBarComponentModule } from './components/connection-bar/connection-bar.component.module'
|
|
import { WidgetsPageModule } from './pages/widgets/widgets.module'
|
|
import { ServiceWorkerModule } from '@angular/service-worker'
|
|
import { environment } from '../environments/environment'
|
|
|
|
@NgModule({
|
|
declarations: [AppComponent],
|
|
imports: [
|
|
HttpClientModule,
|
|
BrowserAnimationsModule,
|
|
IonicModule.forRoot({
|
|
mode: 'md',
|
|
}),
|
|
AppRoutingModule,
|
|
MenuModule,
|
|
PreloaderModule,
|
|
FooterModule,
|
|
EnterModule,
|
|
OSWelcomePageModule,
|
|
MarkdownModule,
|
|
GenericInputComponentModule,
|
|
MonacoEditorModule,
|
|
SharedPipesModule,
|
|
MarketplaceModule,
|
|
PatchDbModule,
|
|
ToastContainerModule,
|
|
ConnectionBarComponentModule,
|
|
TuiRootModule,
|
|
TuiDialogModule,
|
|
TuiModeModule,
|
|
TuiThemeNightModule,
|
|
WidgetsPageModule,
|
|
ResponsiveColModule,
|
|
DarkThemeModule,
|
|
LightThemeModule,
|
|
ServiceWorkerModule.register('ngsw-worker.js', {
|
|
enabled: environment.useServiceWorker,
|
|
// Register the ServiceWorker as soon as the application is stable
|
|
// or after 30 seconds (whichever comes first).
|
|
registrationStrategy: 'registerWhenStable:30000',
|
|
}),
|
|
],
|
|
providers: APP_PROVIDERS,
|
|
bootstrap: [AppComponent],
|
|
})
|
|
export class AppModule {}
|