Skip to content

Commit c11d581

Browse files
authored
Import cleanup (#50)
* remove AgGridModule import * conflicts * merge imports * all material imports' * button toggle' * api service import cleanup * lint
1 parent ef1308a commit c11d581

File tree

199 files changed

+734
-1624
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+734
-1624
lines changed

src/@seed/api/analysis/analysis.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { HttpClient } from '@angular/common/http'
33
import { inject, Injectable } from '@angular/core'
44
import type { Observable, Subscription } from 'rxjs'
55
import { BehaviorSubject, catchError, interval, map, Subject, takeUntil, takeWhile, tap, withLatestFrom } from 'rxjs'
6-
import { OrganizationService } from '@seed/api/organization'
6+
import { OrganizationService } from '@seed/api'
77
import { ErrorService } from '@seed/services'
88
import { SnackBarService } from 'app/core/snack-bar/snack-bar.service'
99
import { UserService } from '../user'

src/@seed/api/column_mapping_profile/column_mapping_profile.service.ts renamed to src/@seed/api/column-mapping-profile/column-mapping-profile.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import type {
1414
ColumnMappingProfileType,
1515
ColumnMappingProfileUpdateResponse,
1616
ColumnMappingSuggestionResponse,
17-
} from './column_mapping_profile.types'
17+
} from './column-mapping-profile.types'
1818

1919
@Injectable({ providedIn: 'root' })
2020
export class ColumnMappingProfileService {

src/@seed/api/column_mapping_profile/column_mapping_profile.types.ts renamed to src/@seed/api/column-mapping-profile/column-mapping-profile.types.ts

File renamed without changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * from './column-mapping-profile.service'
2+
export * from './column-mapping-profile.types'

src/@seed/api/column/column.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { HttpClient } from '@angular/common/http'
33
import { inject, Injectable } from '@angular/core'
44
import type { Observable } from 'rxjs'
55
import { catchError, map, ReplaySubject } from 'rxjs'
6-
import type { ProgressResponse } from '@seed/api/progress'
6+
import type { ProgressResponse } from '@seed/api'
77
import { ErrorService } from '@seed/services/error/error.service'
88
import { UserService } from '../user'
99
import type { Column, ColumnsResponse } from './column.types'

src/@seed/api/column_mapping_profile/index.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/@seed/api/data-quality/data-quality.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { HttpClient, type HttpErrorResponse } from '@angular/common/http'
22
import { inject, Injectable } from '@angular/core'
33
import { catchError, map, type Observable, ReplaySubject, switchMap, tap } from 'rxjs'
4-
import { OrganizationService } from '@seed/api/organization'
4+
import { OrganizationService } from '@seed/api'
55
import { ErrorService } from '@seed/services'
66
import { SnackBarService } from 'app/core/snack-bar/snack-bar.service'
77
import type { DQCProgressResponse } from '../progress'

src/@seed/api/index.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
export * from './analysis'
2+
export * from './audit-template'
3+
export * from './column'
4+
export * from './column-mapping-profile'
5+
export * from './config'
6+
export * from './cycle'
7+
export * from './data-quality'
8+
export * from './dataset'
9+
export * from './derived-column'
10+
export * from './groups'
11+
export * from './inventory'
12+
export * from './label'
13+
export * from './mapping'
14+
export * from './meters'
15+
export * from './notes'
16+
export * from './organization'
17+
export * from './pairing'
18+
export * from './postoffice'
19+
export * from './progress'
20+
export * from './salesforce'
21+
export * from './scenario'
22+
export * from './sensor'
23+
export * from './swagger'
24+
export * from './ubid'
25+
export * from './user'
26+
export * from './version'

src/@seed/api/notes/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
export * from './notes.service'
2+
export * from './notes.types'

src/@seed/api/notes/notes.service.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ import { BehaviorSubject, catchError, type Observable, take, tap } from 'rxjs'
55
import { ErrorService } from '@seed/services'
66
import { SnackBarService } from 'app/core/snack-bar/snack-bar.service'
77
import type { InventoryType } from 'app/modules/inventory'
8-
import { OrganizationService } from '../organization'
98
import type { Note, NoteData } from './notes.types'
109

1110
@Injectable({ providedIn: 'root' })
1211
export class NoteService {
1312
private _errorService = inject(ErrorService)
1413
private _notes = new BehaviorSubject<Note[]>([])
1514
private _httpClient = inject(HttpClient)
16-
private _organizationService = inject(OrganizationService)
1715
private _snackBar = inject(SnackBarService)
1816

1917
notes$ = this._notes.asObservable()

0 commit comments

Comments
 (0)