mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-07 21:10:55 +08:00
17 lines
334 B
TypeScript
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;
|