1
0
mirror of https://github.com/bitwarden/browser synced 2026-03-01 11:01:17 +00:00

fix build

This commit is contained in:
adudek-bw
2025-12-31 14:24:00 -05:00
parent 6887cf1a64
commit 2626314798

View File

@@ -3,6 +3,7 @@ import { BitwardenClient } from "@bitwarden/sdk-internal";
import { StateProvider } from "@bitwarden/state";
import { PolicyService } from "../admin-console/abstractions/policy/policy.service.abstraction";
import { ConfigService } from "../platform/abstractions/config/config.service";
import { PlatformUtilsService } from "../platform/abstractions/platform-utils.service";
import { LegacyEncryptorProvider } from "./cryptography/legacy-encryptor-provider";
@@ -21,6 +22,9 @@ export type SystemServiceProvider = {
/** Event monitoring and diagnostic interfaces */
readonly log: LogProvider;
/** Config Service to determine flag features */
readonly configService: ConfigService;
/** Platform Service to inspect runtime environment */
readonly environment: PlatformUtilsService;
@@ -36,6 +40,7 @@ export function createSystemServiceProvider(
registry: ExtensionRegistry,
logger: LogService,
environment: PlatformUtilsService,
configService: ConfigService,
): SystemServiceProvider {
let log: LogProvider;
if (environment.isDev()) {
@@ -55,6 +60,7 @@ export function createSystemServiceProvider(
policy,
extension,
log,
configService,
environment,
};
}