@memberjunction/component-registry-server 4.0.0 → 4.1.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/README.md +28 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,11 +1,38 @@
|
|
|
1
1
|
# @memberjunction/component-registry-server
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
REST API server for serving MemberJunction interactive components. Provides a standardized API for discovering, searching, and retrieving components and their specifications.
|
|
4
4
|
|
|
5
5
|
## Overview
|
|
6
6
|
|
|
7
7
|
The Component Registry Server provides a standardized REST API for discovering and retrieving MemberJunction interactive components. It implements the Component Registry API v1 specification, allowing any MemberJunction system to connect and consume components dynamically.
|
|
8
8
|
|
|
9
|
+
```mermaid
|
|
10
|
+
graph TD
|
|
11
|
+
A["Component Registry Server<br/>(Express)"] --> B["GET /api/v1/registry"]
|
|
12
|
+
A --> C["GET /api/v1/health"]
|
|
13
|
+
A --> D["GET /api/v1/components"]
|
|
14
|
+
A --> E["GET /api/v1/components/search"]
|
|
15
|
+
A --> F["GET /api/v1/components/:ns/:name"]
|
|
16
|
+
|
|
17
|
+
A --> G["MemberJunction Database"]
|
|
18
|
+
G --> H["MJ: Components"]
|
|
19
|
+
G --> I["MJ: Component Registries"]
|
|
20
|
+
G --> J["MJ: Component Libraries"]
|
|
21
|
+
|
|
22
|
+
K["Client SDK"] -->|HTTP| A
|
|
23
|
+
L["MJ Explorer"] -->|HTTP| A
|
|
24
|
+
|
|
25
|
+
style A fill:#2d6a9f,stroke:#1a4971,color:#fff
|
|
26
|
+
style B fill:#2d8659,stroke:#1a5c3a,color:#fff
|
|
27
|
+
style C fill:#2d8659,stroke:#1a5c3a,color:#fff
|
|
28
|
+
style D fill:#2d8659,stroke:#1a5c3a,color:#fff
|
|
29
|
+
style E fill:#2d8659,stroke:#1a5c3a,color:#fff
|
|
30
|
+
style F fill:#2d8659,stroke:#1a5c3a,color:#fff
|
|
31
|
+
style G fill:#7c5295,stroke:#563a6b,color:#fff
|
|
32
|
+
style K fill:#b8762f,stroke:#8a5722,color:#fff
|
|
33
|
+
style L fill:#b8762f,stroke:#8a5722,color:#fff
|
|
34
|
+
```
|
|
35
|
+
|
|
9
36
|
## Features
|
|
10
37
|
|
|
11
38
|
- **REST API v1**: Standardized endpoints for component discovery and retrieval
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/component-registry-server",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "MemberJunction: Component Registry Server API Implementation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"author": "MemberJunction.com",
|
|
23
23
|
"license": "ISC",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@memberjunction/core": "4.
|
|
26
|
-
"@memberjunction/global": "4.
|
|
27
|
-
"@memberjunction/core-entities": "4.
|
|
28
|
-
"@memberjunction/interactive-component-types": "4.
|
|
29
|
-
"@memberjunction/sqlserver-dataprovider": "4.
|
|
25
|
+
"@memberjunction/core": "4.1.0",
|
|
26
|
+
"@memberjunction/global": "4.1.0",
|
|
27
|
+
"@memberjunction/core-entities": "4.1.0",
|
|
28
|
+
"@memberjunction/interactive-component-types": "4.1.0",
|
|
29
|
+
"@memberjunction/sqlserver-dataprovider": "4.1.0",
|
|
30
30
|
"@types/express": "^5.0.6",
|
|
31
31
|
"express": "^5.2.1",
|
|
32
32
|
"cors": "^2.8.6",
|