@happyvertical/smrt-content 0.40.13 → 0.40.15
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 +3 -3
- package/dist/index.js +1 -1
- package/dist/manifest.json +2 -2
- package/dist/smrt-knowledge.json +4 -4
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -129,7 +129,7 @@ await article.save();
|
|
|
129
129
|
Governance stays opt-in. Plain `Content` records behave like legacy `smrt-content`
|
|
130
130
|
unless an assignment matches their `type` and optional exact `variant`.
|
|
131
131
|
|
|
132
|
-
Persisted governance definitions are modeled as first-class
|
|
132
|
+
Persisted governance definitions are modeled as first-class s-m-r-t objects:
|
|
133
133
|
|
|
134
134
|
- `ContentGovernancePolicy`
|
|
135
135
|
- `ContentGovernanceProfile`
|
|
@@ -375,7 +375,7 @@ Content contributions are held separately from editorial `Content` and `Asset`
|
|
|
375
375
|
records until they are promoted. That keeps plain `smrt-content` generic, while
|
|
376
376
|
supporting community intake and moderation workflows when an app opts in.
|
|
377
377
|
|
|
378
|
-
The contribution holding layer adds these first-class
|
|
378
|
+
The contribution holding layer adds these first-class s-m-r-t objects:
|
|
379
379
|
|
|
380
380
|
- `ContentContributionType`
|
|
381
381
|
- `ContentContributor`
|
|
@@ -626,7 +626,7 @@ The `@smrt()` decorator generates REST API, MCP tools, and CLI commands.
|
|
|
626
626
|
| GET | `/api/v1/contents/governance` | Governance definitions |
|
|
627
627
|
| GET | `/api/v1/contents/governance/resolve?type=...` | Resolve governance |
|
|
628
628
|
|
|
629
|
-
All
|
|
629
|
+
All s-m-r-t models (`ContentGovernancePolicy`, `ContentContribution`, etc.)
|
|
630
630
|
also get standard CRUD + custom collection-level endpoints.
|
|
631
631
|
|
|
632
632
|
## Dependencies
|