1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 11:13:46 +00:00

[SM-255] Forbid absolute imports in libs (#3624)

This commit is contained in:
Oscar Hinton
2022-09-29 16:38:50 +02:00
committed by GitHub
parent 5915ef7ed9
commit a0e89af120
42 changed files with 145 additions and 120 deletions

View File

@@ -1,4 +1,4 @@
import { ServerConfigResponse } from "@bitwarden/common/models/response/server-config-response";
import { ServerConfigResponse } from "../../models/response/server-config-response";
export abstract class ConfigApiServiceAbstraction {
get: () => Promise<ServerConfigResponse>;

View File

@@ -2,7 +2,7 @@ import {
ServerConfigData,
ThirdPartyServerConfigData,
EnvironmentServerConfigData,
} from "@bitwarden/common/models/data/server-config.data";
} from "../../models/data/server-config.data";
const dayInMilliseconds = 24 * 3600 * 1000;
const eighteenHoursInMilliseconds = 18 * 3600 * 1000;