mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-19 07:35:48 +02:00
17 lines
339 B
TypeScript
17 lines
339 B
TypeScript
|
import { FieldType } from '../../enums/fieldType';
|
||
|
|
||
|
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;
|