hikvision-server 1.0.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.
package/.env.example ADDED
@@ -0,0 +1,10 @@
1
+ # Hikvision Platform Configuration
2
+ HIK_HOST=127.0.0.1
3
+ HIK_APP_KEY=your_app_key_here
4
+ HIK_APP_SECRET=your_app_secret_here
5
+
6
+ # API Server Configuration
7
+ API_SERVER_PORT=3000
8
+
9
+ # Web Frontend Configuration
10
+ WEB_PORT=3030
package/.server.pid ADDED
@@ -0,0 +1 @@
1
+ 6990
package/config.json ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "apiServer": {
3
+ "port": 3000
4
+ },
5
+ "web": {
6
+ "port": 3030
7
+ },
8
+ "hikvision": {
9
+ "host": "127.0.0.1:443",
10
+ "appKey": "2.....5",
11
+ "appSecret": "U8......XTs"
12
+ },
13
+ "manager": {
14
+ "port": 3001,
15
+ "corsOrigins": [
16
+ "127.0.0.1"
17
+ ]
18
+ },
19
+ "auth": {
20
+ "apiKey": "hk_cli_a8f3e9b2c1d4f6e7h8i9j0k1l2m3n4o6"
21
+ }
22
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Hikvision Manager - Express API Server
3
+ *
4
+ * 提供 HTTP API 接口,前端通过 Ajax 调用
5
+ * 内部调用 services 层与海康平台通信
6
+ */
7
+ export {};
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}