1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

sync policies., set up policy service

This commit is contained in:
Kyle Spearrin
2020-01-28 22:24:02 -05:00
parent 337a7ba59f
commit 3d2e2cb174
6 changed files with 135 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
import { PolicyResponse } from '../response/policyResponse';
import { PolicyType } from '../../enums/policyType';
export class PolicyData {
id: string;
organizationId: string;
type: PolicyType;
data: any;
enabled: boolean;
constructor(response: PolicyResponse) {
this.id = response.id;
this.organizationId = response.organizationId;
this.type = response.type;
this.data = response.data;
this.enabled = response.enabled;
}
}