payload-totp
Version:
Add an extra security layer to PayloadCMS using a Time-based One-time Password (TOTP).
26 lines (25 loc) • 672 B
TypeScript
import type { NestedKeysStripped } from '@payloadcms/translations';
type I18n = {
totpPlugin: {
authApp: string;
configured: string;
errors: {
alreadySet: string;
};
fieldDescription: string;
setup: {
addCodeManually: string;
button: string;
description: string;
enterCode: string;
incorrectCode: string;
title: string;
};
verify: {
title: string;
};
};
};
export type CustomTranslationsObject = I18n;
export type CustomTranslationsKeys = NestedKeysStripped<CustomTranslationsObject>;
export {};