platform/server/account/src/plugin.ts
Kristina 8a45a3fdde
Add login and signup by code (#6097)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
2024-07-30 14:52:10 +07:00

35 lines
933 B
TypeScript

import { IntlString, Metadata, plugin, Plugin } from '@hcengineering/platform'
/**
* @public
*/
export const accountId = 'account' as Plugin
/**
* @public
*/
export const accountPlugin = plugin(accountId, {
metadata: {
FrontURL: '' as Metadata<string>,
SES_URL: '' as Metadata<string>,
ProductName: '' as Metadata<string>,
Transactors: '' as Metadata<string>,
OtpTimeToLiveSec: '' as Metadata<number>,
OtpRetryDelaySec: '' as Metadata<number>
},
string: {
ConfirmationText: '' as IntlString,
ConfirmationHTML: '' as IntlString,
ConfirmationSubject: '' as IntlString,
RecoveryText: '' as IntlString,
RecoveryHTML: '' as IntlString,
RecoverySubject: '' as IntlString,
InviteText: '' as IntlString,
InviteHTML: '' as IntlString,
InviteSubject: '' as IntlString,
OtpText: '' as IntlString,
OtpHTML: '' as IntlString,
OtpSubject: '' as IntlString
}
})