]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+my-account/my-account.module.ts
Implement two factor in client
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account.module.ts
1 import { QRCodeModule } from 'angularx-qrcode'
2 import { AutoCompleteModule } from 'primeng/autocomplete'
3 import { TableModule } from 'primeng/table'
4 import { DragDropModule } from '@angular/cdk/drag-drop'
5 import { NgModule } from '@angular/core'
6 import { SharedAbuseListModule } from '@app/shared/shared-abuse-list'
7 import { SharedActorImageEditModule } from '@app/shared/shared-actor-image-edit'
8 import { SharedFormModule } from '@app/shared/shared-forms'
9 import { SharedGlobalIconModule } from '@app/shared/shared-icons'
10 import { SharedMainModule } from '@app/shared/shared-main'
11 import { SharedModerationModule } from '@app/shared/shared-moderation'
12 import { SharedShareModal } from '@app/shared/shared-share-modal'
13 import { SharedUserInterfaceSettingsModule } from '@app/shared/shared-user-settings'
14 import { SharedActorImageModule } from '../shared/shared-actor-image/shared-actor-image.module'
15 import { MyAccountAbusesListComponent } from './my-account-abuses/my-account-abuses-list.component'
16 import { MyAccountApplicationsComponent } from './my-account-applications/my-account-applications.component'
17 import { MyAccountBlocklistComponent } from './my-account-blocklist/my-account-blocklist.component'
18 import { MyAccountServerBlocklistComponent } from './my-account-blocklist/my-account-server-blocklist.component'
19 import { MyAccountNotificationsComponent } from './my-account-notifications/my-account-notifications.component'
20 import { MyAccountRoutingModule } from './my-account-routing.module'
21 import { MyAccountChangeEmailComponent } from './my-account-settings/my-account-change-email'
22 import { MyAccountChangePasswordComponent } from './my-account-settings/my-account-change-password/my-account-change-password.component'
23 import { MyAccountDangerZoneComponent } from './my-account-settings/my-account-danger-zone'
24 import { MyAccountNotificationPreferencesComponent } from './my-account-settings/my-account-notification-preferences'
25 import { MyAccountProfileComponent } from './my-account-settings/my-account-profile/my-account-profile.component'
26 import { MyAccountSettingsComponent } from './my-account-settings/my-account-settings.component'
27 import {
28 MyAccountTwoFactorButtonComponent,
29 MyAccountTwoFactorComponent,
30 TwoFactorService
31 } from './my-account-settings/my-account-two-factor'
32 import { MyAccountComponent } from './my-account.component'
33
34 @NgModule({
35 imports: [
36 MyAccountRoutingModule,
37
38 QRCodeModule,
39 AutoCompleteModule,
40 TableModule,
41 DragDropModule,
42
43 SharedMainModule,
44 SharedFormModule,
45 SharedModerationModule,
46 SharedUserInterfaceSettingsModule,
47 SharedGlobalIconModule,
48 SharedAbuseListModule,
49 SharedShareModal,
50 SharedActorImageModule,
51 SharedActorImageEditModule
52 ],
53
54 declarations: [
55 MyAccountComponent,
56 MyAccountSettingsComponent,
57 MyAccountChangePasswordComponent,
58 MyAccountProfileComponent,
59 MyAccountChangeEmailComponent,
60 MyAccountApplicationsComponent,
61
62 MyAccountTwoFactorButtonComponent,
63 MyAccountTwoFactorComponent,
64
65 MyAccountDangerZoneComponent,
66 MyAccountBlocklistComponent,
67 MyAccountAbusesListComponent,
68 MyAccountServerBlocklistComponent,
69 MyAccountNotificationsComponent,
70 MyAccountNotificationPreferencesComponent
71 ],
72
73 exports: [
74 MyAccountComponent
75 ],
76
77 providers: [
78 TwoFactorService
79 ]
80 })
81 export class MyAccountModule {
82 }