@mostajs/face 1.3.5 → 1.3.7
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/LICENSE +29 -21
- package/dist/register.d.ts +8 -0
- package/dist/register.js +27 -0
- package/package.json +10 -2
- package/wire.json +12 -0
package/LICENSE
CHANGED
|
@@ -1,21 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
GNU AFFERO GENERAL PUBLIC LICENSE
|
|
2
|
+
Version 3, 19 November 2007
|
|
3
|
+
|
|
4
|
+
Copyright (c) 2026 Dr Hamid MADANI <drmdh@msn.com>
|
|
5
|
+
|
|
6
|
+
This program is free software: you can redistribute it and/or modify
|
|
7
|
+
it under the terms of the GNU Affero General Public License as published by
|
|
8
|
+
the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
(at your option) any later version.
|
|
10
|
+
|
|
11
|
+
This program is distributed in the hope that it will be useful,
|
|
12
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
GNU Affero General Public License for more details.
|
|
15
|
+
|
|
16
|
+
You should have received a copy of the GNU Affero General Public License
|
|
17
|
+
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
18
|
+
|
|
19
|
+
COMMERCIAL LICENSE
|
|
20
|
+
|
|
21
|
+
For organizations that cannot comply with the AGPL open-source requirements,
|
|
22
|
+
a commercial license is available. Contact: drmdh@msn.com
|
|
23
|
+
|
|
24
|
+
The commercial license allows you to:
|
|
25
|
+
- Use the software in proprietary/closed-source projects
|
|
26
|
+
- Modify without publishing your source code
|
|
27
|
+
- Get priority support and SLA
|
|
28
|
+
|
|
29
|
+
Contact: Dr Hamid MADANI <drmdh@msn.com>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ModuleRegistration } from '@mostajs/socle';
|
|
2
|
+
/**
|
|
3
|
+
* Face provides face detection, recognition, matching via face-api.js.
|
|
4
|
+
* No schemas — integrates into other modules' pages (clients, scan...).
|
|
5
|
+
*/
|
|
6
|
+
export declare function register(registry: {
|
|
7
|
+
register(r: ModuleRegistration): void;
|
|
8
|
+
}): void;
|
package/dist/register.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @mostajs/face — Runtime module registration
|
|
3
|
+
// Author: Dr Hamid MADANI drmdh@msn.com
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.register = register;
|
|
6
|
+
const menu_js_1 = require("./lib/menu.js");
|
|
7
|
+
/**
|
|
8
|
+
* Face provides face detection, recognition, matching via face-api.js.
|
|
9
|
+
* No schemas — integrates into other modules' pages (clients, scan...).
|
|
10
|
+
*/
|
|
11
|
+
function register(registry) {
|
|
12
|
+
registry.register({
|
|
13
|
+
manifest: {
|
|
14
|
+
name: 'face',
|
|
15
|
+
package: '@mostajs/face',
|
|
16
|
+
version: '2.0.0',
|
|
17
|
+
type: 'functional',
|
|
18
|
+
priority: 55,
|
|
19
|
+
dependencies: ['media'],
|
|
20
|
+
displayName: 'Face Recognition',
|
|
21
|
+
description: 'Face detection, recognition, matching via face-api.js',
|
|
22
|
+
icon: 'ScanFace',
|
|
23
|
+
register: './dist/register.js',
|
|
24
|
+
},
|
|
25
|
+
menu: menu_js_1.faceMenuContribution,
|
|
26
|
+
});
|
|
27
|
+
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mostajs/face",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
4
4
|
"description": "Reusable face recognition module — detection, descriptor extraction, 1:N matching",
|
|
5
5
|
"author": "Dr Hamid MADANI <drmdh@msn.com>",
|
|
6
|
-
"license": "
|
|
6
|
+
"license": "AGPL-3.0-or-later",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
@@ -64,10 +64,16 @@
|
|
|
64
64
|
"types": "./dist/lib/menu.d.ts",
|
|
65
65
|
"import": "./dist/lib/menu.js",
|
|
66
66
|
"default": "./dist/lib/menu.js"
|
|
67
|
+
},
|
|
68
|
+
"./register": {
|
|
69
|
+
"types": "./dist/register.d.ts",
|
|
70
|
+
"import": "./dist/register.js",
|
|
71
|
+
"default": "./dist/register.js"
|
|
67
72
|
}
|
|
68
73
|
},
|
|
69
74
|
"files": [
|
|
70
75
|
"dist",
|
|
76
|
+
"wire.json",
|
|
71
77
|
"face.wire.json",
|
|
72
78
|
"LICENSE",
|
|
73
79
|
"README.md"
|
|
@@ -97,10 +103,12 @@
|
|
|
97
103
|
},
|
|
98
104
|
"peerDependencies": {
|
|
99
105
|
"@mostajs/menu": ">=1.0.2",
|
|
106
|
+
"@mostajs/socle": ">=2.0.0",
|
|
100
107
|
"react": ">=18"
|
|
101
108
|
},
|
|
102
109
|
"devDependencies": {
|
|
103
110
|
"@mostajs/menu": "^1.0.2",
|
|
111
|
+
"@mostajs/socle": "^2.0.0",
|
|
104
112
|
"@types/react": "^19.0.0",
|
|
105
113
|
"react": "^19.0.0",
|
|
106
114
|
"typescript": "^5.6.0"
|
package/wire.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "face",
|
|
3
|
+
"package": "@mostajs/face",
|
|
4
|
+
"version": "2.0.0",
|
|
5
|
+
"type": "functional",
|
|
6
|
+
"priority": 55,
|
|
7
|
+
"dependencies": ["media"],
|
|
8
|
+
"displayName": "Face Recognition",
|
|
9
|
+
"description": "Face detection, recognition, matching via face-api.js",
|
|
10
|
+
"icon": "ScanFace",
|
|
11
|
+
"register": "./dist/register.js"
|
|
12
|
+
}
|