mirror of
https://github.com/bitwarden/browser
synced 2026-02-07 12:13:45 +00:00
* Passed in userId on RemovePasswordComponent. * Added userId on other references to KeyConnectorService methods * remove password component refactor, test coverage, enabled strict * explicit user id provided to key connector service * redirect to / instead when user not logged in or not managing organization * key connector service explicit user id * key connector service no longer requires account service * key connector service missing null type * cli convert to key connector unit tests * remove unnecessary SyncService * error toast not showing on ErrorResponse * bad import due to merge conflict * bad import due to merge conflict * missing loading in remove password component for browser extension * error handling in remove password component * organization observable race condition in key-connector * usesKeyConnector always returns boolean * unit test coverage * key connector reactive * reactive key connector service * introducing convertAccountRequired$ * cli build fix * moving message sending side effect to sync * key connector service unit tests * fix unit tests * unit tests in wrong place after KM code ownership move * infinite page reload * failing unit tests * failing unit tests --------- Co-authored-by: Todd Martin <tmartin@bitwarden.com>
18 lines
436 B
TypeScript
18 lines
436 B
TypeScript
// FIXME: Update this file to be type safe and remove this and next line
|
|
// @ts-strict-ignore
|
|
import { BaseResponse } from "./base.response";
|
|
|
|
export class MessageResponse implements BaseResponse {
|
|
object: string;
|
|
title: string;
|
|
message: string | null;
|
|
raw: string;
|
|
noColor = false;
|
|
|
|
constructor(title: string, message: string | null) {
|
|
this.object = "message";
|
|
this.title = title;
|
|
this.message = message;
|
|
}
|
|
}
|