@savvifi/meridian-aion-web 0.3.0 → 0.3.1

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.
@@ -49,7 +49,12 @@ export async function renderMeridianEntityView(input) {
49
49
  const composition = compositions[entityType];
50
50
  if (!composition)
51
51
  return miss();
52
- const view = projectEntityView(composition, { kind });
52
+ // CLIENT pagination: the aion entity list ops return a bounded set and don't
53
+ // honor a client-supplied page size (the composition fixes it), so paginate the
54
+ // fetched rows in the renderer — the page-size selector then slices locally and
55
+ // the count is real. This matches the old studio DataTableView (fetch + local
56
+ // paginate); server-cursor paging would need the ops to accept a runtime size.
57
+ const view = projectEntityView(composition, { kind, pagination: "client", pageSize: 20 });
53
58
  const invoker = createEntityOpsInvoker(caller.entities?.ops);
54
59
  // Pre-fetch page-0 for the table so the SSR HTML carries real rows (and the
55
60
  // client hydrates without an immediate refetch). Non-fatal: on failure we
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savvifi/meridian-aion-web",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "description": "The aion/web <-> meridian-ux render seam: renderMeridianEntityView (server — parse route, load composition, project to a ViewDescriptor, pre-fetch page-0, render + dehydrate) + MeridianEntityView (client hydration) + savviSkin. Lets an SSR host (e.g. aion/web on Hono+Vite) render entity routes through meridian instead of the legacy React path.",
6
6
  "publishConfig": {