express-sweet 1.0.44 → 1.1.0

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.
Files changed (73) hide show
  1. package/CHANGELOG.md +30 -14
  2. package/QUICK_START.md +149 -0
  3. package/README.md +52 -147
  4. package/dist/build.common.js +28 -22
  5. package/dist/build.esm.js +28 -22
  6. package/docs/package-lock.json +1243 -35
  7. package/docs/package.json +1 -1
  8. package/docs/src/database-class.hbs +1 -1
  9. package/docs/src/index.hbs +2 -2
  10. package/docs/src/install.hbs +12 -12
  11. package/docs/src/layout/default.hbs +145 -23
  12. package/docs/src/model-class.hbs +28 -28
  13. package/docs/src/rekognition-class.hbs +17 -17
  14. package/docs/src/ses-class.hbs +13 -13
  15. package/docs/src/view.hbs +66 -66
  16. package/docs/v1/authentication-overview.html +144 -22
  17. package/docs/v1/base-configuration.html +144 -22
  18. package/docs/v1/bounding-box-interface.html +144 -22
  19. package/docs/v1/changelog.html +144 -22
  20. package/docs/v1/css/app.css +21 -0
  21. package/docs/v1/database-class.html +145 -23
  22. package/docs/v1/download/templates/cjs/authentication.js +0 -14
  23. package/docs/v1/download/templates/cjs/database.js +3 -3
  24. package/docs/v1/download/templates/esm/authentication.js +0 -14
  25. package/docs/v1/download/templates/esm/database.js +3 -3
  26. package/docs/v1/environment-variable.html +144 -22
  27. package/docs/v1/face-details-emotions-interface.html +144 -22
  28. package/docs/v1/face-details-interface.html +144 -22
  29. package/docs/v1/face-match-interface.html +144 -22
  30. package/docs/v1/facial-recognition-overview.html +144 -22
  31. package/docs/v1/index-face-details-interface.html +144 -22
  32. package/docs/v1/index.html +146 -24
  33. package/docs/v1/install.html +156 -34
  34. package/docs/v1/login-procedure.html +144 -22
  35. package/docs/v1/logout-procedure.html +144 -22
  36. package/docs/v1/media/logos/default-dark.svg +1 -0
  37. package/docs/v1/media/logos/default-small-dark.svg +1 -0
  38. package/docs/v1/media/logos/default-small.svg +1 -1
  39. package/docs/v1/media/logos/default.svg +1 -1
  40. package/docs/v1/media/logos/favicon.svg +1 -1
  41. package/docs/v1/media/screencaps/login.jpg +0 -0
  42. package/docs/v1/media/screencaps/personal.jpg +0 -0
  43. package/docs/v1/media/screencaps/user-editing.jpg +0 -0
  44. package/docs/v1/media/screencaps/users.jpg +0 -0
  45. package/docs/v1/model-class.html +172 -50
  46. package/docs/v1/model-overview.html +144 -22
  47. package/docs/v1/rekognition-class.html +161 -39
  48. package/docs/v1/routing.html +144 -22
  49. package/docs/v1/ses-class.html +157 -35
  50. package/docs/v1/ses-overview.html +144 -22
  51. package/docs/v1/view.html +210 -88
  52. package/package.json +13 -17
  53. package/screencaps/login.jpg +0 -0
  54. package/screencaps/personal.jpg +0 -0
  55. package/screencaps/user-editing.jpg +0 -0
  56. package/screencaps/users.jpg +0 -0
  57. package/types/interfaces/AuthenticationConfig.d.ts +1 -0
  58. package/types/interfaces/BasicConfig.d.ts +1 -0
  59. package/types/interfaces/ViewConfig.d.ts +1 -0
  60. package/types/services/Authentication.d.ts +1 -0
  61. package/docs/v1/css/docs.css +0 -37
  62. package/docs/v1/media/screencaps/login.png +0 -0
  63. package/docs/v1/media/screencaps/personal-editing.png +0 -0
  64. package/docs/v1/media/screencaps/personal.png +0 -0
  65. package/docs/v1/media/screencaps/user-editing.png +0 -0
  66. package/docs/v1/media/screencaps/users.png +0 -0
  67. package/screencaps/login.png +0 -0
  68. package/screencaps/personal-editing.png +0 -0
  69. package/screencaps/personal.png +0 -0
  70. package/screencaps/user-editing.png +0 -0
  71. package/screencaps/users.png +0 -0
  72. /package/docs/{compile-documentation.js → generate-documentation.js} +0 -0
  73. /package/docs/v1/js/{docs.js → app.js} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "express-sweet",
3
- "version": "1.0.44",
3
+ "version": "1.1.0",
4
4
  "description": "Express Extension.",
5
5
  "main": "dist/build.common.js",
6
6
  "module": "dist/build.esm.js",
@@ -14,6 +14,7 @@
14
14
  "LICENSE",
15
15
  "package.json",
16
16
  "README.md",
17
+ "QUICK_START.md",
17
18
  "screencaps/"
18
19
  ],
19
20
  "scripts": {
@@ -66,36 +67,31 @@
66
67
  "dependencies": {
67
68
  "@aws-sdk/client-rekognition": "^3.398.0",
68
69
  "@aws-sdk/client-ses": "^3.398.0",
69
- "@aws-sdk/node-http-handler": "^3.374.0",
70
- "@types/libmime": "^5.0.0",
70
+ "@smithy/node-http-handler": "^2.4.1",
71
71
  "body-parser": "^1.19.0",
72
72
  "connect-redis": "^7.1.0",
73
73
  "cookie-parser": "~1.4.4",
74
74
  "cors": "^2.8.5",
75
75
  "debug": "~2.6.9",
76
76
  "dotenv": "^8.2.0",
77
- "esm": "^3.2.25",
78
- "express": "^4.18.2",
77
+ "express": "^4.18.3",
79
78
  "express-hbs": "^2.3.3",
80
- "express-session": "^1.17.1",
81
- "fs-extra": "^9.0.1",
82
- "glob": "^7.1.6",
79
+ "express-session": "^1.18.0",
83
80
  "handlebars-extd": "^1.0.7",
84
81
  "hbs": "~4.0.4",
85
82
  "http-errors": "~1.6.3",
86
83
  "libmime": "^5.2.1",
87
- "mariadb": "^2.4.0",
84
+ "mariadb": "^3.2.3",
88
85
  "mime-types": "^2.1.27",
89
86
  "module-alias": "^2.2.2",
90
- "moment": "^2.26.0",
87
+ "moment": "^2.30.1",
91
88
  "morgan": "~1.9.1",
92
- "multer": "^1.4.2",
89
+ "multer": "^1.4.5-lts.1",
93
90
  "nodejs-shared": "^1.0.2",
94
91
  "passport": "^0.4.1",
95
92
  "passport-local": "^1.0.0",
96
93
  "redis": "^4.6.8",
97
- "sequelize": "^6.32.0",
98
- "uniqid": "^5.2.0"
94
+ "sequelize": "^6.37.1"
99
95
  },
100
96
  "devDependencies": {
101
97
  "@rollup/plugin-alias": "^5.0.0",
@@ -104,15 +100,15 @@
104
100
  "@rollup/plugin-terser": "^0.4.3",
105
101
  "@types/cookie-parser": "^1.4.2",
106
102
  "@types/debug": "^4.1.5",
107
- "@types/express": "^4.17.14",
108
- "@types/express-session": "^1.17.3",
103
+ "@types/express": "^4.17.21",
104
+ "@types/express-session": "^1.18.0",
109
105
  "@types/http-errors": "^1.8.0",
110
106
  "@types/jest": "^26.0.22",
111
- "@types/multer": "^1.4.5",
107
+ "@types/libmime": "^5.0.3",
108
+ "@types/multer": "^1.4.11",
112
109
  "@types/node": "^14.18.32",
113
110
  "@types/passport": "^1.0.6",
114
111
  "@types/passport-local": "^1.0.33",
115
- "csv-parse": "^5.5.0",
116
112
  "jest": "^26.6.3",
117
113
  "rollup": "^2.79.1",
118
114
  "rollup-plugin-json": "^4.0.0",
Binary file
Binary file
Binary file
Binary file
@@ -1,3 +1,4 @@
1
+ /// <reference types="cookie-parser" />
1
2
  import express from 'express';
2
3
  /**
3
4
  * User authentication configuration interface.
@@ -1,3 +1,4 @@
1
+ /// <reference types="cookie-parser" />
1
2
  import express from 'express';
2
3
  /**
3
4
  * Express Sweet basic configuration interface.
@@ -1,3 +1,4 @@
1
+ /// <reference types="cookie-parser" />
1
2
  import express from 'express';
2
3
  /**
3
4
  * View's configuration interface.
@@ -1,3 +1,4 @@
1
+ /// <reference types="cookie-parser" />
1
2
  import express from 'express';
2
3
  /**
3
4
  * User authentication service.
@@ -1,37 +0,0 @@
1
- [data-bs-theme=dark] {
2
- --bs-code-color: var(--bs-text-gray-800);
3
- --bs-code-bg: #343434;
4
- }
5
-
6
- /* Side menu. */
7
- .menu-item .menu-link .menu-title {
8
- color: var(--bs-text-gray-800) !important;
9
- }
10
-
11
- .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here) .menu-title,
12
- .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-title,
13
- .menu-item .menu-link.active .menu-title {
14
- color: var(--bs-primary) !important;
15
- }
16
-
17
- /* Highlight Code. */
18
- .highlight-code > pre[class*=language-] {
19
- max-height: 200px;
20
- }
21
-
22
- .highlight-code > pre[class*=language-] > code {
23
- white-space: break-spaces;
24
- }
25
-
26
- /* Non-highlighted codes. */
27
- code:not([class*=language-]) {
28
- border: 0;
29
- margin: 0;
30
- }
31
-
32
- /* Demonstration area */
33
- .demonstration-block {
34
- padding: 2.5rem;
35
- border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
36
- border-radius: 0.475rem;
37
- }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
File without changes