mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 10:13:31 +00:00
Move to libs
This commit is contained in:
17
libs/common/src/models/data/collectionData.ts
Normal file
17
libs/common/src/models/data/collectionData.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { CollectionDetailsResponse } from "../response/collectionResponse";
|
||||
|
||||
export class CollectionData {
|
||||
id: string;
|
||||
organizationId: string;
|
||||
name: string;
|
||||
externalId: string;
|
||||
readOnly: boolean;
|
||||
|
||||
constructor(response: CollectionDetailsResponse) {
|
||||
this.id = response.id;
|
||||
this.organizationId = response.organizationId;
|
||||
this.name = response.name;
|
||||
this.externalId = response.externalId;
|
||||
this.readOnly = response.readOnly;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user