@lotics/app-sdk 0.98.1 → 0.98.3

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.
@@ -343,8 +343,11 @@ export interface WorkflowResult<TData = unknown> {
343
343
  * Either half of the round trip fills it: the SERVER, when the payload does
344
344
  * not match what the alias declares, and the workflow's own
345
345
  * `return({ field_errors })`. One key, so a screen wires the control once
346
- * rather than branching on which half refused. Absent when neither named a
347
- * field — and an older server names none.
346
+ * rather than branching on which half refused. A step whose write the
347
+ * target table refuses (its `before_*` workflow, a unique tuple) keys its
348
+ * sentence by the FIELD key (`fld_…`) instead, since the table has never
349
+ * heard of the input. Absent when nothing named a field — and an older
350
+ * server names none.
348
351
  */
349
352
  field_errors?: Record<string, string>;
350
353
  }
package/docs/queries.md CHANGED
@@ -570,7 +570,9 @@ tokens fail deploy.
570
570
  axes from ONE named query — don't shard into a query-per-combination. Mark each scoping param
571
571
  `required: false`; the server **prunes every filter condition (or traversal) whose
572
572
  `{{params.x}}` the caller didn't pass** — then collapses emptied groups — so an unset axis
573
- stops constraining instead of erroring. No-op for all-required queries.
573
+ stops constraining instead of erroring. A param passed empty (`""`, `[]`, `null`) counts as not
574
+ passed. A REQUIRED param passed empty is refused (400, naming the condition it feeds) when a
575
+ filter reads it.
574
576
 
575
577
  ```jsonc
576
578
  "search": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/app-sdk",
3
- "version": "0.98.1",
3
+ "version": "0.98.3",
4
4
  "description": "Runtime SDK for Lotics custom-code apps \u2014 typed hooks, postMessage bridge, mount entry point",
5
5
  "type": "module",
6
6
  "exports": {