@jsenv/navi 0.30.36 → 0.30.37

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/resource.md CHANGED
@@ -536,6 +536,10 @@ const ORDER = resource("order", {
536
536
  <Button action={ORDER.cancel.bindParams({ id })}>Cancel</Button>;
537
537
  ```
538
538
 
539
+ A write's name is its own: never a verb's, in any case (`post`, `Patch`,
540
+ `get_many`…), nor a member the resource already exposes (`store`, `one`,
541
+ `scopedMany`, `withParams`…). Declaring the resource throws otherwise.
542
+
539
543
  `ORDER.cancel` is an action beside the verbs: its own loading and error on the
540
544
  button that runs it, held by the network policy as its `verb`, and answered as
541
545
  that verb is (a `PATCH` returns the item, which is upserted). Its `rerunOn` says
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/navi",
3
- "version": "0.30.36",
3
+ "version": "0.30.37",
4
4
  "type": "module",
5
5
  "description": "Library of components including navigation to create frontend applications",
6
6
  "repository": {