mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
Move to libs
This commit is contained in:
17
libs/common/src/models/api/loginUriApi.ts
Normal file
17
libs/common/src/models/api/loginUriApi.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { UriMatchType } from "../../enums/uriMatchType";
|
||||
import { BaseResponse } from "../response/baseResponse";
|
||||
|
||||
export class LoginUriApi extends BaseResponse {
|
||||
uri: string;
|
||||
match: UriMatchType = null;
|
||||
|
||||
constructor(data: any = null) {
|
||||
super(data);
|
||||
if (data == null) {
|
||||
return;
|
||||
}
|
||||
this.uri = this.getResponseProperty("Uri");
|
||||
const match = this.getResponseProperty("Match");
|
||||
this.match = match != null ? match : null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user