mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
added models, crypto, and constants services
This commit is contained in:
16
src/models/data/collectionData.ts
Normal file
16
src/models/data/collectionData.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { CollectionResponse } from '../response/collectionResponse';
|
||||
|
||||
class CollectionData {
|
||||
id: string;
|
||||
organizationId: string;
|
||||
name: string;
|
||||
|
||||
constructor(response: CollectionResponse) {
|
||||
this.id = response.id;
|
||||
this.organizationId = response.organizationId;
|
||||
this.name = response.name;
|
||||
}
|
||||
}
|
||||
|
||||
export { CollectionData };
|
||||
(window as any).CollectionData = CollectionData;
|
||||
Reference in New Issue
Block a user