express-sweet 1.0.14 → 1.0.17
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 +21 -3
- package/README.md +13 -44
- package/dist/build.common.js +4 -4
- package/dist/build.esm.js +4 -4
- package/docs/{styles/docs.css → docs.css} +99 -100
- package/docs/docs.js +41 -0
- package/docs/{images → img/associations}/belongs-to-many.png +0 -0
- package/docs/{images → img/associations}/belongs-to.png +0 -0
- package/docs/{images → img/associations}/has-many.png +0 -0
- package/docs/{images → img/associations}/has-one.png +0 -0
- package/docs/img/demos/login&users.jfif +0 -0
- package/docs/img/hero.svg +1 -0
- package/docs/{images → img}/logo.svg +0 -0
- package/docs/index.html +2483 -3141
- package/package.json +1 -1
- package/types/database/Model.d.ts +8 -8
- package/types/handlebars_helpers/date.d.ts +21 -0
- package/types/handlebars_helpers/string.d.ts +20 -0
- package/types/interfaces/AuthenticationOptions.d.ts +2 -2
- package/types/services/AWSRekognitionClient.d.ts +2 -2
- package/types/services/RedisClient.d.ts +1 -1
- package/types/utils/Types.d.ts +8 -0
- package/types/utils/index.d.ts +6 -2
- package/types/utils/isAsyncFunction.d.ts +12 -0
- package/types/utils/isObject.d.ts +8 -0
- package/types/utils/isString.d.ts +8 -0
- package/docs/images/all.jpg +0 -0
- package/docs/images/edit-user.png +0 -0
- package/docs/images/home.png +0 -0
- package/docs/images/login.png +0 -0
- package/docs/images/logo-dark.svg +0 -12
- package/docs/images/new-user.png +0 -0
- package/docs/images/user-list.png +0 -0
- package/docs/scripts/docs.js +0 -23
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.0.17] - 2022-05-17
|
|
6
|
+
### Fixed
|
|
7
|
+
- Updated documentation and refactored variable names.
|
|
8
|
+
|
|
9
|
+
## [1.0.16] - 2022-02-14
|
|
10
|
+
### Fixed
|
|
11
|
+
- I forgot to include the build file, so I added the build file.
|
|
12
|
+
|
|
13
|
+
## [1.0.15] - 2022-02-14
|
|
14
|
+
### Fixed
|
|
15
|
+
- Changed the type of 'config/authentication.js#allow_unauthenticated' from'string[]' to'(string|RegExp)[]}'.
|
|
16
|
+
|
|
5
17
|
## [1.0.14] - 2022-01-17
|
|
18
|
+
### Fixed
|
|
6
19
|
- empty view helper can now check any type. Previously I could only check arrays.
|
|
7
20
|
```html
|
|
8
21
|
// If the value is an array.
|
|
@@ -159,8 +172,8 @@ All notable changes to this project will be documented in this file.
|
|
|
159
172
|
### Fixed
|
|
160
173
|
- Fixed a bug that caused an error when reading options defined in ESM's default Export.
|
|
161
174
|
|
|
162
|
-
[1.0.1]: https://github.com/takuya-motoshima/express-sweet/
|
|
163
|
-
[1.0.2]: https://github.com/takuya-motoshima/express-sweet/
|
|
175
|
+
[1.0.1]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.0...v1.0.1
|
|
176
|
+
[1.0.2]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.1...v1.0.2
|
|
164
177
|
[1.0.3]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.2...v1.0.3
|
|
165
178
|
[1.0.4]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.3...v1.0.4
|
|
166
179
|
[1.0.5]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.4...v1.0.5
|
|
@@ -170,4 +183,9 @@ All notable changes to this project will be documented in this file.
|
|
|
170
183
|
[1.0.9]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.8...v1.0.9
|
|
171
184
|
[1.0.10]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.9...v1.0.10
|
|
172
185
|
[1.0.11]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.10...v1.0.11
|
|
173
|
-
[1.0.12]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.11...v1.0.12
|
|
186
|
+
[1.0.12]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.11...v1.0.12
|
|
187
|
+
[1.0.13]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.12...v1.0.13
|
|
188
|
+
[1.0.14]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.13...v1.0.14
|
|
189
|
+
[1.0.15]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.14...v1.0.15
|
|
190
|
+
[1.0.16]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.15...v1.0.16
|
|
191
|
+
[1.0.17]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.16...v1.0.17
|
package/README.md
CHANGED
|
@@ -1,51 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
# express-sweet
|
|
2
|
+

|
|
2
3
|
|
|
3
4
|
Extend Express functionality with Express Sweet and start developing fast, minimal web applications.
|
|
4
5
|
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
For details on installing Express Sweet, see the <a href="https://takuya-motoshima.github.io/express-sweet/#instl" target="_blank">"installation reference"</a>.
|
|
17
|
-
|
|
18
|
-
<table>
|
|
19
|
-
<tr>
|
|
20
|
-
<td valign="top">
|
|
21
|
-
<div>Login</div>
|
|
22
|
-
<img src="https://raw.githubusercontent.com/takuya-motoshima/express-sweet/main/screencaps/login.png" width="400">
|
|
23
|
-
</td>
|
|
24
|
-
<td valign="top">
|
|
25
|
-
<div>Home</div>
|
|
26
|
-
<img src="https://raw.githubusercontent.com/takuya-motoshima/express-sweet/main/screencaps/home.png" width="400">
|
|
27
|
-
</td>
|
|
28
|
-
</tr>
|
|
29
|
-
<tr>
|
|
30
|
-
<td valign="top">
|
|
31
|
-
<div>User list</div>
|
|
32
|
-
<img src="https://raw.githubusercontent.com/takuya-motoshima/express-sweet/main/screencaps/user-list.png" width="400">
|
|
33
|
-
</td>
|
|
34
|
-
<td valign="top">
|
|
35
|
-
<div>New user</div>
|
|
36
|
-
<img src="https://raw.githubusercontent.com/takuya-motoshima/express-sweet/main/screencaps/new-user.png" width="400">
|
|
37
|
-
</td>
|
|
38
|
-
</tr>
|
|
39
|
-
<tr>
|
|
40
|
-
<td valign="top">
|
|
41
|
-
<div>Edit user</div>
|
|
42
|
-
<img src="https://raw.githubusercontent.com/takuya-motoshima/express-sweet/main/screencaps/edit-user.png" width="400">
|
|
43
|
-
</td>
|
|
44
|
-
</tr>
|
|
45
|
-
</table>
|
|
6
|
+
## Documentation
|
|
7
|
+
* [Introduction](https://takuya-motoshima.github.io/express-sweet/#introduction)
|
|
8
|
+
* [Quick Start](https://takuya-motoshima.github.io/express-sweet/#quick-start)
|
|
9
|
+
* [Environment variable](https://takuya-motoshima.github.io/express-sweet/#environment-variable)
|
|
10
|
+
* [Base configuration](https://takuya-motoshima.github.io/express-sweet/#base-configuration)
|
|
11
|
+
* [Routing](https://takuya-motoshima.github.io/express-sweet/#routing)
|
|
12
|
+
* [Views](https://takuya-motoshima.github.io/express-sweet/#views)
|
|
13
|
+
* [Model](https://takuya-motoshima.github.io/express-sweet/#model)
|
|
14
|
+
* [User authentication](https://takuya-motoshima.github.io/express-sweet/#user-authentication)
|
|
15
|
+
* [Rekognition](https://takuya-motoshima.github.io/express-sweet/#rekognition)
|
|
16
|
+
* [Changelog](https://takuya-motoshima.github.io/express-sweet/#changelog)
|
|
46
17
|
|
|
47
18
|
## Author
|
|
48
|
-
|
|
49
19
|
**Takuya Motoshima**
|
|
50
20
|
|
|
51
21
|
* [github/takuya-motoshima](https://github.com/takuya-motoshima)
|
|
@@ -53,5 +23,4 @@ For details on installing Express Sweet, see the <a href="https://takuya-motoshi
|
|
|
53
23
|
* [facebook/takuya.motoshima.7](https://www.facebook.com/takuya.motoshima.7)
|
|
54
24
|
|
|
55
25
|
## License
|
|
56
|
-
|
|
57
26
|
[MIT](LICENSE)
|