mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 03:03:43 +00:00
* refactor: add barrel file for admin-console enums, update references, refs AC-1202 * fix: lint/prettier updates, refs AC-1202 * refactor: add enum suffix, refs AC-1202 * refactor: add barrel file for billing enums, update imports to use it, refs AC-1202 * fix: prettier, refs AC-1202 * refactor: add enum suffix for billing enums, refs AC-1202
19 lines
450 B
TypeScript
19 lines
450 B
TypeScript
import { PolicyType } from "../../enums";
|
|
import { PolicyResponse } from "../response/policy.response";
|
|
|
|
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;
|
|
}
|
|
}
|