@molecule/api-ai-moderation-pipeline 1.0.4 → 1.0.5
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 +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-10-
|
|
6
|
+
Generated: 2026-10-26T04:22:02.666Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/api-ai-moderation-pipeline
|
|
@@ -229,6 +229,7 @@ function moderate(opts: {
|
|
|
229
229
|
policy?: ModerationPolicy
|
|
230
230
|
ownerId?: string | null
|
|
231
231
|
resource?: { type: string; id: string }
|
|
232
|
+
/** Whether to write the audit log row. Defaults to true. */
|
|
232
233
|
audit?: boolean
|
|
233
234
|
}): Promise<ModerationDecision>
|
|
234
235
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/api-ai-moderation-pipeline",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "AI content moderation pipeline — classify, policy-match, action, audit-log",
|
|
5
5
|
"homepage": "https://www.molecule.dev/packages/api-ai-moderation-pipeline",
|
|
6
6
|
"type": "module",
|