@cervio/create-plugin 1.1.1 → 1.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cervio/create-plugin",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Scaffold a Cervio plugin (route, task or write-gate) wired to the Cervio toolchain. Run with: npm create @cervio/plugin",
5
5
  "keywords": [
6
6
  "cervio",
@@ -150,8 +150,9 @@ go through `t(key)`.
150
150
  ## 8. Performance & safety
151
151
 
152
152
  - Declare the GET calls the plugin makes at start in `boot_requests`
153
- (`[{ "path": "/api/v1/views/<view id>/records?limit=50" }]`, max 8, each
154
- covered by a GET `cervio_apis` prefix): Cervio starts them while the plugin
153
+ (`[{ "path": "/api/v1/views/{settings.view_id}/records?limit=50" }]`, max 8, each
154
+ covered by a GET `cervio_apis` prefix; `{settings.<key>}` is a manifest setting that
155
+ Cervio fills in per organization): Cervio starts them while the plugin
155
156
  loads and your own `fetch` of the same path + query gets that response
156
157
  without waiting. `GET /api/v1/me` and `GET /api/v1/entities` are answered at
157
158
  boot already when declared in `cervio_apis`.