@eide/foir-cli 0.11.1 → 0.11.2
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/cli.js +3 -0
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -1519,6 +1519,9 @@ function createRecordsMethods(client) {
|
|
|
1519
1519
|
offset: params.offset ?? 0,
|
|
1520
1520
|
customerId: params.customerId,
|
|
1521
1521
|
search: params.search,
|
|
1522
|
+
// CLI is admin-equivalent and must see drafts; without preview the
|
|
1523
|
+
// platform now hides unpublished records on publishable models.
|
|
1524
|
+
preview: true,
|
|
1522
1525
|
filters: params.filters?.map(
|
|
1523
1526
|
(f) => create4(RecordFilterSchema, {
|
|
1524
1527
|
field: f.field,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eide/foir-cli",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"description": "Universal platform CLI for Foir platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@bufbuild/protovalidate": "^1.1.1",
|
|
51
51
|
"@connectrpc/connect": "^2.0.0",
|
|
52
52
|
"@connectrpc/connect-node": "^2.0.0",
|
|
53
|
-
"@eide/foir-proto-ts": "^0.
|
|
53
|
+
"@eide/foir-proto-ts": "^0.29.1",
|
|
54
54
|
"chalk": "^5.3.0",
|
|
55
55
|
"commander": "^12.1.0",
|
|
56
56
|
"dotenv": "^16.4.5",
|