Remove payments API routing initialization
[ProtonMail-WebClient.git] / packages / components / containers / keyTransparency / ktContext.ts
blob4e8bbfea8f0fbc6d43b6a490f9bd2aab5e054f79
1 import type { KeyTransparencyState, VerifyOutboundPublicKeys } from '@proton/shared/lib/interfaces';
2 import { KeyTransparencyActivation } from '@proton/shared/lib/interfaces';
3 import { defaultKeyTransparencyState } from '@proton/shared/lib/keyTransparency';
5 export interface KTContext {
6     verifyOutboundPublicKeys: VerifyOutboundPublicKeys;
7     ktActivation: KeyTransparencyActivation;
8     ktState: KeyTransparencyState;
11 export const defaultKTContext: KTContext = {
12     verifyOutboundPublicKeys: async () => {
13         return {};
14     },
15     ktActivation: KeyTransparencyActivation.DISABLED,
16     ktState: defaultKeyTransparencyState,