@protobase/server 0.22.4 → 0.22.5

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.
@@ -137,26 +137,31 @@ const widgetShape = shapes.oneOf({
137
137
  range: shapes.object({
138
138
  kind: shapes.data,
139
139
  field: shapes.field,
140
- histogram: shapes.data
140
+ histogram: shapes.data,
141
+ secondary: shapes.data
141
142
  }, { requires: ["field"] }),
142
143
  facets: shapes.object({
143
144
  kind: shapes.data,
144
145
  field: shapes.field,
145
- search: shapes.data
146
+ search: shapes.data,
147
+ secondary: shapes.data
146
148
  }, { requires: ["field"] }),
147
149
  dateRange: shapes.object({
148
150
  kind: shapes.data,
149
151
  field: shapes.field,
150
- presets: shapes.data
152
+ presets: shapes.data,
153
+ secondary: shapes.data
151
154
  }, { requires: ["field"] }),
152
155
  toggle: shapes.object({
153
156
  kind: shapes.data,
154
- field: shapes.field
157
+ field: shapes.field,
158
+ secondary: shapes.data
155
159
  }, { requires: ["field"] }),
156
160
  flags: shapes.object({
157
161
  kind: shapes.data,
158
162
  fields: shapes.list(shapes.field, { nonEmpty: true }),
159
- label: shapes.data
163
+ label: shapes.data,
164
+ secondary: shapes.data
160
165
  }, { requires: ["fields"] })
161
166
  });
162
167
  const layoutShape = (resource, model, models) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/server",
3
- "version": "0.22.4",
3
+ "version": "0.22.5",
4
4
  "description": "The Protobase REST API as a Hono app, with Better Auth sign-in.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -31,9 +31,9 @@
31
31
  "dependencies": {
32
32
  "@better-auth/passkey": "^1.7.7",
33
33
  "@better-auth/sso": "^1.7.7",
34
- "@protobase/layout": "0.22.4",
35
- "@protobase/query": "0.22.4",
36
- "@protobase/schema": "0.22.4",
34
+ "@protobase/layout": "0.22.5",
35
+ "@protobase/query": "0.22.5",
36
+ "@protobase/schema": "0.22.5",
37
37
  "@react-email/render": "^2.1.0",
38
38
  "@scalar/hono-api-reference": "^0.12.10",
39
39
  "@sentry/core": "^11.7.0",