@modelform/react-native 0.15.0 → 0.16.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/dist/{chunk-P4NMZ77W.js → chunk-PVLALJT5.js} +290 -262
- package/dist/{chunk-GWGDDKJE.mjs → chunk-Q5GMOQT7.mjs} +290 -262
- package/dist/core/authoring.d.ts +2 -2
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/core/schema.d.ts +7 -1
- package/dist/index.js +162 -162
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/schema/dashboard.schema.json +5 -1
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
"$ref": "#/definitions/DocumentKind",
|
|
12
12
|
"description": "Whether this document is a form (for recording entries) or a dashboard (for showing them). Without it, a document with input-* panels counts as a form. See documentKind()."
|
|
13
13
|
},
|
|
14
|
+
"localOnly": {
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"description": "Forms: keep what this form records on the device where it's recorded. Apps that sync entries (to an account, other devices, a server) must leave these out. Off by default."
|
|
17
|
+
},
|
|
14
18
|
"uid": {
|
|
15
19
|
"type": "string"
|
|
16
20
|
},
|
|
@@ -110,7 +114,7 @@
|
|
|
110
114
|
"form",
|
|
111
115
|
"dashboard"
|
|
112
116
|
],
|
|
113
|
-
"description": "The subset of the Grafana dashboard JSON model that modelform understands. Unknown keys are tolerated and ignored, so dashboards exported from Grafana load as-is. See https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/view-dashboard-json-model/\n\nmodelform adds
|
|
117
|
+
"description": "The subset of the Grafana dashboard JSON model that modelform understands. Unknown keys are tolerated and ignored, so dashboards exported from Grafana load as-is. See https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/view-dashboard-json-model/\n\nmodelform adds four extensions, all of which Grafana ignores: - `kind` to say whether the document is a form or a dashboard - `localOnly` to keep a form's entries on the device that records them - `panel.mobile` to tune phone layout per panel - `input-*` panel types for data entry forms (see inputs.ts)"
|
|
114
118
|
},
|
|
115
119
|
"Panel": {
|
|
116
120
|
"type": "object",
|