mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
* first draft at an idea dependency graph * ignore existing errors * remove conflicting rule regarding internal platform logic in libs * review: allow components to import from platform
18 lines
749 B
TypeScript
18 lines
749 B
TypeScript
// FIXME: Update this file to be type safe and remove this and next line
|
|
// @ts-strict-ignore
|
|
// This import has been flagged as unallowed for this class. It may be involved in a circular dependency loop.
|
|
// eslint-disable-next-line no-restricted-imports
|
|
import { CollectionView } from "@bitwarden/admin-console/common";
|
|
import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
|
import { FolderView } from "@bitwarden/common/vault/models/view/folder.view";
|
|
|
|
export class ImportResult {
|
|
success = false;
|
|
errorMessage: string;
|
|
ciphers: CipherView[] = [];
|
|
folders: FolderView[] = [];
|
|
folderRelationships: [number, number][] = [];
|
|
collections: CollectionView[] = [];
|
|
collectionRelationships: [number, number][] = [];
|
|
}
|