@foir/cli 0.67.0 → 0.67.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.
Files changed (2) hide show
  1. package/dist/cli.js +2 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -12008,8 +12008,8 @@ function registerModelsCommands(program2, globalOpts) {
12008
12008
  import { toJson as toJson4 } from "@bufbuild/protobuf";
12009
12009
  function draftStateMessage(record) {
12010
12010
  if (!record.hasUnpublishedChanges) return null;
12011
- const live = record.publishedVersionNumber !== void 0 ? `v${record.publishedVersionNumber} is live` : "nothing is published yet";
12012
- return `This is a DRAFT: ${live}, and the content shown is the published one. Read the draft with --preview` + (record.currentVersionId ? `, or publish it with \`foir records publish ${record.currentVersionId}\`.` : ".");
12011
+ const state = record.publishedVersionNumber !== void 0 ? `v${record.publishedVersionNumber} is live, and the content shown is the published one` : "nothing is published yet, and the content shown is empty";
12012
+ return `This is a DRAFT: ${state}. Read the draft with --preview` + (record.currentVersionId ? `, or publish it with \`foir records publish ${record.currentVersionId}\`.` : ".");
12013
12013
  }
12014
12014
  function reportDraftState(record) {
12015
12015
  const message = draftStateMessage(record);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foir/cli",
3
- "version": "0.67.0",
3
+ "version": "0.67.1",
4
4
  "description": "Universal platform CLI for Foir platform",
5
5
  "type": "module",
6
6
  "publishConfig": {