0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-27 21:39:16 -05:00
logto/packages/connectors/connector-aws-ses/src/mock.ts
Gao Sun 570a4ea9e2
feat: create invitation (#5245)
* feat: create invitation

* refactor: update test imports

* refactor: update unit tests

* refactor: update docs

* refactor: update api tests

* chore: add changesets

* refactor: add comments

* refactor: fix swagger check

* refactor: keep compatibility
2024-01-25 19:44:20 +08:00

33 lines
889 B
TypeScript

export const mockedConfig = {
accessKeyId: 'accessKeyId',
accessKeySecret: 'accessKeySecret+cltHAJ',
region: 'region',
emailAddress: 'fromEmail',
templates: [
{
usageType: 'SignIn',
content: 'Your code is {{code}}, {{code}} is your code',
subject: 'Sign-in code {{code}}',
},
{
usageType: 'Register',
content: 'Your register code is {{code}}, {{code}} is your code',
subject: 'subject',
},
{
usageType: 'ForgotPassword',
content: 'Your forgot password code is {{code}}, {{code}} is your code',
subject: 'subject',
},
{
usageType: 'Generic',
content: 'Your generic code is {{code}}, {{code}} is your code',
subject: 'subject',
},
{
usageType: 'OrganizationInvitation',
content: 'Your link is {{link}}',
subject: 'Organization invitation',
},
],
};