1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

apis for groups and collections

This commit is contained in:
Kyle Spearrin
2018-07-06 12:40:43 -04:00
parent 4ae4b667ff
commit 2a526940fd
12 changed files with 198 additions and 9 deletions

View File

@@ -1,7 +1,10 @@
import { Collection } from '../domain/collection';
import { SelectionReadOnlyRequest } from './selectionReadOnlyRequest';
export class CollectionRequest {
name: string;
groups: SelectionReadOnlyRequest[] = [];
constructor(collection: Collection) {
this.name = collection.name ? collection.name.encryptedString : null;