clients/src/models/data/fieldData.ts
2018-01-06 14:22:55 -05:00

17 lines
334 B
TypeScript

import { FieldType } from '@bitwarden/jslib';
class FieldData {
type: FieldType;
name: string;
value: string;
constructor(response: any) {
this.type = response.Type;
this.name = response.Name;
this.value = response.Value;
}
}
export { FieldData };
(window as any).FieldData = FieldData;