@tmlmobilidade/emails 20250909.1559.44 → 20250911.1425.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.
@@ -12,6 +12,7 @@ export function PlanApprovalRequestEmail({ solicited_by, validation, }) {
12
12
  const mockValidation = {
13
13
  _id: 'ABC123',
14
14
  created_at: 1753885477000,
15
+ created_by: '',
15
16
  feeder_status: 'complete',
16
17
  file_id: '64f8b2a3c1d2e3f4a5b6c7d9',
17
18
  gtfs_agency: {
@@ -29,6 +30,7 @@ const mockValidation = {
29
30
  total_warnings: 2,
30
31
  },
31
32
  updated_at: 1753885477000,
33
+ updated_by: '',
32
34
  };
33
35
  PlanApprovalRequestEmail.PreviewProps = {
34
36
  solicited_by: 'Josué Monteiro',
@@ -16,6 +16,7 @@ const mockPlan = {
16
16
  timestamp: 1715328000,
17
17
  },
18
18
  created_at: 1715328000,
19
+ created_by: '',
19
20
  gtfs_agency: {
20
21
  agency_id: 'TML001',
21
22
  agency_name: 'Transportes Metropolitanos de Lisboa',
@@ -34,6 +35,7 @@ const mockPlan = {
34
35
  },
35
36
  status_merger: 'complete',
36
37
  updated_at: 1715328000,
38
+ updated_by: '',
37
39
  };
38
40
  PlanApprovedEmail.PreviewProps = {
39
41
  first_name: 'Josué',
@@ -13,6 +13,7 @@ export function SucessfulGtfsValidationEmail({ first_name, validation }) {
13
13
  const validation = {
14
14
  _id: '123',
15
15
  created_at: 1715328000,
16
+ created_by: '',
16
17
  feeder_status: 'success',
17
18
  file_id: '123',
18
19
  gtfs_agency: {
@@ -30,6 +31,7 @@ const validation = {
30
31
  total_warnings: 3,
31
32
  },
32
33
  updated_at: 1715328000,
34
+ updated_by: '',
33
35
  };
34
36
  SucessfulGtfsValidationEmail.PreviewProps = {
35
37
  first_name: 'Josué',
@@ -15,6 +15,7 @@ export function UnsuccessfulGtfsValidationEmail({ first_name, validation }) {
15
15
  const validation = {
16
16
  _id: '123',
17
17
  created_at: 1715328000,
18
+ created_by: '',
18
19
  feeder_status: 'success',
19
20
  file_id: '123',
20
21
  gtfs_agency: {
@@ -32,6 +33,7 @@ const validation = {
32
33
  total_warnings: 3,
33
34
  },
34
35
  updated_at: 1715328000,
36
+ updated_by: '',
35
37
  };
36
38
  UnsuccessfulGtfsValidationEmail.PreviewProps = {
37
39
  first_name: 'Josué',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/emails",
3
- "version": "20250909.1559.44",
3
+ "version": "20250911.1425.9",
4
4
  "author": "João de Vasconcelos & Jusi Monteiro",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "homepage": "https://github.com/tmlmobilidade/services#readme",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@carrismetropolitana/eslint": "20250622.1204.50",
48
- "@react-email/preview-server": "4.2.8",
48
+ "@react-email/preview-server": "^4.2.11",
49
49
  "@tmlmobilidade/lib": "*",
50
50
  "@tmlmobilidade/tsconfig": "*",
51
51
  "@tmlmobilidade/types": "*",