mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
17 lines
271 B
TypeScript
17 lines
271 B
TypeScript
import { View } from './view';
|
|
|
|
import { Folder } from '../domain/folder';
|
|
|
|
export class FolderView implements View {
|
|
id: string = null;
|
|
name: string;
|
|
|
|
constructor(f?: Folder) {
|
|
if (!f) {
|
|
return;
|
|
}
|
|
|
|
this.id = f.id;
|
|
}
|
|
}
|