@protobase/server 0.19.4 → 0.19.6
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/dist/view-access.js +3 -1
- package/package.json +4 -4
package/dist/view-access.js
CHANGED
|
@@ -114,6 +114,7 @@ const layoutShape = (resource, model, models) => shapes.oneOf({
|
|
|
114
114
|
title: shapes.data,
|
|
115
115
|
help: shapes.data,
|
|
116
116
|
helpWhen: shapes.data,
|
|
117
|
+
presentation: shapes.data,
|
|
117
118
|
fields: shapes.list(shapes.field, { nonEmpty: true })
|
|
118
119
|
}, { requires: ["fields"] }),
|
|
119
120
|
sidebar: shapes.object({
|
|
@@ -192,7 +193,8 @@ const viewShape = (resource, model, models, prompted) => shapes.object({
|
|
|
192
193
|
listOf: shapes.field,
|
|
193
194
|
signIn: shapes.data,
|
|
194
195
|
saveSearch: shapes.map((search) => prompted.has(search.resource) || models[search.resource] ? search : void 0),
|
|
195
|
-
searchesOf: shapes.map((searches) => searchesOfFor(searches, resource, models))
|
|
196
|
+
searchesOf: shapes.map((searches) => searchesOfFor(searches, resource, models)),
|
|
197
|
+
import: shapes.data
|
|
196
198
|
});
|
|
197
199
|
/**
|
|
198
200
|
* The view with every reference to a field the caller cannot read removed: list columns, sort, search and displays,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/server",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.6",
|
|
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": {
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@better-auth/passkey": "^1.7.7",
|
|
33
|
-
"@protobase/layout": "0.19.
|
|
34
|
-
"@protobase/query": "0.19.
|
|
35
|
-
"@protobase/schema": "0.19.
|
|
33
|
+
"@protobase/layout": "0.19.6",
|
|
34
|
+
"@protobase/query": "0.19.6",
|
|
35
|
+
"@protobase/schema": "0.19.6",
|
|
36
36
|
"@react-email/render": "^2.1.0",
|
|
37
37
|
"@scalar/hono-api-reference": "^0.12.10",
|
|
38
38
|
"@sentry/core": "^11.7.0",
|