mirror of
https://github.com/bitwarden/browser
synced 2025-12-21 18:53:29 +00:00
moved all enums to jslib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { DeviceType } from '../../enums/deviceType.enum';
|
||||
import { DeviceType } from '@bitwarden/jslib';
|
||||
|
||||
export interface PlatformUtilsService {
|
||||
getDevice(): DeviceType;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { CipherType } from '../enums/cipherType.enum';
|
||||
import { FieldType } from '../enums/fieldType.enum';
|
||||
import { CipherType } from '@bitwarden/jslib';
|
||||
import { FieldType } from '@bitwarden/jslib';
|
||||
|
||||
import AutofillField from '../models/domain/autofillField';
|
||||
import AutofillPageDetails from '../models/domain/autofillPageDetails';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import BrowserPlatformUtilsService from './browserPlatformUtils.service';
|
||||
import { DeviceType } from '../enums/deviceType.enum';
|
||||
import { DeviceType } from '@bitwarden/jslib';
|
||||
|
||||
describe('Browser Utils Service', () => {
|
||||
describe('getDomain', () => {
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import * as tldjs from 'tldjs';
|
||||
import { DeviceType } from '../enums/deviceType.enum';
|
||||
|
||||
import { DeviceType } from '@bitwarden/jslib';
|
||||
|
||||
import { PlatformUtilsService as PlatformUtilsServiceInterface } from './abstractions/platformUtils.service';
|
||||
|
||||
const AnalyticsIds = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CipherType } from '../enums/cipherType.enum';
|
||||
import { CipherType } from '@bitwarden/jslib';
|
||||
|
||||
import { Cipher } from '../models/domain/cipher';
|
||||
import { CipherString } from '../models/domain/cipherString';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import * as forge from 'node-forge';
|
||||
|
||||
import { EncryptionType } from '../enums/encryptionType.enum';
|
||||
import { EncryptionType } from '@bitwarden/jslib';
|
||||
|
||||
import { CipherString } from '../models/domain/cipherString';
|
||||
import EncryptedObject from '../models/domain/encryptedObject';
|
||||
|
||||
Reference in New Issue
Block a user