@lotics/app-sdk 0.133.7 → 0.133.8

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/docs/mutations.md CHANGED
@@ -440,8 +440,8 @@ Row-level query results carry a `__source_locked` addressing column automaticall
440
440
  project/filter/sort/join but not grouping, where rows stop being records).
441
441
  `readLocked(row)` — pass the **whole row**, not a cell — returns `true` for a locked record,
442
442
  `false` when the flag is absent (`dist/row.d.ts`). Use it to render a locked state and to
443
- switch the save path. `readLockedBy(row)` names who can change it — its table's approvers, else
444
- the organization's admins — for a member of the app's organization; `[]` for anyone else.
443
+ switch the save path. `readLockedBy(row)` names who can change it — the people who manage its table (its owner, its
444
+ managers and its workspace's admins) — for a member of the app's organization; `[]` for anyone else.
445
445
 
446
446
  ### What a write against a locked record does
447
447
 
@@ -487,7 +487,7 @@ Contract points:
487
487
  a whole. Include every changed field in the same call; don't submit per-field requests.
488
488
  - **Nothing changes immediately.** The tool returns
489
489
  `{ request_id, status: "pending" }`; the record's values update only when an
490
- approver (the table's configured approvers, else org admins) accepts. The submission
490
+ approver (one of the people who manage the table) accepts. The submission
491
491
  succeeds, so the automatic re-read fires and returns the *old* values — that is correct,
492
492
  and it is why the pending state must come from the RESULT rather than from the row. Render
493
493
  it from `data.request_id`; don't poll the record for values no one has approved yet.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/app-sdk",
3
- "version": "0.133.7",
3
+ "version": "0.133.8",
4
4
  "description": "The SDK a Lotics custom-code app reads and writes through — typed hooks over the host bridge, cell readers, mount() and AppRouter",
5
5
  "type": "module",
6
6
  "exports": {