@reventlessdev/reventless-spec 3.0.0-alpha.69 → 3.0.0-alpha.71

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/CHANGELOG.md CHANGED
@@ -3,6 +3,21 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 3.0.0-alpha.71 (2026-07-10)
7
+
8
+ **Note:** Version bump only for package @reventlessdev/reventless-spec
9
+
10
+
11
+
12
+
13
+
14
+ # 3.0.0-alpha.70 (2026-07-10)
15
+
16
+ ### Features
17
+
18
+ * **reventless-ppx:** add [@group](https://github.com/group)By state-field annotation → x-reventless-group-by ([9e7a7b2](https://github.com/ReventlessDev/reventless-core/commit/9e7a7b29e54fb4eda1c6a145c0e7b6dcf26940ee))
19
+
20
+
6
21
  # 3.0.0-alpha.69 (2026-07-08)
7
22
 
8
23
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/reventless-spec",
3
- "version": "3.0.0-alpha.69",
3
+ "version": "3.0.0-alpha.71",
4
4
  "description": "Specifications for Reventless",
5
5
  "license": "Apache-2.0",
6
6
  "bin": {
@@ -4,8 +4,9 @@ Spec describing the structural annotations declared on the fields of an
4
4
  `stateSchema` whenever a field carries a structural annotation (`@id`,
5
5
  `@compositeId`, `@subId`, `@compositeSubId`, `@index`), a visibility
6
6
  annotation (`@hidden`, `@summary`), a hierarchical-rendering annotation
7
- (`@drillTarget`, `@collapsed`), or a server-query opt-in annotation
8
- (`@scan`, `@scanSort`). Downstream consumers (UI, MCP, codegen) read the
7
+ (`@drillTarget`, `@collapsed`), a server-query opt-in annotation
8
+ (`@scan`, `@scanSort`), or a UI-list annotation (`@status`, `@groupBy`).
9
+ Downstream consumers (UI, MCP, codegen) read the
9
10
  spec to surface field roles in JSON Schema as `x-reventless-*` extension
10
11
  properties.
11
12
 
@@ -47,6 +48,14 @@ type stateAnnotationSpec = {
47
48
  */
48
49
  status: option<string>,
49
50
  /**
51
+ Field annotated `@groupBy` on the state record (PPX-emitted). `Some(name)`
52
+ when one such annotation exists; the PPX errors on duplicate `@groupBy`
53
+ annotations within the same record. `SuryToJsonSchema.deriveObjectSchema`
54
+ emits `x-reventless-group-by: true` on the named field, which the UI's
55
+ list view reads to render rows in sections keyed on that field.
56
+ */
57
+ groupBy: option<string>,
58
+ /**
50
59
  Component-level visibility hint from `@@reventless.visibility(...)`.
51
60
  `Some("Internal")` when the file-level attribute is `Internal`; `None`
52
61
  (omitted) for the default `Public`. `SuryToJsonSchema.deriveObjectSchema`