express-sweet 1.0.38 → 1.0.40
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 +78 -1
- package/dist/build.common.js +6 -6
- package/dist/build.esm.js +2 -2
- package/docs/index.html +1 -1
- package/package.json +1 -1
- package/types/exceptions/FaceCollectionCreateFailed.d.ts +25 -0
- package/types/exceptions/FaceCollectionDeleteFailed.d.ts +25 -0
- package/types/exceptions/FaceIndexFailed.d.ts +20 -0
- package/types/exceptions/FaceMissingInPhoto.d.ts +11 -0
- package/types/exceptions/FacesMultipleInPhoto.d.ts +11 -0
- package/types/exceptions/index.d.ts +6 -6
- package/types/exceptions/CollectionCreationError.d.ts +0 -13
- package/types/exceptions/CollectionDeletionError.d.ts +0 -13
- package/types/exceptions/FaceIndexError.d.ts +0 -13
- package/types/exceptions/MissingFaceInImageError.d.ts +0 -13
- package/types/exceptions/MultipleFacesInImageError.d.ts +0 -13
package/docs/index.html
CHANGED
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
<!--begin::Title-->
|
|
82
82
|
<h1 class="page-heading d-flex text-dark fw-bold fs-3 justify-content-center align-items-baseline my-0">
|
|
83
83
|
<!-- <h1 class="page-heading d-flex text-dark fw-bold fs-3 flex-column justify-content-center my-0"> -->
|
|
84
|
-
DevDocs<a href="#changelog" class="badge fw-semibold fs-7 px-2 ms-2 bg-body text-dark text-hover-primary shadow-sm">v1.0.
|
|
84
|
+
DevDocs<a href="#changelog" class="badge fw-semibold fs-7 px-2 ms-2 bg-body text-dark text-hover-primary shadow-sm">v1.0.40</a>
|
|
85
85
|
</h1>
|
|
86
86
|
<!--end::Title-->
|
|
87
87
|
</div>
|
package/package.json
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Face collection creation failed.
|
|
3
|
+
*/
|
|
4
|
+
export default class extends Error {
|
|
5
|
+
/**
|
|
6
|
+
* Error Name.
|
|
7
|
+
* @type {string}
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Collection ID.
|
|
12
|
+
* @type {string}
|
|
13
|
+
*/
|
|
14
|
+
collectionId: string;
|
|
15
|
+
/**
|
|
16
|
+
* HTTP status code.
|
|
17
|
+
* @type {number}
|
|
18
|
+
*/
|
|
19
|
+
httpStatusCode: number;
|
|
20
|
+
/**
|
|
21
|
+
* @param {string} collectionId Collection ID.
|
|
22
|
+
* @param {number} httpStatusCode HTTP status code.
|
|
23
|
+
*/
|
|
24
|
+
constructor(collectionId: string, httpStatusCode: number);
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Collection deletion error.
|
|
3
|
+
*/
|
|
4
|
+
export default class extends Error {
|
|
5
|
+
/**
|
|
6
|
+
* Error Name.
|
|
7
|
+
* @type {string}
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Collection ID.
|
|
12
|
+
* @type {string}
|
|
13
|
+
*/
|
|
14
|
+
collectionId: string;
|
|
15
|
+
/**
|
|
16
|
+
* HTTP status code.
|
|
17
|
+
* @type {number}
|
|
18
|
+
*/
|
|
19
|
+
httpStatusCode: number;
|
|
20
|
+
/**
|
|
21
|
+
* @param {string} collectionId Collection ID.
|
|
22
|
+
* @param {number} httpStatusCode HTTP status code.
|
|
23
|
+
*/
|
|
24
|
+
constructor(collectionId: string, httpStatusCode: number);
|
|
25
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Face indexing failed.
|
|
3
|
+
*/
|
|
4
|
+
export default class extends Error {
|
|
5
|
+
/**
|
|
6
|
+
* Error Name.
|
|
7
|
+
* @type {string}
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Collection ID.
|
|
12
|
+
* @type {string}
|
|
13
|
+
*/
|
|
14
|
+
collectionId: string;
|
|
15
|
+
/**
|
|
16
|
+
* @param {string} collectionId Collection ID.
|
|
17
|
+
* @param {number} httpStatusCode HTTP status code.
|
|
18
|
+
*/
|
|
19
|
+
constructor(collectionId: string);
|
|
20
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
export {
|
|
1
|
+
import FaceCollectionCreateFailed from '~/exceptions/FaceCollectionCreateFailed';
|
|
2
|
+
import FaceCollectionDeleteFailed from '~/exceptions/FaceCollectionDeleteFailed';
|
|
3
|
+
import FaceIndexFailed from '~/exceptions/FaceIndexFailed';
|
|
4
|
+
import FaceMissingInPhoto from '~/exceptions/FaceMissingInPhoto';
|
|
5
|
+
import FacesMultipleInPhoto from '~/exceptions/FacesMultipleInPhoto';
|
|
6
|
+
export { FaceCollectionCreateFailed, FaceCollectionDeleteFailed, FaceIndexFailed, FaceMissingInPhoto, FacesMultipleInPhoto, };
|