@protobase/cli 0.22.7 → 0.22.9

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.
@@ -127,7 +127,8 @@ const displayShapes = (model, view, models) => (view.list?.displays ?? []).flatM
127
127
  if (display.kind === "board") {
128
128
  const by = model.fields[display.by];
129
129
  if (!by) return [];
130
- const sort = listSort(model, view);
130
+ const rank = model.position && model.position.within === void 0 ? model.fields[model.position.field] : void 0;
131
+ const sort = rank ? [[rank.name, "asc"]] : listSort(model, view);
131
132
  return [{
132
133
  resource: model.name,
133
134
  request: request(model.name, `${by.name} = …`, sort),
package/dist/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "0.22.7";
2
+ var version = "0.22.9";
3
3
  //#endregion
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/cli",
3
- "version": "0.22.7",
3
+ "version": "0.22.9",
4
4
  "description": "The protobase command: scaffold, doctor, dev, build and serve a Protobase project.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -34,11 +34,11 @@
34
34
  "dependencies": {
35
35
  "@hono/node-server": "^2.1.3",
36
36
  "@hono/vite-dev-server": "^0.26.1",
37
- "@protobase/layout": "0.22.7",
38
- "@protobase/query": "0.22.7",
39
- "@protobase/schema": "0.22.7",
40
- "@protobase/server": "0.22.7",
41
- "@protobase/ui": "0.22.7",
37
+ "@protobase/layout": "0.22.9",
38
+ "@protobase/query": "0.22.9",
39
+ "@protobase/schema": "0.22.9",
40
+ "@protobase/server": "0.22.9",
41
+ "@protobase/ui": "0.22.9",
42
42
  "@react-email/render": "^2.1.0",
43
43
  "@scalar/hono-api-reference": "^0.12.10",
44
44
  "@tailwindcss/vite": "^4.3.3",