@m5kdev/email 0.21.4 → 0.21.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,6 +4,33 @@ type Brand = {
4
4
  logo: string;
5
5
  tagline: string;
6
6
  };
7
+ interface BrandEmailTemplateProps {
8
+ previewText: string;
9
+ brand: Brand;
10
+ }
11
+ interface UrlEmailTemplateProps extends BrandEmailTemplateProps {
12
+ url: string;
13
+ }
14
+ interface VerificationTemplateProps extends UrlEmailTemplateProps {}
15
+ interface PasswordResetTemplateProps extends UrlEmailTemplateProps {}
16
+ interface AccountDeletionTemplateProps extends UrlEmailTemplateProps {}
17
+ interface OrganizationInviteTemplateProps extends UrlEmailTemplateProps {
18
+ organizationName: string;
19
+ inviterName: string;
20
+ role: string;
21
+ }
22
+ interface WaitlistInviteTemplateProps extends UrlEmailTemplateProps {}
23
+ interface WaitlistUserInviteTemplateProps extends UrlEmailTemplateProps {
24
+ inviter: string;
25
+ name?: string;
26
+ }
27
+ interface OrganizationInviteTemplateProps extends UrlEmailTemplateProps {}
28
+ interface WaitlistConfirmationTemplateProps extends BrandEmailTemplateProps {
29
+ email: string;
30
+ }
31
+ interface SystemWaitlistNotificationTemplateProps extends UrlEmailTemplateProps {
32
+ email: string;
33
+ }
7
34
  //#endregion
8
- export { Brand };
35
+ export { AccountDeletionTemplateProps, Brand, BrandEmailTemplateProps, OrganizationInviteTemplateProps, PasswordResetTemplateProps, SystemWaitlistNotificationTemplateProps, UrlEmailTemplateProps, VerificationTemplateProps, WaitlistConfirmationTemplateProps, WaitlistInviteTemplateProps, WaitlistUserInviteTemplateProps };
9
36
  //# sourceMappingURL=types.d.cts.map
@@ -4,6 +4,33 @@ type Brand = {
4
4
  logo: string;
5
5
  tagline: string;
6
6
  };
7
+ interface BrandEmailTemplateProps {
8
+ previewText: string;
9
+ brand: Brand;
10
+ }
11
+ interface UrlEmailTemplateProps extends BrandEmailTemplateProps {
12
+ url: string;
13
+ }
14
+ interface VerificationTemplateProps extends UrlEmailTemplateProps {}
15
+ interface PasswordResetTemplateProps extends UrlEmailTemplateProps {}
16
+ interface AccountDeletionTemplateProps extends UrlEmailTemplateProps {}
17
+ interface OrganizationInviteTemplateProps extends UrlEmailTemplateProps {
18
+ organizationName: string;
19
+ inviterName: string;
20
+ role: string;
21
+ }
22
+ interface WaitlistInviteTemplateProps extends UrlEmailTemplateProps {}
23
+ interface WaitlistUserInviteTemplateProps extends UrlEmailTemplateProps {
24
+ inviter: string;
25
+ name?: string;
26
+ }
27
+ interface OrganizationInviteTemplateProps extends UrlEmailTemplateProps {}
28
+ interface WaitlistConfirmationTemplateProps extends BrandEmailTemplateProps {
29
+ email: string;
30
+ }
31
+ interface SystemWaitlistNotificationTemplateProps extends UrlEmailTemplateProps {
32
+ email: string;
33
+ }
7
34
  //#endregion
8
- export { Brand };
35
+ export { AccountDeletionTemplateProps, Brand, BrandEmailTemplateProps, OrganizationInviteTemplateProps, PasswordResetTemplateProps, SystemWaitlistNotificationTemplateProps, UrlEmailTemplateProps, VerificationTemplateProps, WaitlistConfirmationTemplateProps, WaitlistInviteTemplateProps, WaitlistUserInviteTemplateProps };
9
36
  //# sourceMappingURL=types.d.mts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m5kdev/email",
3
- "version": "0.21.4",
3
+ "version": "0.21.9",
4
4
  "license": "GPL-3.0-only",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,7 +19,7 @@
19
19
  "tsx": "4.19.2",
20
20
  "tsdown": "0.21.7",
21
21
  "typescript": "6.0.3",
22
- "@m5kdev/config": "0.21.4"
22
+ "@m5kdev/config": "0.21.9"
23
23
  },
24
24
  "dependencies": {
25
25
  "@react-email/components": "1.0.1",