@mostajs/face 1.3.5 → 1.3.6
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/dist/register.d.ts +8 -0
- package/dist/register.js +27 -0
- package/package.json +9 -1
- package/wire.json +12 -0
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mostajs/face",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.6",
|
|
4
4
|
"description": "Reusable face recognition module — detection, descriptor extraction, 1:N matching",
|
|
5
5
|
"author": "Dr Hamid MADANI <drmdh@msn.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -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
|
+
}
|