express-sweet 1.0.11 → 1.0.15
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 +0 -87
- package/docs/index.html +345 -295
- package/docs/styles/docs.css +5 -10
- package/package.json +1 -1
- package/dist/build.common.js +0 -53
- package/dist/build.esm.js +0 -53
- package/types/database/Database.d.ts +0 -162
- package/types/database/Model.d.ts +0 -158
- package/types/database/index.d.ts +0 -4
- package/types/database/loadModels.d.ts +0 -6
- package/types/exceptions/ApiError.d.ts +0 -29
- package/types/exceptions/index.d.ts +0 -2
- package/types/handlebars_helpers/comparison.d.ts +0 -261
- package/types/handlebars_helpers/html.d.ts +0 -11
- package/types/handlebars_helpers/index.d.ts +0 -5
- package/types/handlebars_helpers/object.d.ts +0 -21
- package/types/handlebars_helpers/string.d.ts +0 -12
- package/types/index.d.ts +0 -9
- package/types/interfaces/AuthenticationOptions.d.ts +0 -84
- package/types/interfaces/BoundingBox.d.ts +0 -25
- package/types/interfaces/Config.d.ts +0 -66
- package/types/interfaces/DatabaseOptions.d.ts +0 -7
- package/types/interfaces/FaceMatch.d.ts +0 -31
- package/types/interfaces/RekognitionOptions.d.ts +0 -26
- package/types/interfaces/ViewOptions.d.ts +0 -30
- package/types/interfaces/index.d.ts +0 -8
- package/types/middlewares/Authentication.d.ts +0 -16
- package/types/middlewares/CORS.d.ts +0 -16
- package/types/middlewares/Environment.d.ts +0 -17
- package/types/middlewares/ErrorHandling.d.ts +0 -16
- package/types/middlewares/Global.d.ts +0 -13
- package/types/middlewares/Http.d.ts +0 -16
- package/types/middlewares/Local.d.ts +0 -20
- package/types/middlewares/View.d.ts +0 -16
- package/types/middlewares/index.d.ts +0 -8
- package/types/mount.d.ts +0 -7
- package/types/package.d.ts +0 -91
- package/types/routing/Router.d.ts +0 -19
- package/types/routing/index.d.ts +0 -2
- package/types/services/AWSRekognitionClient.d.ts +0 -359
- package/types/services/Authentication.d.ts +0 -39
- package/types/services/RedisClient.d.ts +0 -80
- package/types/services/index.d.ts +0 -3
- package/types/utils/Types.d.ts +0 -16
- package/types/utils/index.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
## [1.0.11] - 2021-11-10
|
|
6
|
-
### Fixed
|
|
7
|
-
- Fixed a bug that the database config was read before NODE_ENV was set and the database config matching NODE_ENV could not be read.
|
|
8
|
-
|
|
9
|
-
## [1.0.10] - 2021-10-19
|
|
10
|
-
### Fixed
|
|
11
|
-
- Added face similarity found to face search results in collection.
|
|
12
|
-
|
|
13
|
-
```js
|
|
14
|
-
import * as sweet from 'express-sweet';
|
|
15
|
-
|
|
16
|
-
// Find a face from the collection.
|
|
17
|
-
// Output: Face search results: [
|
|
18
|
-
// {
|
|
19
|
-
// faceId: '385e1b00-4ede-4219-a7b0-0b9cbe4953e5',
|
|
20
|
-
// boundingBox: {
|
|
21
|
-
// width: 0.3204210102558136,
|
|
22
|
-
// height: 1.0046900510787964,
|
|
23
|
-
// left: 0.39145898818969727,
|
|
24
|
-
// top: 0.07936319708824158
|
|
25
|
-
// },
|
|
26
|
-
// similarity: 99.98941802978516
|
|
27
|
-
// }
|
|
28
|
-
// ]
|
|
29
|
-
const collectionId = 'MyCollection';
|
|
30
|
-
const res = await client.searchFaces(collectionId, 'img/face.jpg');
|
|
31
|
-
console.log('Face search results:', res);
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## [1.0.9] - 2021-10-13
|
|
35
|
-
### Fixed
|
|
36
|
-
- Updated dependent package'sharp'from 0.25.4 to 0.29.1.
|
|
37
|
-
This update statically links sharp's pre-built libvips binaries, eliminating the need to install Phton.
|
|
38
|
-
Click [here](https://sharp.pixelplumbing.com/changelog) for sharp change log.
|
|
39
|
-
|
|
40
|
-
## [1.0.8] - 2021-09-25
|
|
41
|
-
### Fixed
|
|
42
|
-
- Fixed a bug where the default router couldn't aqua from the endpoint URL.
|
|
43
|
-
|
|
44
|
-
## [1.0.7] - 2021-08-13
|
|
45
|
-
### Fixed
|
|
46
|
-
- Added where member functions to Model class. Please see [here](https://takuya-motoshima.github.io/express-sweet/#model-class) for details.
|
|
47
|
-
|
|
48
|
-
## [1.0.6] - 2021-08-13
|
|
49
|
-
### Fixed
|
|
50
|
-
- Added fn, col and literal member functions to Model class. Please see [here](https://takuya-motoshima.github.io/express-sweet/#model-class) for details.
|
|
51
|
-
|
|
52
|
-
## [1.0.5] - 2021-08-12
|
|
53
|
-
### Fixed
|
|
54
|
-
- Changed the maximum size per field for multipart (multipart/form-data) requests from 1MB to unlimited.
|
|
55
|
-
|
|
56
|
-
## [1.0.4] - 2021-06-13
|
|
57
|
-
### Fixed
|
|
58
|
-
- Fixed a bug where the referrer URL was set in app.locals.currentPath instead of the current URL.
|
|
59
|
-
|
|
60
|
-
## [1.0.3] - 2021-06-13
|
|
61
|
-
### Fixed
|
|
62
|
-
- Change the current URL path of a local variable.app.locals.currentPath is a USVString containing an initial '/' followed by the path of the URL not including the query string or fragment.
|
|
63
|
-
|
|
64
|
-
```js
|
|
65
|
-
// For example, when the current URL is "https://example.com/docs/api?q=value", "/docs/api" is set for "app.locals.currentPath".
|
|
66
|
-
console.log(app.locals.currentPath);
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
## [1.0.2] - 2021-06-10
|
|
70
|
-
### Fixed
|
|
71
|
-
- Updated rollup from version 2.44 to 2.51.
|
|
72
|
-
- Fixed a bug where preloading models failed in cjs.
|
|
73
|
-
|
|
74
|
-
## [1.0.1] - 2021-06-02
|
|
75
|
-
### Fixed
|
|
76
|
-
- Fixed a bug that caused an error when reading options defined in ESM's default Export.
|
|
77
|
-
|
|
78
|
-
[1.0.1]: https://github.com/takuya-motoshima/express-sweet/commit/bd6bf98b7e12f3daca834610b2cb7ad4997ec868
|
|
79
|
-
[1.0.2]: https://github.com/takuya-motoshima/express-sweet/commit/8f7fba9d4875661a02f74327f3ec2298ce76290d
|
|
80
|
-
[1.0.3]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.2...v1.0.3
|
|
81
|
-
[1.0.4]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.3...v1.0.4
|
|
82
|
-
[1.0.5]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.4...v1.0.5
|
|
83
|
-
[1.0.6]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.5...v1.0.6
|
|
84
|
-
[1.0.7]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.6...v1.0.7
|
|
85
|
-
[1.0.8]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.7...v1.0.8
|
|
86
|
-
[1.0.9]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.8...v1.0.9
|
|
87
|
-
[1.0.10]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.9...v1.0.10
|