mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-02 08:40:08 +01:00
reference event data model changes
This commit is contained in:
parent
9ca79c4929
commit
97d24f5abf
@ -12,7 +12,7 @@ import { PlatformUtilsService } from '../../abstractions/platformUtils.service';
|
||||
import { StateService } from '../../abstractions/state.service';
|
||||
|
||||
import { KdfType } from '../../enums/kdfType';
|
||||
import { ReferenceEventData } from '../../models/domain/referenceEventData';
|
||||
import { ReferenceEventRequest } from '../../models/request/referenceEventRequest';
|
||||
|
||||
export class RegisterComponent {
|
||||
name: string = '';
|
||||
@ -23,7 +23,7 @@ export class RegisterComponent {
|
||||
showPassword: boolean = false;
|
||||
formPromise: Promise<any>;
|
||||
masterPasswordScore: number;
|
||||
referenceData: ReferenceEventData;
|
||||
referenceData: ReferenceEventRequest;
|
||||
|
||||
protected successRoute = 'login';
|
||||
private masterPasswordStrengthTimeout: any;
|
||||
|
@ -1,4 +1,4 @@
|
||||
export class ReferenceEventData {
|
||||
export class ReferenceEventRequest {
|
||||
id: string;
|
||||
layout: string;
|
||||
flow: string;
|
@ -1,7 +1,7 @@
|
||||
import { KeysRequest } from './keysRequest';
|
||||
import { ReferenceEventRequest } from './referenceEventRequest';
|
||||
|
||||
import { KdfType } from '../../enums/kdfType';
|
||||
import { ReferenceEventData } from '../domain/referenceEventData';
|
||||
|
||||
export class RegisterRequest {
|
||||
name: string;
|
||||
@ -14,10 +14,10 @@ export class RegisterRequest {
|
||||
organizationUserId: string;
|
||||
kdf: KdfType;
|
||||
kdfIterations: number;
|
||||
referenceData: ReferenceEventData;
|
||||
referenceData: ReferenceEventRequest;
|
||||
|
||||
constructor(email: string, name: string, masterPasswordHash: string, masterPasswordHint: string, key: string,
|
||||
kdf: KdfType, kdfIterations: number, referenceData: ReferenceEventData) {
|
||||
kdf: KdfType, kdfIterations: number, referenceData: ReferenceEventRequest) {
|
||||
this.name = name;
|
||||
this.email = email;
|
||||
this.masterPasswordHash = masterPasswordHash;
|
||||
|
Loading…
Reference in New Issue
Block a user