Skip to content

Commit

Permalink
Fix jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Jul 20, 2023
1 parent 24cff5e commit 141cf8c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
9 changes: 8 additions & 1 deletion src/common-crypto/CryptoBackend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
import type { IDeviceLists, IToDeviceEvent } from "../sync-accumulator";
import { MatrixEvent } from "../models/event";
import { Room } from "../models/room";
import { CheckOwnCrossSigningTrustOpts, CryptoApi } from "../crypto-api";
import { CryptoApi } from "../crypto-api";
import { CrossSigningInfo, UserTrustLevel } from "../crypto/CrossSigning";
import { IEncryptedEventInfo } from "../crypto/api";
import { IEventDecryptionResult } from "../@types/crypto";
Expand Down Expand Up @@ -174,3 +174,10 @@ export interface OnSyncCompletedData {
*/
catchingUp?: boolean;
}

/**
* Options object for {@link CryptoBackend#checkOwnCrossSigningTrust}.
*/
export interface CheckOwnCrossSigningTrustOpts {
allowPrivateKeyRequests?: boolean;
}
7 changes: 0 additions & 7 deletions src/crypto-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,12 +490,5 @@ export interface GeneratedSecretStorageKey {
encodedPrivateKey?: string;
}

/**
* Options object for {@link CryptoApi#checkOwnCrossSigningTrust}.
*/
export interface CheckOwnCrossSigningTrustOpts {
allowPrivateKeyRequests?: boolean;
}

export * from "./crypto-api/verification";
export * from "./crypto-api/keybackup";
2 changes: 1 addition & 1 deletion src/rust-crypto/rust-crypto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ export class RustCrypto extends TypedEventEmitter<RustCryptoEvents, RustCryptoEv
* More information: https://github.com/vector-im/element-web/issues/25648
*
*
* Implementation of {@link CryptoApi#checkOwnCrossSigningTrust}
* Implementation of {@link CryptoBackend#checkOwnCrossSigningTrust}
*/
public async checkOwnCrossSigningTrust(): Promise<void> {
return;
Expand Down

0 comments on commit 141cf8c

Please sign in to comment.