mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
* replace getOrgKey with orgKey$, refactor collectionAdminService * clean up * uncomment accidental commet * remove cache
29 lines
1.0 KiB
TypeScript
29 lines
1.0 KiB
TypeScript
// FIXME: Update this file to be type safe and remove this and next line
|
|
// @ts-strict-ignore
|
|
import {
|
|
OrganizationAuthRequestService,
|
|
OrganizationAuthRequestApiService,
|
|
} from "@bitwarden/bit-common/admin-console/auth-requests";
|
|
import { ServiceContainer as OssServiceContainer } from "@bitwarden/cli/service-container/service-container";
|
|
|
|
/**
|
|
* Instantiates services and makes them available for dependency injection.
|
|
* Any Bitwarden-licensed services should be registered here.
|
|
*/
|
|
export class ServiceContainer extends OssServiceContainer {
|
|
organizationAuthRequestApiService: OrganizationAuthRequestApiService;
|
|
organizationAuthRequestService: OrganizationAuthRequestService;
|
|
|
|
constructor() {
|
|
super();
|
|
this.organizationAuthRequestApiService = new OrganizationAuthRequestApiService(this.apiService);
|
|
this.organizationAuthRequestService = new OrganizationAuthRequestService(
|
|
this.organizationAuthRequestApiService,
|
|
this.keyService,
|
|
this.encryptService,
|
|
this.organizationUserApiService,
|
|
this.accountService,
|
|
);
|
|
}
|
|
}
|