openuispec 0.1.20 → 0.1.21
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 +2 -2
- package/package.json +1 -1
- package/schema/defs/action.schema.json +1 -1
package/README.md
CHANGED
|
@@ -96,7 +96,7 @@ openuispec/
|
|
|
96
96
|
│ │ └── icons.schema.json # Icon token schema
|
|
97
97
|
│ ├── defs/
|
|
98
98
|
│ │ ├── common.schema.json # Shared types (icons, badges, etc.)
|
|
99
|
-
│ │ ├── action.schema.json #
|
|
99
|
+
│ │ ├── action.schema.json # 14 action types (discriminated union)
|
|
100
100
|
│ │ ├── data-binding.schema.json # Data sources, state, params
|
|
101
101
|
│ │ ├── adaptive.schema.json # Adaptive override pattern
|
|
102
102
|
│ │ └── validation.schema.json # Validation rule definitions
|
|
@@ -210,7 +210,7 @@ Paths are relative to `openuispec.yaml`. The `.openuispec-state.json` file is st
|
|
|
210
210
|
| 6. Navigation flows | Multi-screen journeys with transitions and progress |
|
|
211
211
|
| 7. Platform adaptation | Per-target overrides for iOS, Android, Web |
|
|
212
212
|
| 8. AI generation contract | Compliance levels (MUST/SHOULD/MAY), validation, drift detection |
|
|
213
|
-
| 9. Action system |
|
|
213
|
+
| 9. Action system | 14 action types, composition, optimistic updates |
|
|
214
214
|
| 10. Data binding & state | Sources, paths, format expressions, reactivity, caching |
|
|
215
215
|
| 11. Internationalization | Locale files, `$t:` references, ICU MessageFormat, RTL, platform mapping |
|
|
216
216
|
| 12. Custom contract extensions | `x_` prefixed domain-specific contracts, registration, dependencies |
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://openuispec.org/schema/defs/action.schema.json",
|
|
4
4
|
"title": "OpenUISpec Action",
|
|
5
|
-
"description": "Discriminated union of the
|
|
5
|
+
"description": "Discriminated union of the 14 action types in OpenUISpec",
|
|
6
6
|
|
|
7
7
|
"type": "object",
|
|
8
8
|
"required": ["type"],
|