@learncard/ceramic-plugin 1.0.17 → 1.0.19

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.
@@ -8684,12 +8684,12 @@ var require_sha3 = __commonJS({
8684
8684
  }
8685
8685
  });
8686
8686
 
8687
- // ../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/package.json
8687
+ // ../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/package.json
8688
8688
  var require_package = __commonJS({
8689
- "../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/package.json"(exports, module) {
8689
+ "../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/package.json"(exports, module) {
8690
8690
  module.exports = {
8691
8691
  name: "elliptic",
8692
- version: "6.5.7",
8692
+ version: "6.6.1",
8693
8693
  description: "EC cryptography",
8694
8694
  main: "lib/elliptic.js",
8695
8695
  files: [
@@ -8752,9 +8752,9 @@ var require_buffer = __commonJS({
8752
8752
  }
8753
8753
  });
8754
8754
 
8755
- // ../../../node_modules/.pnpm/bn.js@4.12.0/node_modules/bn.js/lib/bn.js
8755
+ // ../../../node_modules/.pnpm/bn.js@4.12.1/node_modules/bn.js/lib/bn.js
8756
8756
  var require_bn = __commonJS({
8757
- "../../../node_modules/.pnpm/bn.js@4.12.0/node_modules/bn.js/lib/bn.js"(exports, module) {
8757
+ "../../../node_modules/.pnpm/bn.js@4.12.1/node_modules/bn.js/lib/bn.js"(exports, module) {
8758
8758
  (function(module2, exports2) {
8759
8759
  "use strict";
8760
8760
  function assert2(val, msg) {
@@ -9176,16 +9176,16 @@ var require_bn = __commonJS({
9176
9176
  var w = this.words[i2];
9177
9177
  var word = ((w << off | carry) & 16777215).toString(16);
9178
9178
  carry = w >>> 24 - off & 16777215;
9179
- if (carry !== 0 || i2 !== this.length - 1) {
9180
- out = zeros[6 - word.length] + word + out;
9181
- } else {
9182
- out = word + out;
9183
- }
9184
9179
  off += 2;
9185
9180
  if (off >= 26) {
9186
9181
  off -= 26;
9187
9182
  i2--;
9188
9183
  }
9184
+ if (carry !== 0 || i2 !== this.length - 1) {
9185
+ out = zeros[6 - word.length] + word + out;
9186
+ } else {
9187
+ out = word + out;
9188
+ }
9189
9189
  }
9190
9190
  if (carry !== 0) {
9191
9191
  out = carry.toString(16) + out;
@@ -11701,9 +11701,9 @@ var require_utils = __commonJS({
11701
11701
  }
11702
11702
  });
11703
11703
 
11704
- // ../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/utils.js
11704
+ // ../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/utils.js
11705
11705
  var require_utils2 = __commonJS({
11706
- "../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/utils.js"(exports) {
11706
+ "../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/utils.js"(exports) {
11707
11707
  "use strict";
11708
11708
  var utils = exports;
11709
11709
  var BN3 = require_bn();
@@ -11870,9 +11870,9 @@ var require_brorand = __commonJS({
11870
11870
  }
11871
11871
  });
11872
11872
 
11873
- // ../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/curve/base.js
11873
+ // ../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/curve/base.js
11874
11874
  var require_base = __commonJS({
11875
- "../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/curve/base.js"(exports, module) {
11875
+ "../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/curve/base.js"(exports, module) {
11876
11876
  "use strict";
11877
11877
  var BN3 = require_bn();
11878
11878
  var utils = require_utils2();
@@ -12213,9 +12213,9 @@ var require_inherits_browser = __commonJS({
12213
12213
  }
12214
12214
  });
12215
12215
 
12216
- // ../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/curve/short.js
12216
+ // ../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/curve/short.js
12217
12217
  var require_short = __commonJS({
12218
- "../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/curve/short.js"(exports, module) {
12218
+ "../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/curve/short.js"(exports, module) {
12219
12219
  "use strict";
12220
12220
  var utils = require_utils2();
12221
12221
  var BN3 = require_bn();
@@ -12915,9 +12915,9 @@ var require_short = __commonJS({
12915
12915
  }
12916
12916
  });
12917
12917
 
12918
- // ../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/curve/mont.js
12918
+ // ../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/curve/mont.js
12919
12919
  var require_mont = __commonJS({
12920
- "../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/curve/mont.js"(exports, module) {
12920
+ "../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/curve/mont.js"(exports, module) {
12921
12921
  "use strict";
12922
12922
  var BN3 = require_bn();
12923
12923
  var inherits = require_inherits_browser();
@@ -13045,9 +13045,9 @@ var require_mont = __commonJS({
13045
13045
  }
13046
13046
  });
13047
13047
 
13048
- // ../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/curve/edwards.js
13048
+ // ../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/curve/edwards.js
13049
13049
  var require_edwards = __commonJS({
13050
- "../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/curve/edwards.js"(exports, module) {
13050
+ "../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/curve/edwards.js"(exports, module) {
13051
13051
  "use strict";
13052
13052
  var utils = require_utils2();
13053
13053
  var BN3 = require_bn();
@@ -13348,9 +13348,9 @@ var require_edwards = __commonJS({
13348
13348
  }
13349
13349
  });
13350
13350
 
13351
- // ../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/curve/index.js
13351
+ // ../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/curve/index.js
13352
13352
  var require_curve = __commonJS({
13353
- "../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/curve/index.js"(exports) {
13353
+ "../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/curve/index.js"(exports) {
13354
13354
  "use strict";
13355
13355
  var curve = exports;
13356
13356
  curve.base = require_base();
@@ -15042,9 +15042,9 @@ var require_hash = __commonJS({
15042
15042
  }
15043
15043
  });
15044
15044
 
15045
- // ../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js
15045
+ // ../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js
15046
15046
  var require_secp256k1 = __commonJS({
15047
- "../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js"(exports, module) {
15047
+ "../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js"(exports, module) {
15048
15048
  module.exports = {
15049
15049
  doubles: {
15050
15050
  step: 4,
@@ -15828,9 +15828,9 @@ var require_secp256k1 = __commonJS({
15828
15828
  }
15829
15829
  });
15830
15830
 
15831
- // ../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/curves.js
15831
+ // ../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/curves.js
15832
15832
  var require_curves = __commonJS({
15833
- "../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/curves.js"(exports) {
15833
+ "../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/curves.js"(exports) {
15834
15834
  "use strict";
15835
15835
  var curves = exports;
15836
15836
  var hash3 = require_hash();
@@ -16098,9 +16098,9 @@ var require_hmac_drbg = __commonJS({
16098
16098
  }
16099
16099
  });
16100
16100
 
16101
- // ../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/ec/key.js
16101
+ // ../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/ec/key.js
16102
16102
  var require_key = __commonJS({
16103
- "../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/ec/key.js"(exports, module) {
16103
+ "../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/ec/key.js"(exports, module) {
16104
16104
  "use strict";
16105
16105
  var BN3 = require_bn();
16106
16106
  var utils = require_utils2();
@@ -16184,8 +16184,8 @@ var require_key = __commonJS({
16184
16184
  KeyPair2.prototype.sign = /* @__PURE__ */ __name(function sign5(msg, enc, options) {
16185
16185
  return this.ec.sign(msg, this, enc, options);
16186
16186
  }, "sign");
16187
- KeyPair2.prototype.verify = /* @__PURE__ */ __name(function verify4(msg, signature2) {
16188
- return this.ec.verify(msg, signature2, this);
16187
+ KeyPair2.prototype.verify = /* @__PURE__ */ __name(function verify4(msg, signature2, options) {
16188
+ return this.ec.verify(msg, signature2, this, void 0, options);
16189
16189
  }, "verify");
16190
16190
  KeyPair2.prototype.inspect = /* @__PURE__ */ __name(function inspect4() {
16191
16191
  return "<Key priv: " + (this.priv && this.priv.toString(16, 2)) + " pub: " + (this.pub && this.pub.inspect()) + " >";
@@ -16193,9 +16193,9 @@ var require_key = __commonJS({
16193
16193
  }
16194
16194
  });
16195
16195
 
16196
- // ../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/ec/signature.js
16196
+ // ../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/ec/signature.js
16197
16197
  var require_signature = __commonJS({
16198
- "../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/ec/signature.js"(exports, module) {
16198
+ "../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/ec/signature.js"(exports, module) {
16199
16199
  "use strict";
16200
16200
  var BN3 = require_bn();
16201
16201
  var utils = require_utils2();
@@ -16353,9 +16353,9 @@ var require_signature = __commonJS({
16353
16353
  }
16354
16354
  });
16355
16355
 
16356
- // ../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/ec/index.js
16356
+ // ../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/ec/index.js
16357
16357
  var require_ec = __commonJS({
16358
- "../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/ec/index.js"(exports, module) {
16358
+ "../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/ec/index.js"(exports, module) {
16359
16359
  "use strict";
16360
16360
  var BN3 = require_bn();
16361
16361
  var HmacDRBG2 = require_hmac_drbg();
@@ -16417,8 +16417,23 @@ var require_ec = __commonJS({
16417
16417
  return this.keyFromPrivate(priv);
16418
16418
  }
16419
16419
  }, "genKeyPair");
16420
- EC2.prototype._truncateToN = /* @__PURE__ */ __name(function _truncateToN2(msg, truncOnly) {
16421
- var delta = msg.byteLength() * 8 - this.n.bitLength();
16420
+ EC2.prototype._truncateToN = /* @__PURE__ */ __name(function _truncateToN2(msg, truncOnly, bitLength) {
16421
+ var byteLength;
16422
+ if (BN3.isBN(msg) || typeof msg === "number") {
16423
+ msg = new BN3(msg, 16);
16424
+ byteLength = msg.byteLength();
16425
+ } else if (typeof msg === "object") {
16426
+ byteLength = msg.length;
16427
+ msg = new BN3(msg, 16);
16428
+ } else {
16429
+ var str = msg.toString();
16430
+ byteLength = str.length + 1 >>> 1;
16431
+ msg = new BN3(str, 16);
16432
+ }
16433
+ if (typeof bitLength !== "number") {
16434
+ bitLength = byteLength * 8;
16435
+ }
16436
+ var delta = bitLength - this.n.bitLength();
16422
16437
  if (delta > 0)
16423
16438
  msg = msg.ushrn(delta);
16424
16439
  if (!truncOnly && msg.cmp(this.n) >= 0)
@@ -16433,11 +16448,22 @@ var require_ec = __commonJS({
16433
16448
  }
16434
16449
  if (!options)
16435
16450
  options = {};
16451
+ if (typeof msg !== "string" && typeof msg !== "number" && !BN3.isBN(msg)) {
16452
+ assert2(
16453
+ typeof msg === "object" && msg && typeof msg.length === "number",
16454
+ "Expected message to be an array-like, a hex string, or a BN instance"
16455
+ );
16456
+ assert2(msg.length >>> 0 === msg.length);
16457
+ for (var i2 = 0; i2 < msg.length; i2++)
16458
+ assert2((msg[i2] & 255) === msg[i2]);
16459
+ }
16436
16460
  key2 = this.keyFromPrivate(key2, enc);
16437
- msg = this._truncateToN(new BN3(msg, 16));
16461
+ msg = this._truncateToN(msg, false, options.msgBitLength);
16462
+ assert2(!msg.isNeg(), "Can not sign a negative message");
16438
16463
  var bytes = this.n.byteLength();
16439
16464
  var bkey = key2.getPrivate().toArray("be", bytes);
16440
16465
  var nonce = msg.toArray("be", bytes);
16466
+ assert2(new BN3(nonce).eq(msg), "Can not sign message");
16441
16467
  var drbg = new HmacDRBG2({
16442
16468
  hash: this.hash,
16443
16469
  entropy: bkey,
@@ -16470,8 +16496,10 @@ var require_ec = __commonJS({
16470
16496
  return new Signature2({ r: r2, s: s2, recoveryParam });
16471
16497
  }
16472
16498
  }, "sign");
16473
- EC2.prototype.verify = /* @__PURE__ */ __name(function verify4(msg, signature2, key2, enc) {
16474
- msg = this._truncateToN(new BN3(msg, 16));
16499
+ EC2.prototype.verify = /* @__PURE__ */ __name(function verify4(msg, signature2, key2, enc, options) {
16500
+ if (!options)
16501
+ options = {};
16502
+ msg = this._truncateToN(msg, false, options.msgBitLength);
16475
16503
  key2 = this.keyFromPublic(key2, enc);
16476
16504
  signature2 = new Signature2(signature2, "hex");
16477
16505
  var r2 = signature2.r;
@@ -16534,9 +16562,9 @@ var require_ec = __commonJS({
16534
16562
  }
16535
16563
  });
16536
16564
 
16537
- // ../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/eddsa/key.js
16565
+ // ../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/eddsa/key.js
16538
16566
  var require_key2 = __commonJS({
16539
- "../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/eddsa/key.js"(exports, module) {
16567
+ "../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/eddsa/key.js"(exports, module) {
16540
16568
  "use strict";
16541
16569
  var utils = require_utils2();
16542
16570
  var assert2 = utils.assert;
@@ -16609,9 +16637,9 @@ var require_key2 = __commonJS({
16609
16637
  }
16610
16638
  });
16611
16639
 
16612
- // ../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/eddsa/signature.js
16640
+ // ../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/eddsa/signature.js
16613
16641
  var require_signature2 = __commonJS({
16614
- "../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/eddsa/signature.js"(exports, module) {
16642
+ "../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/eddsa/signature.js"(exports, module) {
16615
16643
  "use strict";
16616
16644
  var BN3 = require_bn();
16617
16645
  var utils = require_utils2();
@@ -16660,9 +16688,9 @@ var require_signature2 = __commonJS({
16660
16688
  }
16661
16689
  });
16662
16690
 
16663
- // ../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/eddsa/index.js
16691
+ // ../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/eddsa/index.js
16664
16692
  var require_eddsa = __commonJS({
16665
- "../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic/eddsa/index.js"(exports, module) {
16693
+ "../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic/eddsa/index.js"(exports, module) {
16666
16694
  "use strict";
16667
16695
  var hash3 = require_hash();
16668
16696
  var curves = require_curves();
@@ -16749,9 +16777,9 @@ var require_eddsa = __commonJS({
16749
16777
  }
16750
16778
  });
16751
16779
 
16752
- // ../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic.js
16780
+ // ../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic.js
16753
16781
  var require_elliptic = __commonJS({
16754
- "../../../node_modules/.pnpm/elliptic@6.5.7/node_modules/elliptic/lib/elliptic.js"(exports) {
16782
+ "../../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic.js"(exports) {
16755
16783
  "use strict";
16756
16784
  var elliptic = exports;
16757
16785
  elliptic.version = require_package().version;
@@ -46017,7 +46045,7 @@ var StreamRef;
46017
46045
  StreamRef2.from = from4;
46018
46046
  })(StreamRef || (StreamRef = {}));
46019
46047
 
46020
- // ../../../node_modules/.pnpm/tslib@2.8.0/node_modules/tslib/tslib.es6.mjs
46048
+ // ../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
46021
46049
  var extendStatics = /* @__PURE__ */ __name(function(d, b) {
46022
46050
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
46023
46051
  d2.__proto__ = b2;
@@ -53082,6 +53110,8 @@ var mod = /* @__PURE__ */ Object.freeze({
53082
53110
  });
53083
53111
 
53084
53112
  // ../../learn-card-types/dist/types.esm.js
53113
+ var __defProp2 = Object.defineProperty;
53114
+ var __name2 = /* @__PURE__ */ __name((target, value) => __defProp2(target, "name", { value, configurable: true }), "__name");
53085
53115
  var ContextValidator = mod.array(mod.string().or(mod.record(mod.any())));
53086
53116
  var AchievementCriteriaValidator = mod.object({
53087
53117
  type: mod.string().optional(),
@@ -53485,6 +53515,35 @@ var EncryptedCredentialRecordValidator = EncryptedRecordValidator.extend({
53485
53515
  var PaginatedEncryptedCredentialRecordsValidator = PaginationResponseValidator.extend({
53486
53516
  records: EncryptedCredentialRecordValidator.array()
53487
53517
  });
53518
+ var parseRegexString = /* @__PURE__ */ __name2((regexStr) => {
53519
+ const match = regexStr.match(/^\/(.*)\/([gimsuy]*)$/);
53520
+ if (!match)
53521
+ throw new Error("Invalid RegExp string format");
53522
+ return { pattern: match[1], flags: match[2] };
53523
+ }, "parseRegexString");
53524
+ var RegExpValidator = mod.instanceof(RegExp).or(
53525
+ mod.string().refine(
53526
+ (str) => {
53527
+ try {
53528
+ parseRegexString(str);
53529
+ return true;
53530
+ } catch {
53531
+ return false;
53532
+ }
53533
+ },
53534
+ {
53535
+ message: "Invalid RegExp string format. Must be in format '/pattern/flags'"
53536
+ }
53537
+ ).transform((str) => {
53538
+ const { pattern, flags } = parseRegexString(str);
53539
+ try {
53540
+ return new RegExp(pattern, flags);
53541
+ } catch (error) {
53542
+ throw new Error(`Invalid RegExp: ${error.message}`);
53543
+ }
53544
+ })
53545
+ );
53546
+ var StringQuery = mod.string().or(mod.object({ $in: mod.string().array() })).or(mod.object({ $regex: RegExpValidator }));
53488
53547
  var LCNProfileValidator = mod.object({
53489
53548
  profileId: mod.string().min(3).max(40),
53490
53549
  displayName: mod.string().default(""),
@@ -53499,6 +53558,16 @@ var LCNProfileValidator = mod.object({
53499
53558
  type: mod.string().optional(),
53500
53559
  notificationsWebhook: mod.string().url().startsWith("http").optional()
53501
53560
  });
53561
+ var LCNProfileQueryValidator = mod.object({
53562
+ profileId: StringQuery,
53563
+ displayName: StringQuery,
53564
+ shortBio: StringQuery,
53565
+ bio: StringQuery,
53566
+ email: StringQuery,
53567
+ websiteLink: StringQuery,
53568
+ isServiceProfile: mod.boolean(),
53569
+ type: StringQuery
53570
+ }).partial();
53502
53571
  var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
53503
53572
  records: LCNProfileValidator.array()
53504
53573
  });
@@ -53536,13 +53605,15 @@ var BoostValidator = mod.object({
53536
53605
  category: mod.string().optional(),
53537
53606
  status: LCNBoostStatus.optional(),
53538
53607
  autoConnectRecipients: mod.boolean().optional(),
53608
+ meta: mod.record(mod.any()).optional(),
53539
53609
  claimPermissions: BoostPermissionsValidator.optional()
53540
53610
  });
53541
53611
  var BoostQueryValidator = mod.object({
53542
- uri: mod.string().or(mod.object({ $in: mod.string().array() })),
53543
- name: mod.string().or(mod.object({ $in: mod.string().array() })),
53544
- type: mod.string().or(mod.object({ $in: mod.string().array() })),
53545
- category: mod.string().or(mod.object({ $in: mod.string().array() })),
53612
+ uri: StringQuery,
53613
+ name: StringQuery,
53614
+ type: StringQuery,
53615
+ category: StringQuery,
53616
+ meta: mod.record(StringQuery),
53546
53617
  status: LCNBoostStatus.or(mod.object({ $in: LCNBoostStatus.array() })),
53547
53618
  autoConnectRecipients: mod.boolean()
53548
53619
  }).partial();