@iservice365/module-hygiene 0.0.1 → 0.1.1
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.
- package/CHANGELOG.md +12 -0
- package/dist/index.d.ts +503 -1
- package/dist/index.js +4680 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4693 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -3
- package/dist/public/user-invite.hbs +0 -142
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iservice365/module-hygiene",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"build": "tsup src/index.ts --format cjs,esm --dts
|
|
9
|
+
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
10
10
|
"release": "yarn run build && changeset publish",
|
|
11
11
|
"lint": "tsc"
|
|
12
12
|
},
|
|
@@ -22,8 +22,10 @@
|
|
|
22
22
|
"typescript": "^4.9.4"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@iservice365/
|
|
25
|
+
"@iservice365/core": "^2.1.0",
|
|
26
|
+
"@iservice365/node-server-utils": "^1.1.9",
|
|
26
27
|
"@types/urllib": "^2.33.0",
|
|
28
|
+
"cors": "^2.8.5",
|
|
27
29
|
"dotenv": "^16.4.7",
|
|
28
30
|
"express": "^4.21.2",
|
|
29
31
|
"fast-levenshtein": "^3.0.0",
|
|
@@ -32,8 +34,10 @@
|
|
|
32
34
|
"mongodb": "^6.18.0",
|
|
33
35
|
"multer": "^1.4.5-lts.2",
|
|
34
36
|
"node-cron": "^3.0.3",
|
|
37
|
+
"redis": "^4.6.10",
|
|
35
38
|
"urllib": "^4.8.2",
|
|
36
39
|
"uuid": "^11.1.0",
|
|
40
|
+
"xlsx": "^0.18.5",
|
|
37
41
|
"zod": "^3.24.2"
|
|
38
42
|
}
|
|
39
43
|
}
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
<div
|
|
2
|
-
style="
|
|
3
|
-
position: relative;
|
|
4
|
-
max-width: 600px;
|
|
5
|
-
margin: 0 auto;
|
|
6
|
-
background: #111426;
|
|
7
|
-
padding: 40px;
|
|
8
|
-
border-radius: 16px;
|
|
9
|
-
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
|
|
10
|
-
color: #ddd;
|
|
11
|
-
font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
"
|
|
14
|
-
>
|
|
15
|
-
|
|
16
|
-
<img
|
|
17
|
-
src="https://seven365-storage.sgp1.cdn.digitaloceanspaces.com/seven365-public/images/email-background.png?quality=lossless"
|
|
18
|
-
alt=""
|
|
19
|
-
style="
|
|
20
|
-
position: absolute;
|
|
21
|
-
top: 0;
|
|
22
|
-
right: 0;
|
|
23
|
-
width: 300px;
|
|
24
|
-
height: auto;
|
|
25
|
-
z-index: 0;
|
|
26
|
-
opacity: 1;
|
|
27
|
-
"
|
|
28
|
-
/>
|
|
29
|
-
|
|
30
|
-
<div style="position: relative; z-index: 1">
|
|
31
|
-
<!-- logo -->
|
|
32
|
-
<div style="text-align: start; margin-bottom: 30px; width: 50%">
|
|
33
|
-
<img
|
|
34
|
-
src="https://seven365-storage.sgp1.cdn.digitaloceanspaces.com/seven365-public/images/seven365-logo.png"
|
|
35
|
-
alt="Seven365 Logo"
|
|
36
|
-
style="height: 50px"
|
|
37
|
-
/>
|
|
38
|
-
</div>
|
|
39
|
-
|
|
40
|
-
<!-- header -->
|
|
41
|
-
<div style="text-align: start; margin-bottom: 30px">
|
|
42
|
-
<h2 style="font-size: 36px; color: #fafafa; margin: 0; font-weight: 400">
|
|
43
|
-
You’ve Been Invited to Join
|
|
44
|
-
<br />
|
|
45
|
-
iService365
|
|
46
|
-
</h2>
|
|
47
|
-
</div>
|
|
48
|
-
|
|
49
|
-
<!-- body -->
|
|
50
|
-
<div style="font-size: 20px; color: #fafafa; text-align: start">
|
|
51
|
-
<p><strong style="font-size: 20px">Hi {{email}},</strong></p>
|
|
52
|
-
<p style="font-size: 16px">
|
|
53
|
-
You’ve been invited to join our platform. Please use the link below to
|
|
54
|
-
complete your registration. This link is valid for
|
|
55
|
-
<strong>{{validity}}</strong>.
|
|
56
|
-
</p>
|
|
57
|
-
</div>
|
|
58
|
-
|
|
59
|
-
<!-- cta button -->
|
|
60
|
-
<div style="text-align: left; margin: 30px 0">
|
|
61
|
-
<a
|
|
62
|
-
href="{{link}}"
|
|
63
|
-
target="_blank"
|
|
64
|
-
style="
|
|
65
|
-
background: #1e90ff;
|
|
66
|
-
color: #fff;
|
|
67
|
-
padding: 14px 38px;
|
|
68
|
-
text-decoration: none;
|
|
69
|
-
border-radius: 6px;
|
|
70
|
-
font-size: 16px;
|
|
71
|
-
display: inline-block;
|
|
72
|
-
"
|
|
73
|
-
>
|
|
74
|
-
Accept Invitation
|
|
75
|
-
</a>
|
|
76
|
-
</div>
|
|
77
|
-
|
|
78
|
-
<!-- additional info -->
|
|
79
|
-
<div style="text-align: left; margin-bottom: 30px">
|
|
80
|
-
<p style="font-size: 14px; color: #fafafa; margin-bottom: 16px">
|
|
81
|
-
If you weren’t expecting this invitation, you can safely ignore this
|
|
82
|
-
email.
|
|
83
|
-
</p>
|
|
84
|
-
|
|
85
|
-
<p style="font-size: 14px; color: #fafafa; margin-bottom: 16px">
|
|
86
|
-
Need help? Contact our support team at
|
|
87
|
-
<a
|
|
88
|
-
href="mailto:contact@seven365.com.sg"
|
|
89
|
-
style="color: #1e90ff"
|
|
90
|
-
>contact@seven365.com.sg</a>
|
|
91
|
-
</p>
|
|
92
|
-
|
|
93
|
-
<p style="font-size: 14px; margin-top: 30px; color: #fafafa">
|
|
94
|
-
Welcome aboard!<br />
|
|
95
|
-
<strong>iService365 Support Team</strong>
|
|
96
|
-
</p>
|
|
97
|
-
</div>
|
|
98
|
-
|
|
99
|
-
<!-- social icons -->
|
|
100
|
-
<div style="text-align: start; margin-top: 30px">
|
|
101
|
-
<!-- <a href="#" style="margin: 0 10px; text-decoration: none">
|
|
102
|
-
<img
|
|
103
|
-
src="https://seven365-storage.sgp1.cdn.digitaloceanspaces.com/seven365-public/images/facebook-icon.png"
|
|
104
|
-
alt="Facebook"
|
|
105
|
-
style="cursor: pointer"
|
|
106
|
-
/>
|
|
107
|
-
</a> -->
|
|
108
|
-
<a
|
|
109
|
-
href="https://www.linkedin.com/company/seven365-pte-ltd/"
|
|
110
|
-
style="margin: 0 10px; text-decoration: none"
|
|
111
|
-
>
|
|
112
|
-
<img
|
|
113
|
-
src="https://seven365-storage.sgp1.cdn.digitaloceanspaces.com/seven365-public/images/linkedin-icon.png"
|
|
114
|
-
alt="LinkedIn"
|
|
115
|
-
style="cursor: pointer"
|
|
116
|
-
/>
|
|
117
|
-
</a>
|
|
118
|
-
<!-- <a href="#" style="margin: 0 10px; text-decoration: none">
|
|
119
|
-
<img
|
|
120
|
-
src="https://seven365-storage.sgp1.cdn.digitaloceanspaces.com/seven365-public/images/twitter-icon.png"
|
|
121
|
-
alt="Twitter"
|
|
122
|
-
style="cursor: pointer"
|
|
123
|
-
/>
|
|
124
|
-
</a> -->
|
|
125
|
-
</div>
|
|
126
|
-
|
|
127
|
-
<!-- footer -->
|
|
128
|
-
<div
|
|
129
|
-
style="
|
|
130
|
-
margin-top: 40px;
|
|
131
|
-
font-size: 14px;
|
|
132
|
-
color: #fafafa;
|
|
133
|
-
text-align: center;
|
|
134
|
-
background-color: #343a45;
|
|
135
|
-
padding: 18px;
|
|
136
|
-
border-radius: 8px;
|
|
137
|
-
"
|
|
138
|
-
>
|
|
139
|
-
You're receiving this email because you are a subscriber of Seven365.
|
|
140
|
-
</div>
|
|
141
|
-
</div>
|
|
142
|
-
</div>
|