1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

Refactor GroupService into Core org module (#4112)

* Refactor GroupService into Core org module

- Move Group service folder into Core org folder
- Remove GroupServiceAbstraction
- Rename GroupService in components
- Remove GroupService from list of Org Module providers (use @Injectable decorator instead)

* Import/export SharedModule from SharedOrganizationModule

* Move GroupView to core organization folder

* Fix file names for org collection views

* Cleanup core organization barrel files
This commit is contained in:
Shane Melton
2022-12-13 14:56:19 -08:00
committed by GitHub
parent 5b4e8ff1cd
commit 2442fe146a
20 changed files with 36 additions and 78 deletions

View File

@@ -14,7 +14,7 @@ import { CollectionDetailsResponse } from "@bitwarden/common/models/response/col
import { ErrorResponse } from "@bitwarden/common/models/response/error.response";
import { DialogService } from "@bitwarden/components";
import { GroupServiceAbstraction } from "../services/abstractions/group";
import { GroupService, GroupView } from "../core";
import {
AccessItemType,
AccessItemValue,
@@ -23,7 +23,6 @@ import {
convertToSelectionView,
PermissionMode,
} from "../shared/components/access-selector";
import { GroupView } from "../views/group.view";
/**
* Indices for the available tabs in the dialog
@@ -173,7 +172,7 @@ export class GroupAddEditComponent implements OnInit, OnDestroy {
@Inject(DIALOG_DATA) private params: GroupAddEditDialogParams,
private dialogRef: DialogRef<GroupAddEditDialogResultType>,
private apiService: ApiService,
private groupService: GroupServiceAbstraction,
private groupService: GroupService,
private i18nService: I18nService,
private collectionService: CollectionService,
private platformUtilsService: PlatformUtilsService,