@query-farm/vgi 0.36.3 → 0.37.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.
package/dist/index.js CHANGED
@@ -8493,7 +8493,8 @@ var SPEC_SCHEMA = schema2([
8493
8493
  field2("description", utf82(), false),
8494
8494
  field2("type", binary2(), false),
8495
8495
  field2("default_value", binary2(), true),
8496
- field2("required", bool2(), true)
8496
+ field2("required", bool2(), true),
8497
+ field2("secret", bool2(), true)
8497
8498
  ]);
8498
8499
  function serializeAttachOptionSpec(spec) {
8499
8500
  if (spec.required && spec.default !== undefined && spec.default !== null) {
@@ -8511,7 +8512,8 @@ function serializeAttachOptionSpec(spec) {
8511
8512
  description: [spec.description],
8512
8513
  type: [typeBytes],
8513
8514
  default_value: [defaultBytes],
8514
- required: [spec.required ?? false]
8515
+ required: [spec.required ?? false],
8516
+ secret: [spec.secret ?? false]
8515
8517
  }, SPEC_SCHEMA);
8516
8518
  return serializeBatch(batch);
8517
8519
  }
@@ -8539,7 +8541,8 @@ function deserializeAttachOptionSpec(bytes) {
8539
8541
  description: String(row.description ?? ""),
8540
8542
  type,
8541
8543
  ...value === undefined || value === null ? {} : { default: value },
8542
- required: row.required === true
8544
+ required: row.required === true,
8545
+ secret: row.secret === true
8543
8546
  };
8544
8547
  }
8545
8548
  function deserializeAttachOptionSpecs(specs) {
@@ -13618,4 +13621,4 @@ export {
13618
13621
  utf82 as utf8
13619
13622
  };
13620
13623
 
13621
- //# debugId=73B338735C13BDBC64756E2164756E21
13624
+ //# debugId=2D7783DC9EE1AD4F64756E2164756E21