@modelform/react-native 0.8.0 → 0.10.0

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/README.md CHANGED
@@ -8,11 +8,14 @@ same format. One JSON model describes both what an app records and how it charts
8
8
  template variables and repeats. Layouts reflow into a single column on phones.
9
9
  - **Forms:** a form is a dashboard whose panels are `input-*` types (number, slider, select, toggle, rating, text,
10
10
  counter, duration). Entries go to an `EntryStore` you provide, and dashboards chart them through the local
11
- datasource.
11
+ datasource. A document can say what it is with `"kind": "form"` or `"kind": "dashboard"`; without it, one with
12
+ inputs counts as a form.
12
13
  - **Datasources:** a local one over recorded entries, and a Grafana one that runs panel queries through a Grafana
13
14
  instance's HTTP API. You can also implement your own.
14
15
  - **Configs:** a manifest format for whole apps (tabs, forms and dashboards), with JSON Schemas, validation that
15
16
  reports issues instead of throwing, and a loader with caching and last-good fallback.
17
+ - **AI assistants:** `templatePrompt()` writes a prompt for making a template with any assistant (Claude, ChatGPT…),
18
+ and `readTemplateAnswer()` reads the template back out of its reply. Nothing calls a model.
16
19
 
17
20
  modelform is not affiliated with or endorsed by Grafana Labs. It reads the dashboard JSON model that Grafana
18
21
  exports, and ignores keys it doesn't understand.