@blotout/qinto-cli 0.1.32 → 0.1.33

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/index.js CHANGED
@@ -1407,7 +1407,7 @@ var gr = Xn((e, t) => {
1407
1407
  ].filter(Boolean).join("\n").trimEnd()}${In}`;
1408
1408
  }), _r = {
1409
1409
  name: "@blotout/qinto-cli",
1410
- version: "0.1.32",
1410
+ version: "0.1.33",
1411
1411
  type: "module",
1412
1412
  description: "Qinto CLI: authenticate against the Qinto platform and operate it from the terminal or from an agent.",
1413
1413
  repository: {
@@ -6428,6 +6428,7 @@ var Df = /^[a-z][a-z0-9-]*$/, Of = /^[A-Z][A-Z0-9_]*$/, kf = /^[a-z][a-z0-9-]{2,
6428
6428
  mode: U(["webhook", "api"])
6429
6429
  }).strict(), Fm = V({ publishes: B(F().min(1).max(Bp).regex(qp)).max(zp).default([]) }).strict(), Im = B(V({
6430
6430
  app: F().regex(kf),
6431
+ optional: R().optional().meta({ description: "True when this app works without the dependency. A call to it rejects with forbidden while the site lacks it." }),
6431
6432
  description: Nf(1, 200).optional()
6432
6433
  }).strict()).max(10), Lm = V({
6433
6434
  exposes: B(V({
@@ -6768,7 +6769,7 @@ var Df = /^[a-z][a-z0-9-]*$/, Of = /^[A-Z][A-Z0-9_]*$/, kf = /^[a-z][a-z0-9-]{2,
6768
6769
  r,
6769
6770
  "app"
6770
6771
  ],
6771
- message: `${i.app} is called over RPC, so it must be in dependencies. Add { "app": "${i.app}" } to dependencies; if your Qinto CLI rejects that field, upgrade it.`
6772
+ message: `${i.app} is called over RPC, so it must be in dependencies. Add { "app": "${i.app}" } to dependencies, or { "app": "${i.app}", "optional": true } if your app works without it. If your Qinto CLI rejects either field, upgrade it.`
6772
6773
  });
6773
6774
  }, eh = (e, t) => {
6774
6775
  let n = e.dependencies ?? [];