@xcitedbs/client 0.3.6 → 0.3.7
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/llms-full.txt +1 -1
- package/package.json +1 -1
package/llms-full.txt
CHANGED
|
@@ -1167,7 +1167,7 @@ Definitions are stored as JSON under **`/_xcitedb/triggers`**. After a matching
|
|
|
1167
1167
|
|
|
1168
1168
|
### BEFORE triggers (predicate-only)
|
|
1169
1169
|
|
|
1170
|
-
`phase: "before"` triggers run *before* the write applies and reject it with **HTTP 422** when the match and conditions both hold. They are predicate-only — no `action` / `actions`. Fired
|
|
1170
|
+
`phase: "before"` triggers run *before* the write applies and reject it with **HTTP 422** when the match and conditions both hold. They are predicate-only — no `action` / `actions`. Fired on **all server-side write paths**: `/api/v1/txn` operations, single and batch `/api/v1/meta` writes (incl. `DELETE` clears), `/api/v1/json-documents` writes and deletes, `/api/v1/documents` (XML) writes / batch / deletes, and document import. Rejections return `{ "code": 422, "error": <reject_reason>, "trigger_id", "committed": false }`.
|
|
1171
1171
|
|
|
1172
1172
|
The expression sees **`prior`** alongside `value`:
|
|
1173
1173
|
|