@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 +1 -1
- package/template/AGENTS.md +3 -2
package/package.json
CHANGED
package/template/AGENTS.md
CHANGED
|
@@ -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
|
|
154
|
-
covered by a GET `cervio_apis` prefix
|
|
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`.
|