mirror of
https://github.com/bitwarden/browser
synced 2025-12-30 15:13:32 +00:00
Move CLI to apps/cli
This commit is contained in:
16
apps/cli/src/models/request/organizationCollectionRequest.ts
Normal file
16
apps/cli/src/models/request/organizationCollectionRequest.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { CollectionExport } from "jslib-common/models/export/collectionExport";
|
||||
|
||||
import { SelectionReadOnly } from "../selectionReadOnly";
|
||||
|
||||
export class OrganizationCollectionRequest extends CollectionExport {
|
||||
static template(): OrganizationCollectionRequest {
|
||||
const req = new OrganizationCollectionRequest();
|
||||
req.organizationId = "00000000-0000-0000-0000-000000000000";
|
||||
req.name = "Collection name";
|
||||
req.externalId = null;
|
||||
req.groups = [SelectionReadOnly.template(), SelectionReadOnly.template()];
|
||||
return req;
|
||||
}
|
||||
|
||||
groups: SelectionReadOnly[];
|
||||
}
|
||||
Reference in New Issue
Block a user