bitwarden-estensione-browser/libs/common/src/models/view/folderView.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
392 B
TypeScript
Raw Normal View History

import { Folder } from "../domain/folder";
import { ITreeNodeObject } from "../domain/treeNode";
2018-01-25 20:57:42 +01:00
2022-02-22 15:39:11 +01:00
import { View } from "./view";
export class FolderView implements View, ITreeNodeObject {
2018-01-29 23:59:57 +01:00
id: string = null;
2019-01-25 15:30:21 +01:00
name: string = null;
revisionDate: Date = null;
2018-01-25 20:57:42 +01:00
constructor(f?: Folder) {
if (!f) {
return;
}
2021-12-16 13:36:21 +01:00
2018-01-25 20:57:42 +01:00
this.id = f.id;
2018-08-20 22:20:51 +02:00
this.revisionDate = f.revisionDate;
2021-12-16 13:36:21 +01:00
}
2018-01-25 20:57:42 +01:00
}