@hardfin/cli 0.1.1-dev.73 → 0.1.1-dev.75

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/README.md CHANGED
@@ -306,6 +306,7 @@ Each command names its `path`, its `endpoint`, whether it `runs`, and its flags.
306
306
  | `negatable` | Present when a boolean also takes a `--no-` form |
307
307
  | `element` | The fields one value carries as `key=value`, for an array of objects |
308
308
  | `elementRequired` | The fields of `element` every value must carry |
309
+ | `elementUuids` | The fields of `element` that take a UUID |
309
310
  | `default` | The value used when the flag is not given |
310
311
 
311
312
  A part that is absent means no. The description is read from the same declarations the parser
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4b83a8a0-ff55-5e3b-84fa-8061be9f33fb")}catch(e){}}();
3
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f934d0aa-2ea6-57c6-811a-3942d764792d")}catch(e){}}();
4
4
  import module from "node:module";
5
5
  //#region src/cli.ts
6
6
  module.enableCompileCache?.();
@@ -14,7 +14,7 @@ process.on("unhandledRejection", (error) => void toCrash(error));
14
14
  try {
15
15
  const answer = await toQuickAnswer(process.argv.slice(2));
16
16
  if (answer === void 0) {
17
- const { toCli, toParseExitCode, wasReportAttempted } = await import("./program-BsfVvLRA.js");
17
+ const { toCli, toParseExitCode, wasReportAttempted } = await import("./program-CuFKCoDH.js");
18
18
  const { startUpdateCheck, writeUpdateNotice } = await import("./notice-DWvcEHhw.js");
19
19
  const pending = startUpdateCheck(process.argv.slice(2));
20
20
  try {
@@ -36,7 +36,7 @@ async function toCrash(error) {
36
36
  isCrashing = true;
37
37
  const isJSON = process.argv.includes("--json") || !process.stdout.isTTY;
38
38
  try {
39
- const { toReported, writeCrash } = await import("./program-BsfVvLRA.js");
39
+ const { toReported, writeCrash } = await import("./program-CuFKCoDH.js");
40
40
  writeCrash(error, isJSON);
41
41
  await toReported(error, isJSON, void 0, "fatal");
42
42
  } catch {
@@ -57,4 +57,4 @@ async function toQuickAnswer(args) {
57
57
  export {};
58
58
 
59
59
  //# sourceMappingURL=cli.js.map
60
- //# debugId=4b83a8a0-ff55-5e3b-84fa-8061be9f33fb
60
+ //# debugId=f934d0aa-2ea6-57c6-811a-3942d764792d
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1bfa2871-bf4c-56ef-91f6-ded56f7f5b17")}catch(e){}}();
3
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9993eb69-9e2e-5536-98a5-fb924deec820")}catch(e){}}();
4
4
  import { a as defineCommand, i as GLOBAL_FLAGS, r as ExitCode, t as toInvocation } from "./scrub-BZ0egWxC.js";
5
5
  import { C as Interrupted, S as ExpectedFailure, T as TimedOut, _ as ConfigFailure, a as isShipped, b as toTelemetry, g as CONFIG_FILE, h as writeFailure, i as toUpdateCheckRefusal, l as toStateDirectory, m as writeData, o as toPackageDirectory, p as toText, r as toCheck, s as noteNotices, t as PACKAGE, u as isJSONOutput, v as toSettings, w as LockHeld, x as version$1, y as API_VERSION } from "./check-8Ta7vSnU.js";
6
6
  import { n as toAnswer$1, r as toCompletion, t as PATH_VALUES } from "./completion-tree-DLC6ARLR.js";
@@ -1171,6 +1171,7 @@ function toDescribed(flag) {
1171
1171
  sends: sent.queryName !== void 0 ? { query: sent.queryName } : sent.jsonPath !== void 0 ? { body: sent.jsonPath } : void 0,
1172
1172
  element: sent.element,
1173
1173
  elementTypes: sent.elementTypes,
1174
+ elementUuids: sent.elementUuids,
1174
1175
  elementLists: sent.elementLists,
1175
1176
  elementMoney: sent.elementMoney,
1176
1177
  elementEnums: sent.elementEnums,
@@ -14482,5 +14483,5 @@ async function toReported(error, isJSON, resolved, level = "error") {
14482
14483
  //#endregion
14483
14484
  export { toCli, toParseExitCode, toReported, wasReportAttempted, writeCrash };
14484
14485
 
14485
- //# sourceMappingURL=program-BsfVvLRA.js.map
14486
- //# debugId=1bfa2871-bf4c-56ef-91f6-ded56f7f5b17
14486
+ //# sourceMappingURL=program-CuFKCoDH.js.map
14487
+ //# debugId=9993eb69-9e2e-5536-98a5-fb924deec820
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hardfin/cli",
3
- "version": "0.1.1-dev.73",
3
+ "version": "0.1.1-dev.75",
4
4
  "description": "Command line interface for the Hardfin API",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Hardfin, Inc.",
@@ -57,6 +57,7 @@
57
57
  "@sentry/core": "^11.1.0",
58
58
  "@types/node": "^22.15.0",
59
59
  "@vitest/coverage-v8": "^5.0.1",
60
+ "ajv": "^8.20.0",
60
61
  "eslint": "^10.11.0",
61
62
  "eslint-plugin-unused-imports": "^4.4.1",
62
63
  "globals": "^17.12.0",