@minnovate/shadow-publisher 0.12.3 → 0.13.0

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "git-publisher",
3
3
  "displayName": "Git Publisher",
4
- "version": "0.12.3",
4
+ "version": "0.13.0",
5
5
  "description": "Publish an app folder's Git history to the serverless Git publishing backend and keep it updated (\"publish my app\", \"update my app\", \"fetch the engineered version\").",
6
6
  "author": { "name": "git-publisher project" },
7
7
  "keywords": ["git", "publish", "deploy", "serverless"]
@@ -52,6 +52,7 @@ publisher go-back <version> --json # ask the person first; puts that vers
52
52
  publisher suggestions --json # what colleagues asked for, still open
53
53
  publisher suggestion decline <id> --json # when the person does not want one
54
54
  publisher share invited --add ann@example.com --json # who can open it
55
+ publisher columns <id> --json # the column names of connected data, before code reads it
55
56
  ```
56
57
 
57
58
  The portal writes `next` for an assistant in the chat, so it can name a connector tool. At a
@@ -66,6 +67,7 @@ terminal, do what it says with the command that does the same thing:
66
67
  | `resolve_suggestion` | `publisher suggestion done\|decline <id> --json` |
67
68
  | `share_app` | `publisher share <access> --json` |
68
69
  | `list_apps` | `publisher list --json` |
70
+ | `data_columns` | `publisher columns <id> --json` |
69
71
 
70
72
  `<publication>` is the `publication` that `go-back` or `start` answered.
71
73
 
@@ -8059,6 +8059,10 @@ var suggestion = {
8059
8059
  return run(inv, dir, "resolve_suggestion", { app, suggestion: id, status: status2, ...runId === void 0 ? {} : { runId } });
8060
8060
  }
8061
8061
  };
8062
+ var columns = {
8063
+ git: false,
8064
+ run: (inv) => run(inv, void 0, "data_columns", inv.cmd[1] === void 0 ? {} : { id: inv.cmd[1] })
8065
+ };
8062
8066
  var share = {
8063
8067
  git: false,
8064
8068
  async run(inv) {
@@ -8427,6 +8431,8 @@ Usage:
8427
8431
  publisher suggestion done|decline <id> [--run <id>] close one; sync --answers <id> closes it with that publication
8428
8432
  publisher share organisation|invited|anyone-with-link [--add <emails>] [--remove <emails>]
8429
8433
  who can open this folder's app; new invitees get the link by mail
8434
+ publisher columns [<id>] the column names of connected data, for the code that reads it;
8435
+ its first rows only to an owner or admin who allowed that
8430
8436
  publisher merge-check [dir] --ours <ref> --theirs <ref> [--apply]
8431
8437
  publisher info [dir] repository state as seen by the server
8432
8438
  publisher doctor environment check (node, git, credentials, association)
@@ -8477,7 +8483,8 @@ var COMMANDS = /* @__PURE__ */ new Map([
8477
8483
  ["go-back", goBack],
8478
8484
  ["suggestions", suggestions],
8479
8485
  ["suggestion", suggestion],
8480
- ["share", share]
8486
+ ["share", share],
8487
+ ["columns", columns]
8481
8488
  ]);
8482
8489
  async function main(argv) {
8483
8490
  const inv = new Invocation(parseArgs(argv));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minnovate/shadow-publisher",
3
- "version": "0.12.3",
3
+ "version": "0.13.0",
4
4
  "description": "publisher: publish an app's Git history to the serverless Git backend",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",