mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-09 00:11:30 +01:00
revert type changes
This commit is contained in:
parent
d516c308da
commit
a151f40e3b
@ -23,7 +23,6 @@ export function extensionRefreshSwap(
|
|||||||
defaultComponent,
|
defaultComponent,
|
||||||
refreshedComponent,
|
refreshedComponent,
|
||||||
async () => {
|
async () => {
|
||||||
return true;
|
|
||||||
const configService = inject(ConfigService);
|
const configService = inject(ConfigService);
|
||||||
return configService.getFeatureFlag(FeatureFlag.ExtensionRefresh);
|
return configService.getFeatureFlag(FeatureFlag.ExtensionRefresh);
|
||||||
},
|
},
|
||||||
|
@ -26,7 +26,6 @@ export class SendView implements View {
|
|||||||
password: string = null;
|
password: string = null;
|
||||||
disabled = false;
|
disabled = false;
|
||||||
hideEmail = false;
|
hideEmail = false;
|
||||||
hideText = false;
|
|
||||||
|
|
||||||
constructor(s?: Send) {
|
constructor(s?: Send) {
|
||||||
if (!s) {
|
if (!s) {
|
||||||
|
@ -8,7 +8,6 @@ import { SendFileDownloadDataResponse } from "../models/response/send-file-downl
|
|||||||
import { SendFileUploadDataResponse } from "../models/response/send-file-upload-data.response";
|
import { SendFileUploadDataResponse } from "../models/response/send-file-upload-data.response";
|
||||||
import { SendResponse } from "../models/response/send.response";
|
import { SendResponse } from "../models/response/send.response";
|
||||||
import { SendAccessView } from "../models/view/send-access.view";
|
import { SendAccessView } from "../models/view/send-access.view";
|
||||||
import { SendView } from "../models/view/send.view";
|
|
||||||
|
|
||||||
export abstract class SendApiService {
|
export abstract class SendApiService {
|
||||||
getSend: (id: string) => Promise<SendResponse>;
|
getSend: (id: string) => Promise<SendResponse>;
|
||||||
@ -37,5 +36,5 @@ export abstract class SendApiService {
|
|||||||
renewSendFileUploadUrl: (sendId: string, fileId: string) => Promise<SendFileUploadDataResponse>;
|
renewSendFileUploadUrl: (sendId: string, fileId: string) => Promise<SendFileUploadDataResponse>;
|
||||||
removePassword: (id: string) => Promise<any>;
|
removePassword: (id: string) => Promise<any>;
|
||||||
delete: (id: string) => Promise<any>;
|
delete: (id: string) => Promise<any>;
|
||||||
save: (sendData: [Send, EncArrayBuffer]) => Promise<SendView>;
|
save: (sendData: [Send, EncArrayBuffer]) => Promise<any>;
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@ import { UserKeyRotationDataProvider } from "@bitwarden/auth/common";
|
|||||||
|
|
||||||
import { EncArrayBuffer } from "../../../platform/models/domain/enc-array-buffer";
|
import { EncArrayBuffer } from "../../../platform/models/domain/enc-array-buffer";
|
||||||
import { SymmetricCryptoKey } from "../../../platform/models/domain/symmetric-crypto-key";
|
import { SymmetricCryptoKey } from "../../../platform/models/domain/symmetric-crypto-key";
|
||||||
import { SendId, UserId } from "../../../types/guid";
|
import { UserId } from "../../../types/guid";
|
||||||
import { UserKey } from "../../../types/key";
|
import { UserKey } from "../../../types/key";
|
||||||
import { SendData } from "../models/data/send.data";
|
import { SendData } from "../models/data/send.data";
|
||||||
import { Send } from "../models/domain/send";
|
import { Send } from "../models/domain/send";
|
||||||
@ -54,7 +54,7 @@ export abstract class SendService implements UserKeyRotationDataProvider<SendWit
|
|||||||
}
|
}
|
||||||
|
|
||||||
export abstract class InternalSendService extends SendService {
|
export abstract class InternalSendService extends SendService {
|
||||||
upsert: (send: SendData | SendData[]) => Promise<Record<SendId, SendData>>;
|
upsert: (send: SendData | SendData[]) => Promise<any>;
|
||||||
replace: (sends: { [id: string]: SendData }, userId: UserId) => Promise<void>;
|
replace: (sends: { [id: string]: SendData }, userId: UserId) => Promise<void>;
|
||||||
delete: (id: string | string[]) => Promise<void>;
|
delete: (id: string | string[]) => Promise<any>;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user