@warlock.js/notifications 5.2.3 → 5.3.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.
Files changed (430) hide show
  1. package/cjs/{channel_api-ChOeNKM1.cjs → channel_api-CBB_XoIl.cjs} +22 -22
  2. package/cjs/{channel_api-ChOeNKM1.cjs.map → channel_api-CBB_XoIl.cjs.map} +1 -1
  3. package/cjs/chunk-fl3r8ClO.cjs +41 -0
  4. package/cjs/{src-Dy5nwVcs.cjs → esm-FB2hc0-o.cjs} +210 -330
  5. package/cjs/esm-FB2hc0-o.cjs.map +1 -0
  6. package/cjs/index.cjs +1 -1
  7. package/cjs/index.cjs.map +1 -1
  8. package/cjs/rabbitmq-driver-CIvkulXX.cjs +3 -0
  9. package/esm/channels/database-channel.d.mts.map +1 -1
  10. package/esm/config.d.mts.map +1 -1
  11. package/esm/dispatch/define-channel.d.mts.map +1 -1
  12. package/esm/dispatch/define-notification.d.mts.map +1 -1
  13. package/esm/dispatch/define-notification.mjs.map +1 -1
  14. package/esm/dispatch/notifications-event-bus.mjs.map +1 -1
  15. package/esm/dispatch/notify.mjs.map +1 -1
  16. package/esm/errors.d.mts.map +1 -1
  17. package/esm/in-app/base-notifications-repository.d.mts.map +1 -1
  18. package/esm/in-app/database-notification.d.mts.map +1 -1
  19. package/esm/in-app/in-app.d.mts.map +1 -1
  20. package/esm/index.d.mts +4 -0
  21. package/esm/migration/notification-columns.mjs.map +1 -1
  22. package/esm/node_modules/.pnpm/@mongez_reinforcements@4.0.1/node_modules/@mongez/reinforcements/esm/string/capitalize.mjs.map +1 -1
  23. package/esm/node_modules/.pnpm/@mongez_reinforcements@4.0.1/node_modules/@mongez/reinforcements/esm/string/toCamelCase.mjs.map +1 -1
  24. package/esm/node_modules/.pnpm/@mongez_reinforcements@4.0.1/node_modules/@mongez/reinforcements/esm/string/toSnakeCase.mjs.map +1 -1
  25. package/esm/node_modules/.pnpm/@mongez_reinforcements@4.0.1/node_modules/@mongez/reinforcements/esm/string/toStudlyCase.mjs.map +1 -1
  26. package/esm/node_modules/.pnpm/@mongez_reinforcements@4.0.1/node_modules/@mongez/reinforcements/esm/string/ucfirst.mjs.map +1 -1
  27. package/esm/node_modules/.pnpm/@mongez_reinforcements@4.0.1/node_modules/@mongez/reinforcements/esm/string/words.mjs.map +1 -1
  28. package/esm/node_modules/.pnpm/@mongez_supportive-is@2.1.4/node_modules/@mongez/supportive-is/esm/index.mjs.map +1 -1
  29. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/communicators/broker-registry.d.mts +1 -0
  30. package/esm/{herald/src → node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm}/communicators/broker-registry.mjs +5 -5
  31. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/communicators/broker-registry.mjs.map +1 -0
  32. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/communicators/broker.d.mts +1 -0
  33. package/esm/{herald/src → node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm}/communicators/broker.mjs +1 -7
  34. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/communicators/broker.mjs.map +1 -0
  35. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/communicators/index.mjs +3 -0
  36. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/contracts/broker-driver.contract.d.mts +1 -0
  37. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/contracts/channel.contract.d.mts +1 -0
  38. package/esm/{herald/src → node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm}/decorators/consumable.mjs +1 -1
  39. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/decorators/consumable.mjs.map +1 -0
  40. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/decorators/index.mjs +3 -0
  41. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/drivers/index.mjs +5 -0
  42. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/drivers/rabbitmq/index.mjs +4 -0
  43. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/drivers/rabbitmq/rabbitmq-channel.d.mts +1 -0
  44. package/esm/{herald/src → node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm}/drivers/rabbitmq/rabbitmq-channel.mjs +6 -13
  45. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/drivers/rabbitmq/rabbitmq-channel.mjs.map +1 -0
  46. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/drivers/rabbitmq/rabbitmq-driver.d.mts +1 -0
  47. package/esm/{herald/src → node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm}/drivers/rabbitmq/rabbitmq-driver.mjs +10 -11
  48. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/drivers/rabbitmq/rabbitmq-driver.mjs.map +1 -0
  49. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/index.d.mts +1 -0
  50. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/message-managers/event-consumer.d.mts +1 -0
  51. package/esm/{herald/src → node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm}/message-managers/event-consumer.mjs +10 -22
  52. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/message-managers/event-consumer.mjs.map +1 -0
  53. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/message-managers/event-message.d.mts +1 -0
  54. package/esm/{herald/src → node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm}/message-managers/event-message.mjs +3 -20
  55. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/message-managers/event-message.mjs.map +1 -0
  56. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/message-managers/index.mjs +3 -0
  57. package/esm/{herald/src → node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm}/message-managers/prepare-consumer-subscription.mjs +1 -1
  58. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/message-managers/prepare-consumer-subscription.mjs.map +1 -0
  59. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/types/channel.types.d.mts +1 -0
  60. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/types/registry.types.d.mts +1 -0
  61. package/esm/{herald/src → node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm}/use-case-broadcast.mjs +1 -1
  62. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/use-case-broadcast.mjs.map +1 -0
  63. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/utils/connect-to-broker.d.mts +1 -0
  64. package/esm/{herald/src → node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm}/utils/connect-to-broker.mjs +1 -1
  65. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/utils/connect-to-broker.mjs.map +1 -0
  66. package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/utils/index.mjs +3 -0
  67. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/config.mjs +1 -1
  68. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/config.mjs.map +1 -0
  69. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/factory/index.mjs +3 -0
  70. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/factory/validate.mjs +1 -1
  71. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/factory/validate.mjs.map +1 -0
  72. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/factory/validators.mjs +1 -1
  73. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/factory/validators.mjs.map +1 -0
  74. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/helpers/date-helpers.mjs +1 -1
  75. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/date-helpers.mjs.map +1 -0
  76. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/helpers/get-field-value.mjs +3 -3
  77. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/get-field-value.mjs.map +1 -0
  78. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/index.mjs +3 -0
  79. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/is-empty-value.mjs +10 -0
  80. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/is-empty-value.mjs.map +1 -0
  81. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/helpers/path-helpers.mjs +1 -1
  82. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/path-helpers.mjs.map +1 -0
  83. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/helpers/validation-helpers.mjs +1 -1
  84. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/validation-helpers.mjs.map +1 -0
  85. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/index.d.mts +10 -0
  86. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/index.mjs +7 -0
  87. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/mutators/array-mutators.mjs +3 -3
  88. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/array-mutators.mjs.map +1 -0
  89. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/mutators/date-mutators.mjs +3 -3
  90. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/date-mutators.mjs.map +1 -0
  91. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/index.mjs +7 -0
  92. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/mutators/number-mutators.mjs +4 -4
  93. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/number-mutators.mjs.map +1 -0
  94. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/mutators/object-mutators.mjs +4 -4
  95. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/object-mutators.mjs.map +1 -0
  96. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/scalar-mutators.mjs +9 -0
  97. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/scalar-mutators.mjs.map +1 -0
  98. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/mutators/string-mutators.mjs +11 -11
  99. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/string-mutators.mjs.map +1 -0
  100. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/array/array-rules.mjs +1 -1
  101. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/array/array-rules.mjs.map +1 -0
  102. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/array/index.mjs +3 -0
  103. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/color/color-rules.mjs +1 -1
  104. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/color/color-rules.mjs.map +1 -0
  105. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/color/index.mjs +3 -0
  106. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/common/enum.mjs +1 -1
  107. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/enum.mjs.map +1 -0
  108. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/common/equals-field-rules.mjs +1 -1
  109. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/equals-field-rules.mjs.map +1 -0
  110. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/index.mjs +8 -0
  111. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/common/instanceof.mjs +1 -1
  112. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/instanceof.mjs.map +1 -0
  113. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/common/literal.mjs +1 -1
  114. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/literal.mjs.map +1 -0
  115. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/common/type-rules.mjs +2 -2
  116. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/type-rules.mjs.map +1 -0
  117. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/common/unknown-key.mjs +1 -1
  118. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/unknown-key.mjs.map +1 -0
  119. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/conditional/forbidden-if-rules.mjs +1 -1
  120. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/forbidden-if-rules.mjs.map +1 -0
  121. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/index.mjs +12 -0
  122. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/conditional/present-if-rules.mjs +1 -1
  123. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/present-if-rules.mjs.map +1 -0
  124. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/conditional/present-unless-rules.mjs +1 -1
  125. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/present-unless-rules.mjs.map +1 -0
  126. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/conditional/present-with-rules.mjs +3 -3
  127. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/present-with-rules.mjs.map +1 -0
  128. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/conditional/present-without-rules.mjs +3 -3
  129. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/present-without-rules.mjs.map +1 -0
  130. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/conditional/required-if-rules.mjs +3 -3
  131. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/required-if-rules.mjs.map +1 -0
  132. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/conditional/required-unless-rules.mjs +1 -1
  133. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/required-unless-rules.mjs.map +1 -0
  134. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/conditional/required-when-rule.mjs +1 -1
  135. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/required-when-rule.mjs.map +1 -0
  136. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/conditional/required-with-rules.mjs +3 -3
  137. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/required-with-rules.mjs.map +1 -0
  138. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/conditional/required-without-rules.mjs +3 -3
  139. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/required-without-rules.mjs.map +1 -0
  140. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/core/equal.mjs +1 -1
  141. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/equal.mjs.map +1 -0
  142. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/core/forbidden.mjs +1 -1
  143. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/forbidden.mjs.map +1 -0
  144. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/index.mjs +7 -0
  145. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/core/required.mjs +1 -1
  146. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/required.mjs.map +1 -0
  147. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/core/union.mjs +1 -1
  148. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/union.mjs.map +1 -0
  149. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/core/when.mjs +3 -3
  150. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/when.mjs.map +1 -0
  151. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/date/date-comparison-rules.mjs +1 -1
  152. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-comparison-rules.mjs.map +1 -0
  153. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/date/date-day-rules.mjs +1 -1
  154. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-day-rules.mjs.map +1 -0
  155. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/date/date-field-comparison-rules.mjs +3 -3
  156. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-field-comparison-rules.mjs.map +1 -0
  157. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/date/date-period-rules.mjs +3 -3
  158. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-period-rules.mjs.map +1 -0
  159. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/date/date-relative-rules.mjs +1 -1
  160. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-relative-rules.mjs.map +1 -0
  161. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/date/date-special-rules.mjs +1 -1
  162. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-special-rules.mjs.map +1 -0
  163. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/date/date.mjs +3 -3
  164. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date.mjs.map +1 -0
  165. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/index.mjs +9 -0
  166. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/index.mjs +57 -0
  167. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/length/index.mjs +3 -0
  168. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/length/length-rules.mjs +1 -1
  169. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/length/length-rules.mjs.map +1 -0
  170. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/number/index.mjs +3 -0
  171. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/number/number-rules.mjs +3 -3
  172. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/number/number-rules.mjs.map +1 -0
  173. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/scalar/accepted-rule.mjs +1 -1
  174. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/scalar/accepted-rule.mjs.map +1 -0
  175. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/scalar/declined-rule.mjs +1 -1
  176. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/scalar/declined-rule.mjs.map +1 -0
  177. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/scalar/index.mjs +4 -0
  178. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/string/alpha.mjs +1 -1
  179. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/alpha.mjs.map +1 -0
  180. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/string/credit-card.mjs +1 -1
  181. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/credit-card.mjs.map +1 -0
  182. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/string/email.mjs +2 -2
  183. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/email.mjs.map +1 -0
  184. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/string/id-formats.mjs +1 -1
  185. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/id-formats.mjs.map +1 -0
  186. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/index.mjs +13 -0
  187. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/string/ip.mjs +1 -1
  188. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/ip.mjs.map +1 -0
  189. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/matches.mjs +4 -0
  190. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/string/pattern.mjs +1 -1
  191. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/pattern.mjs.map +1 -0
  192. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/string/string-comparison.mjs +1 -1
  193. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/string-comparison.mjs.map +1 -0
  194. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/string/strong-password-rule.mjs +1 -1
  195. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/strong-password-rule.mjs.map +1 -0
  196. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/string/url.mjs +1 -1
  197. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/url.mjs.map +1 -0
  198. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/string/without-whitespace.mjs +1 -1
  199. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/without-whitespace.mjs.map +1 -0
  200. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/standard-schema/json-schema.d.mts +32 -0
  201. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/standard-schema/json-schema.d.mts.map +1 -0
  202. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/standard-schema/json-schema.mjs +1 -1
  203. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/standard-schema/json-schema.mjs.map +1 -0
  204. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/standard-schema/map-result.mjs +1 -1
  205. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/standard-schema/map-result.mjs.map +1 -0
  206. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/standard-schema/types.d.mts +97 -0
  207. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/standard-schema/types.d.mts.map +1 -0
  208. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/conditional-types.d.mts +16 -0
  209. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/conditional-types.d.mts.map +1 -0
  210. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/context-types.d.mts +42 -0
  211. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/context-types.d.mts.map +1 -0
  212. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/data-transformer-types.d.mts +30 -0
  213. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/data-transformer-types.d.mts.map +1 -0
  214. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/types/date-types.mjs +1 -1
  215. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/date-types.mjs.map +1 -0
  216. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/mutator-types.d.mts +28 -0
  217. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/mutator-types.d.mts.map +1 -0
  218. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/result-types.d.mts +17 -0
  219. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/result-types.d.mts.map +1 -0
  220. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/rule-types.d.mts +53 -0
  221. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/rule-types.d.mts.map +1 -0
  222. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/schema-types.d.mts +11 -0
  223. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/schema-types.d.mts.map +1 -0
  224. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/any-validator.mjs +6 -9
  225. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/any-validator.mjs.map +1 -0
  226. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/array-validator.mjs +1 -2
  227. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/array-validator.mjs.map +1 -0
  228. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/base-validator.d.mts +492 -0
  229. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/base-validator.d.mts.map +1 -0
  230. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/base-validator.mjs +16 -49
  231. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/base-validator.mjs.map +1 -0
  232. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/boolean-validator.mjs +1 -1
  233. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/boolean-validator.mjs.map +1 -0
  234. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/computed-validator.mjs +1 -3
  235. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/computed-validator.mjs.map +1 -0
  236. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/date-validator.mjs +3 -3
  237. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/date-validator.mjs.map +1 -0
  238. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/discriminated-union-validator.mjs +2 -6
  239. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/discriminated-union-validator.mjs.map +1 -0
  240. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/float-validator.mjs +1 -1
  241. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/float-validator.mjs.map +1 -0
  242. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/index.mjs +28 -0
  243. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/instanceof-validator.mjs +1 -2
  244. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/instanceof-validator.mjs.map +1 -0
  245. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/int-validator.mjs +1 -1
  246. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/int-validator.mjs.map +1 -0
  247. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/lazy-validator.mjs +1 -3
  248. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/lazy-validator.mjs.map +1 -0
  249. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/literal-validator.mjs +1 -2
  250. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/literal-validator.mjs.map +1 -0
  251. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/managed-validator.mjs +1 -1
  252. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/managed-validator.mjs.map +1 -0
  253. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/equality-conditional-methods.d.mts +91 -0
  254. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/equality-conditional-methods.d.mts.map +1 -0
  255. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/methods/equality-conditional-methods.mjs +1 -1
  256. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/equality-conditional-methods.mjs.map +1 -0
  257. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/forbidden-methods.d.mts +59 -0
  258. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/forbidden-methods.d.mts.map +1 -0
  259. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/methods/forbidden-methods.mjs +1 -1
  260. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/forbidden-methods.mjs.map +1 -0
  261. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/present-methods.d.mts +103 -0
  262. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/present-methods.d.mts.map +1 -0
  263. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/methods/present-methods.mjs +1 -1
  264. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/present-methods.mjs.map +1 -0
  265. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/required-methods.d.mts +194 -0
  266. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/required-methods.d.mts.map +1 -0
  267. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/methods/required-methods.mjs +1 -1
  268. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/required-methods.mjs.map +1 -0
  269. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/number-validator.mjs +1 -1
  270. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/number-validator.mjs.map +1 -0
  271. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/numeric-validator.mjs +2 -2
  272. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/numeric-validator.mjs.map +1 -0
  273. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/object-validator.mjs +7 -8
  274. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/object-validator.mjs.map +1 -0
  275. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/primitive-validator.mjs +1 -1
  276. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/primitive-validator.mjs.map +1 -0
  277. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/record-validator.mjs +2 -3
  278. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/record-validator.mjs.map +1 -0
  279. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/scalar-validator.mjs +1 -1
  280. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/scalar-validator.mjs.map +1 -0
  281. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/string-validator.mjs +1 -1
  282. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/string-validator.mjs.map +1 -0
  283. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/tuple-validator.mjs +1 -2
  284. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/tuple-validator.mjs.map +1 -0
  285. package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/validators/union-validator.mjs +1 -1
  286. package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/union-validator.mjs.map +1 -0
  287. package/esm/node_modules/.pnpm/amqplib@0.10.9/node_modules/amqplib/channel_api.mjs.map +1 -1
  288. package/esm/node_modules/.pnpm/amqplib@0.10.9/node_modules/amqplib/lib/channel.mjs.map +1 -1
  289. package/esm/node_modules/.pnpm/amqplib@0.10.9/node_modules/amqplib/lib/channel_model.mjs.map +1 -1
  290. package/esm/node_modules/.pnpm/amqplib@0.10.9/node_modules/amqplib/lib/connect.mjs.map +1 -1
  291. package/esm/node_modules/.pnpm/amqplib@0.10.9/node_modules/amqplib/lib/connection.mjs.map +1 -1
  292. package/esm/node_modules/.pnpm/amqplib@0.10.9/node_modules/amqplib/lib/credentials.mjs.map +1 -1
  293. package/esm/node_modules/.pnpm/amqplib@0.10.9/node_modules/amqplib/lib/error.mjs.map +1 -1
  294. package/esm/node_modules/.pnpm/amqplib@0.10.9/node_modules/amqplib/lib/format.mjs.map +1 -1
  295. package/esm/node_modules/.pnpm/buffer-more-ints@1.0.0/node_modules/buffer-more-ints/buffer-more-ints.mjs.map +1 -1
  296. package/esm/node_modules/.pnpm/dayjs@1.11.23/node_modules/dayjs/dayjs.min.mjs.map +1 -1
  297. package/esm/node_modules/.pnpm/requires-port@1.0.0/node_modules/requires-port/index.mjs.map +1 -1
  298. package/esm/node_modules/.pnpm/url-parse@1.5.10/node_modules/url-parse/index.mjs.map +1 -1
  299. package/esm/queue/herald-queue.mjs.map +1 -1
  300. package/esm/queue/load-herald.d.mts.map +1 -1
  301. package/esm/queue/load-herald.mjs +1 -1
  302. package/esm/queue/notifications-worker.mjs.map +1 -1
  303. package/package.json +6 -6
  304. package/cjs/rabbitmq-driver-Drn1T40o.cjs +0 -3
  305. package/cjs/src-Dy5nwVcs.cjs.map +0 -1
  306. package/esm/herald/src/communicators/broker-registry.mjs.map +0 -1
  307. package/esm/herald/src/communicators/broker.mjs.map +0 -1
  308. package/esm/herald/src/communicators/index.mjs +0 -4
  309. package/esm/herald/src/decorators/consumable.mjs.map +0 -1
  310. package/esm/herald/src/decorators/index.mjs +0 -3
  311. package/esm/herald/src/drivers/index.mjs +0 -5
  312. package/esm/herald/src/drivers/rabbitmq/index.mjs +0 -4
  313. package/esm/herald/src/drivers/rabbitmq/rabbitmq-channel.mjs.map +0 -1
  314. package/esm/herald/src/drivers/rabbitmq/rabbitmq-driver.mjs.map +0 -1
  315. package/esm/herald/src/message-managers/event-consumer.mjs.map +0 -1
  316. package/esm/herald/src/message-managers/event-message.mjs.map +0 -1
  317. package/esm/herald/src/message-managers/index.mjs +0 -4
  318. package/esm/herald/src/message-managers/prepare-consumer-subscription.mjs.map +0 -1
  319. package/esm/herald/src/use-case-broadcast.mjs.map +0 -1
  320. package/esm/herald/src/utils/connect-to-broker.mjs.map +0 -1
  321. package/esm/herald/src/utils/index.mjs +0 -3
  322. package/esm/seal/src/config.mjs.map +0 -1
  323. package/esm/seal/src/factory/index.mjs +0 -4
  324. package/esm/seal/src/factory/validate.mjs.map +0 -1
  325. package/esm/seal/src/factory/validators.mjs.map +0 -1
  326. package/esm/seal/src/helpers/date-helpers.mjs.map +0 -1
  327. package/esm/seal/src/helpers/get-field-value.mjs.map +0 -1
  328. package/esm/seal/src/helpers/index.mjs +0 -6
  329. package/esm/seal/src/helpers/is-empty-value.mjs +0 -10
  330. package/esm/seal/src/helpers/is-empty-value.mjs.map +0 -1
  331. package/esm/seal/src/helpers/path-helpers.mjs.map +0 -1
  332. package/esm/seal/src/helpers/validation-helpers.mjs.map +0 -1
  333. package/esm/seal/src/mutators/array-mutators.mjs.map +0 -1
  334. package/esm/seal/src/mutators/date-mutators.mjs.map +0 -1
  335. package/esm/seal/src/mutators/index.mjs +0 -8
  336. package/esm/seal/src/mutators/number-mutators.mjs.map +0 -1
  337. package/esm/seal/src/mutators/object-mutators.mjs.map +0 -1
  338. package/esm/seal/src/mutators/scalar-mutators.mjs +0 -9
  339. package/esm/seal/src/mutators/scalar-mutators.mjs.map +0 -1
  340. package/esm/seal/src/mutators/string-mutators.mjs.map +0 -1
  341. package/esm/seal/src/rules/array/array-rules.mjs.map +0 -1
  342. package/esm/seal/src/rules/array/index.mjs +0 -3
  343. package/esm/seal/src/rules/color/color-rules.mjs.map +0 -1
  344. package/esm/seal/src/rules/color/index.mjs +0 -3
  345. package/esm/seal/src/rules/common/enum.mjs.map +0 -1
  346. package/esm/seal/src/rules/common/equals-field-rules.mjs.map +0 -1
  347. package/esm/seal/src/rules/common/index.mjs +0 -8
  348. package/esm/seal/src/rules/common/instanceof.mjs.map +0 -1
  349. package/esm/seal/src/rules/common/literal.mjs.map +0 -1
  350. package/esm/seal/src/rules/common/type-rules.mjs.map +0 -1
  351. package/esm/seal/src/rules/common/unknown-key.mjs.map +0 -1
  352. package/esm/seal/src/rules/conditional/forbidden-if-rules.mjs.map +0 -1
  353. package/esm/seal/src/rules/conditional/index.mjs +0 -12
  354. package/esm/seal/src/rules/conditional/present-if-rules.mjs.map +0 -1
  355. package/esm/seal/src/rules/conditional/present-unless-rules.mjs.map +0 -1
  356. package/esm/seal/src/rules/conditional/present-with-rules.mjs.map +0 -1
  357. package/esm/seal/src/rules/conditional/present-without-rules.mjs.map +0 -1
  358. package/esm/seal/src/rules/conditional/required-if-rules.mjs.map +0 -1
  359. package/esm/seal/src/rules/conditional/required-unless-rules.mjs.map +0 -1
  360. package/esm/seal/src/rules/conditional/required-when-rule.mjs.map +0 -1
  361. package/esm/seal/src/rules/conditional/required-with-rules.mjs.map +0 -1
  362. package/esm/seal/src/rules/conditional/required-without-rules.mjs.map +0 -1
  363. package/esm/seal/src/rules/core/equal.mjs.map +0 -1
  364. package/esm/seal/src/rules/core/forbidden.mjs.map +0 -1
  365. package/esm/seal/src/rules/core/index.mjs +0 -7
  366. package/esm/seal/src/rules/core/required.mjs.map +0 -1
  367. package/esm/seal/src/rules/core/union.mjs.map +0 -1
  368. package/esm/seal/src/rules/core/when.mjs.map +0 -1
  369. package/esm/seal/src/rules/date/date-comparison-rules.mjs.map +0 -1
  370. package/esm/seal/src/rules/date/date-day-rules.mjs.map +0 -1
  371. package/esm/seal/src/rules/date/date-field-comparison-rules.mjs.map +0 -1
  372. package/esm/seal/src/rules/date/date-period-rules.mjs.map +0 -1
  373. package/esm/seal/src/rules/date/date-relative-rules.mjs.map +0 -1
  374. package/esm/seal/src/rules/date/date-special-rules.mjs.map +0 -1
  375. package/esm/seal/src/rules/date/date.mjs.map +0 -1
  376. package/esm/seal/src/rules/date/index.mjs +0 -9
  377. package/esm/seal/src/rules/index.mjs +0 -54
  378. package/esm/seal/src/rules/length/index.mjs +0 -3
  379. package/esm/seal/src/rules/length/length-rules.mjs.map +0 -1
  380. package/esm/seal/src/rules/number/index.mjs +0 -3
  381. package/esm/seal/src/rules/number/number-rules.mjs.map +0 -1
  382. package/esm/seal/src/rules/scalar/accepted-rule.mjs.map +0 -1
  383. package/esm/seal/src/rules/scalar/declined-rule.mjs.map +0 -1
  384. package/esm/seal/src/rules/scalar/index.mjs +0 -4
  385. package/esm/seal/src/rules/string/alpha.mjs.map +0 -1
  386. package/esm/seal/src/rules/string/credit-card.mjs.map +0 -1
  387. package/esm/seal/src/rules/string/email.mjs.map +0 -1
  388. package/esm/seal/src/rules/string/id-formats.mjs.map +0 -1
  389. package/esm/seal/src/rules/string/index.mjs +0 -13
  390. package/esm/seal/src/rules/string/ip.mjs.map +0 -1
  391. package/esm/seal/src/rules/string/matches.mjs +0 -4
  392. package/esm/seal/src/rules/string/pattern.mjs.map +0 -1
  393. package/esm/seal/src/rules/string/string-comparison.mjs.map +0 -1
  394. package/esm/seal/src/rules/string/strong-password-rule.mjs.map +0 -1
  395. package/esm/seal/src/rules/string/url.mjs.map +0 -1
  396. package/esm/seal/src/rules/string/without-whitespace.mjs.map +0 -1
  397. package/esm/seal/src/standard-schema/json-schema.mjs.map +0 -1
  398. package/esm/seal/src/standard-schema/map-result.mjs.map +0 -1
  399. package/esm/seal/src/types/date-types.mjs.map +0 -1
  400. package/esm/seal/src/validators/any-validator.mjs.map +0 -1
  401. package/esm/seal/src/validators/array-validator.mjs.map +0 -1
  402. package/esm/seal/src/validators/base-validator.mjs.map +0 -1
  403. package/esm/seal/src/validators/boolean-validator.mjs.map +0 -1
  404. package/esm/seal/src/validators/computed-validator.mjs.map +0 -1
  405. package/esm/seal/src/validators/date-validator.mjs.map +0 -1
  406. package/esm/seal/src/validators/discriminated-union-validator.mjs.map +0 -1
  407. package/esm/seal/src/validators/float-validator.mjs.map +0 -1
  408. package/esm/seal/src/validators/index.mjs +0 -28
  409. package/esm/seal/src/validators/instanceof-validator.mjs.map +0 -1
  410. package/esm/seal/src/validators/int-validator.mjs.map +0 -1
  411. package/esm/seal/src/validators/lazy-validator.mjs.map +0 -1
  412. package/esm/seal/src/validators/literal-validator.mjs.map +0 -1
  413. package/esm/seal/src/validators/managed-validator.mjs.map +0 -1
  414. package/esm/seal/src/validators/methods/equality-conditional-methods.mjs.map +0 -1
  415. package/esm/seal/src/validators/methods/forbidden-methods.mjs.map +0 -1
  416. package/esm/seal/src/validators/methods/present-methods.mjs.map +0 -1
  417. package/esm/seal/src/validators/methods/required-methods.mjs.map +0 -1
  418. package/esm/seal/src/validators/number-validator.mjs.map +0 -1
  419. package/esm/seal/src/validators/numeric-validator.mjs.map +0 -1
  420. package/esm/seal/src/validators/object-validator.mjs.map +0 -1
  421. package/esm/seal/src/validators/primitive-validator.mjs.map +0 -1
  422. package/esm/seal/src/validators/record-validator.mjs.map +0 -1
  423. package/esm/seal/src/validators/scalar-validator.mjs.map +0 -1
  424. package/esm/seal/src/validators/string-validator.mjs.map +0 -1
  425. package/esm/seal/src/validators/tuple-validator.mjs.map +0 -1
  426. package/esm/seal/src/validators/union-validator.mjs.map +0 -1
  427. /package/esm/{herald/src → node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm}/index.mjs +0 -0
  428. /package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/file/dimensions.mjs +0 -0
  429. /package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/file/file-size.mjs +0 -0
  430. /package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/rules/file/index.mjs +0 -0
@@ -1,37 +1,10 @@
1
- //#region \0rolldown/runtime.js
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
12
- key = keys[i];
13
- if (!__hasOwnProp.call(to, key) && key !== except) {
14
- __defProp(to, key, {
15
- get: ((k) => from[k]).bind(null, key),
16
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
- });
18
- }
19
- }
20
- }
21
- return to;
22
- };
23
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
24
- value: mod,
25
- enumerable: true
26
- }) : target, mod));
27
-
28
- //#endregion
1
+ const require_chunk = require('./chunk-fl3r8ClO.cjs');
29
2
  let _warlock_js_logger = require("@warlock.js/logger");
30
3
  let node_crypto = require("node:crypto");
31
4
  let node_events = require("node:events");
32
5
  let crypto = require("crypto");
33
6
 
34
- //#region ../herald/src/message-managers/prepare-consumer-subscription.ts
7
+ //#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/message-managers/prepare-consumer-subscription.mjs
35
8
  function prepareConsumerSubscription(Consumer, onError) {
36
9
  const callback = async (message, ctx) => {
37
10
  const envelope = message.payload;
@@ -71,7 +44,7 @@ function prepareConsumerSubscription(Consumer, onError) {
71
44
  }
72
45
 
73
46
  //#endregion
74
- //#region ../seal/src/standard-schema/json-schema.ts
47
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/standard-schema/json-schema.mjs
75
48
  /**
76
49
  * Apply nullable to a JSON Schema object based on the target dialect.
77
50
  *
@@ -149,6 +122,71 @@ function getRuleOptions(rules, ruleName) {
149
122
  return rules.find((r) => r.name === ruleName)?.context?.options;
150
123
  }
151
124
 
125
+ //#endregion
126
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/config.mjs
127
+ /**
128
+ * Global Seal configuration
129
+ */
130
+ const config = { firstErrorOnly: true };
131
+ /**
132
+ * Get current Seal configuration
133
+ */
134
+ function getSealConfig() {
135
+ return config;
136
+ }
137
+
138
+ //#endregion
139
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/factory/validate.mjs
140
+ /**
141
+ * Validate data against a schema
142
+ */
143
+ const validate = async (schema, data, { context: extendedContext, ...configurations } = getSealConfig() || {}) => {
144
+ const context = {
145
+ allValues: data,
146
+ parent: null,
147
+ value: data,
148
+ key: "",
149
+ path: "",
150
+ context: extendedContext,
151
+ rootContext: extendedContext,
152
+ translateRule(ruleTranslation) {
153
+ return configurations.translateRule?.(ruleTranslation) ?? "";
154
+ },
155
+ translateAttribute(attributeTranslation) {
156
+ return configurations.translateAttribute?.(attributeTranslation) ?? "";
157
+ },
158
+ configurations
159
+ };
160
+ const result = await schema.validate(data, context);
161
+ if (!result.isValid) return {
162
+ ...result,
163
+ data: void 0
164
+ };
165
+ return result;
166
+ };
167
+
168
+ //#endregion
169
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/date-helpers.mjs
170
+ /**
171
+ * Detect if value is a date value or field name
172
+ *
173
+ * Date values:
174
+ * - Date instance
175
+ * - Number (timestamp)
176
+ * - String with date separators (- or /)
177
+ *
178
+ * Field names:
179
+ * - Strings without - or /
180
+ *
181
+ * @param value - Value to check
182
+ * @returns true if it's a date value, false if it's a field name
183
+ */
184
+ function isDateValue(value) {
185
+ if (value instanceof Date) return true;
186
+ const date = new Date(value);
187
+ return !isNaN(date.getTime());
188
+ }
189
+
152
190
  //#endregion
153
191
  //#region ../node_modules/.pnpm/@mongez+reinforcements@4.0.1/node_modules/@mongez/reinforcements/esm/object/get.mjs
154
192
  function get(object, path, defaultValue) {
@@ -617,72 +655,7 @@ tap.with = function tapWith(sideEffect) {
617
655
  };
618
656
 
619
657
  //#endregion
620
- //#region ../seal/src/config.ts
621
- /**
622
- * Global Seal configuration
623
- */
624
- const config = { firstErrorOnly: true };
625
- /**
626
- * Get current Seal configuration
627
- */
628
- function getSealConfig() {
629
- return config;
630
- }
631
-
632
- //#endregion
633
- //#region ../seal/src/factory/validate.ts
634
- /**
635
- * Validate data against a schema
636
- */
637
- const validate = async (schema, data, { context: extendedContext, ...configurations } = getSealConfig() || {}) => {
638
- const context = {
639
- allValues: data,
640
- parent: null,
641
- value: data,
642
- key: "",
643
- path: "",
644
- context: extendedContext,
645
- rootContext: extendedContext,
646
- translateRule(ruleTranslation) {
647
- return configurations.translateRule?.(ruleTranslation) ?? "";
648
- },
649
- translateAttribute(attributeTranslation) {
650
- return configurations.translateAttribute?.(attributeTranslation) ?? "";
651
- },
652
- configurations
653
- };
654
- const result = await schema.validate(data, context);
655
- if (!result.isValid) return {
656
- ...result,
657
- data: void 0
658
- };
659
- return result;
660
- };
661
-
662
- //#endregion
663
- //#region ../seal/src/helpers/date-helpers.ts
664
- /**
665
- * Detect if value is a date value or field name
666
- *
667
- * Date values:
668
- * - Date instance
669
- * - Number (timestamp)
670
- * - String with date separators (- or /)
671
- *
672
- * Field names:
673
- * - Strings without - or /
674
- *
675
- * @param value - Value to check
676
- * @returns true if it's a date value, false if it's a field name
677
- */
678
- function isDateValue(value) {
679
- if (value instanceof Date) return true;
680
- const date = new Date(value);
681
- return !isNaN(date.getTime());
682
- }
683
-
684
- //#endregion
685
- //#region ../seal/src/helpers/get-field-value.ts
658
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/get-field-value.mjs
686
659
  /**
687
660
  * Get field value based on scope from rule options
688
661
  *
@@ -723,7 +696,7 @@ function getFieldValue(rule, context, fieldKey = "field") {
723
696
  }
724
697
 
725
698
  //#endregion
726
- //#region ../seal/src/helpers/path-helpers.ts
699
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/path-helpers.mjs
727
700
  /**
728
701
  * Set the key path for nested validation
729
702
  */
@@ -733,7 +706,7 @@ const setKeyPath = (path, key) => {
733
706
  };
734
707
 
735
708
  //#endregion
736
- //#region ../seal/src/helpers/validation-helpers.ts
709
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/validation-helpers.mjs
737
710
  const VALID_RULE = { isValid: true };
738
711
  /**
739
712
  * Resolve a single attribute value through the full translation priority chain:
@@ -1152,13 +1125,13 @@ const Is = {
1152
1125
  };
1153
1126
 
1154
1127
  //#endregion
1155
- //#region ../seal/src/helpers/is-empty-value.ts
1128
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/is-empty-value.mjs
1156
1129
  function isEmptyValue(value) {
1157
1130
  return isEmpty(value) && !isObject(value);
1158
1131
  }
1159
1132
 
1160
1133
  //#endregion
1161
- //#region ../seal/src/rules/core/required.ts
1134
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/required.mjs
1162
1135
  /**
1163
1136
  * Required rule - value must be present and not empty
1164
1137
  */
@@ -1188,7 +1161,7 @@ const presentRule = {
1188
1161
  };
1189
1162
 
1190
1163
  //#endregion
1191
- //#region ../seal/src/standard-schema/map-result.ts
1164
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/standard-schema/map-result.mjs
1192
1165
  /**
1193
1166
  * Maps a Seal ValidationResult to a Standard Schema result shape.
1194
1167
  *
@@ -1212,57 +1185,24 @@ function mapToStandardResult(result) {
1212
1185
  }
1213
1186
 
1214
1187
  //#endregion
1215
- //#region ../seal/src/validators/base-validator.ts
1188
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/base-validator.mjs
1216
1189
  /**
1217
1190
  * Base validator class - foundation for all validators
1218
1191
  */
1219
1192
  var BaseValidator = class {
1220
- rules = [];
1221
- mutators = [];
1222
- defaultValue;
1223
- description;
1224
- shouldOmit = false;
1225
- isNullable = false;
1226
- isMutable = false;
1227
- /**
1228
- * Catch state — when `hasCatch` is true and validation fails, `catchValue`
1229
- * (or its callback result) substitutes for the failed value, and the public
1230
- * result reports `isValid: true` with no errors.
1231
- *
1232
- * See `.catch()` for semantics and the v1 scope (leaf-only).
1233
- */
1234
- catchValue;
1235
- hasCatch = false;
1236
- /**
1237
- * Whether the field is optional.
1238
- * - false (default): field is required unless a requiredRule governs the condition.
1239
- * - true: field can be absent or empty — set by calling .optional().
1240
- *
1241
- * Also used as a TypeScript literal brand via the optional() return type.
1242
- */
1243
- isOptional = false;
1244
- /**
1245
- * The single required-condition rule for this field.
1246
- * - null: field uses strict default (always required when not optional).
1247
- * - set: the rule governs when the field is required (e.g., requiredIf).
1248
- *
1249
- * Stored separately from rules[] and prepended at validate() time.
1250
- */
1251
- requiredRule = this.createRule(requiredRule);
1252
- /**
1253
- * Pipeline to transform the mutated/original data before returning it
1254
- */
1255
- dataTransformers = [];
1256
- /**
1257
- * Attributes text to be replaced on translations
1258
- * If the value is an object, it will be used as the attributes list for the rule
1259
- * If the value is a string, it will be used as the attributes list for the rule
1260
- */
1261
- attributesText = {};
1262
- /**
1263
- * Attributed that will be always using the attribute translator
1264
- */
1265
- translatedAttributes = {};
1193
+ constructor() {
1194
+ this.rules = [];
1195
+ this.mutators = [];
1196
+ this.shouldOmit = false;
1197
+ this.isNullable = false;
1198
+ this.isMutable = false;
1199
+ this.hasCatch = false;
1200
+ this.isOptional = false;
1201
+ this.requiredRule = this.createRule(requiredRule);
1202
+ this.dataTransformers = [];
1203
+ this.attributesText = {};
1204
+ this.translatedAttributes = {};
1205
+ }
1266
1206
  /**
1267
1207
  * Mark the validator as mutable
1268
1208
  */
@@ -1892,19 +1832,16 @@ var BaseValidator = class {
1892
1832
  };
1893
1833
 
1894
1834
  //#endregion
1895
- //#region ../seal/src/validators/any-validator.ts
1835
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/any-validator.mjs
1896
1836
  /**
1897
1837
  * Any validator - accepts any value
1898
1838
  */
1899
1839
  var AnyValidator = class extends BaseValidator {
1900
- /**
1901
- * Any validator means any value, so we disable the default required requirement.
1902
- */
1903
- requiredRule = null;
1904
- /**
1905
- * Set is optional to be true
1906
- */
1907
- isOptional = true;
1840
+ constructor(..._args) {
1841
+ super(..._args);
1842
+ this.requiredRule = null;
1843
+ this.isOptional = true;
1844
+ }
1908
1845
  /**
1909
1846
  * @inheritdoc
1910
1847
  *
@@ -1925,7 +1862,7 @@ var AnyValidator = class extends BaseValidator {
1925
1862
  };
1926
1863
 
1927
1864
  //#endregion
1928
- //#region ../seal/src/mutators/array-mutators.ts
1865
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/array-mutators.mjs
1929
1866
  /** Reverse array order */
1930
1867
  const flipArrayMutator = async (value) => {
1931
1868
  return value.reverse();
@@ -1953,7 +1890,7 @@ const uniqueArrayMutator = async (value) => {
1953
1890
 
1954
1891
  //#endregion
1955
1892
  //#region ../node_modules/.pnpm/dayjs@1.11.23/node_modules/dayjs/dayjs.min.js
1956
- var require_dayjs_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1893
+ var require_dayjs_min = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
1957
1894
  (function(t, e) {
1958
1895
  "object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : (t = "undefined" != typeof globalThis ? globalThis : t || self).dayjs = e();
1959
1896
  })(exports, (function() {
@@ -2251,8 +2188,8 @@ var require_dayjs_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2251
2188
  }));
2252
2189
 
2253
2190
  //#endregion
2254
- //#region ../seal/src/mutators/date-mutators.ts
2255
- var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min(), 1);
2191
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/date-mutators.mjs
2192
+ var import_dayjs_min = /* @__PURE__ */ require_chunk.__toESM(require_dayjs_min(), 1);
2256
2193
  /**
2257
2194
  * Convert value to Date object
2258
2195
  * Returns Invalid Date if value cannot be converted
@@ -2340,7 +2277,7 @@ const toEndOfYearMutator = async (value) => {
2340
2277
  };
2341
2278
 
2342
2279
  //#endregion
2343
- //#region ../seal/src/mutators/number-mutators.ts
2280
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/number-mutators.mjs
2344
2281
  /** Convert value to number */
2345
2282
  const numberMutator = async (value) => {
2346
2283
  if (!value) return value;
@@ -2386,7 +2323,7 @@ const toFixedMutator = async (value, context) => {
2386
2323
  };
2387
2324
 
2388
2325
  //#endregion
2389
- //#region ../seal/src/mutators/object-mutators.ts
2326
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/object-mutators.mjs
2390
2327
  /** Strip unknown keys from object */
2391
2328
  const stripUnknownMutator = async (value, context) => {
2392
2329
  const allowedKeys = [...context?.ctx.schema ? Object.keys(context.ctx.schema) : [], ...context?.options.allowedKeys ?? []];
@@ -2410,14 +2347,14 @@ const objectTrimMutator = async (value, context) => {
2410
2347
  };
2411
2348
 
2412
2349
  //#endregion
2413
- //#region ../seal/src/mutators/scalar-mutators.ts
2350
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/scalar-mutators.mjs
2414
2351
  const stringMutator = async (value) => {
2415
2352
  if ([void 0, null].includes(value)) return value;
2416
2353
  return String(value);
2417
2354
  };
2418
2355
 
2419
2356
  //#endregion
2420
- //#region ../seal/src/mutators/string-mutators.ts
2357
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/string-mutators.mjs
2421
2358
  /** Convert string to lowercase */
2422
2359
  const lowercaseMutator = async (value) => {
2423
2360
  return value?.toString().toLowerCase();
@@ -2590,7 +2527,7 @@ const removeNumbersMutator = async (value) => {
2590
2527
  };
2591
2528
 
2592
2529
  //#endregion
2593
- //#region ../seal/src/rules/core/equal.ts
2530
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/equal.mjs
2594
2531
  /**
2595
2532
  * Equal rule - value must be equal to a specific value
2596
2533
  */
@@ -2607,7 +2544,7 @@ const equalRule = {
2607
2544
  };
2608
2545
 
2609
2546
  //#endregion
2610
- //#region ../seal/src/rules/core/forbidden.ts
2547
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/forbidden.mjs
2611
2548
  /**
2612
2549
  * Forbidden rule - value must not be present
2613
2550
  */
@@ -2621,7 +2558,7 @@ const forbiddenRule = {
2621
2558
  };
2622
2559
 
2623
2560
  //#endregion
2624
- //#region ../seal/src/rules/core/union.ts
2561
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/union.mjs
2625
2562
  /**
2626
2563
  * Union rule - value must match at least one of the provided validators
2627
2564
  */
@@ -2646,7 +2583,7 @@ const unionRule = {
2646
2583
  };
2647
2584
 
2648
2585
  //#endregion
2649
- //#region ../seal/src/rules/core/when.ts
2586
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/when.mjs
2650
2587
  /**
2651
2588
  * When rule - conditional validation based on another field value
2652
2589
  */
@@ -2676,7 +2613,7 @@ const whenRule = {
2676
2613
  };
2677
2614
 
2678
2615
  //#endregion
2679
- //#region ../seal/src/rules/string/alpha.ts
2616
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/alpha.mjs
2680
2617
  /**
2681
2618
  * Alpha rule - allows only alphabetic characters
2682
2619
  */
@@ -2712,7 +2649,7 @@ const isNumericRule = {
2712
2649
  };
2713
2650
 
2714
2651
  //#endregion
2715
- //#region ../seal/src/rules/string/credit-card.ts
2652
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/credit-card.mjs
2716
2653
  /**
2717
2654
  * Credit card rule - validates credit card number
2718
2655
  */
@@ -2739,7 +2676,7 @@ const isCreditCardRule = {
2739
2676
  };
2740
2677
 
2741
2678
  //#endregion
2742
- //#region ../seal/src/rules/string/email.ts
2679
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/email.mjs
2743
2680
  /**
2744
2681
  * Email rule - validates email format
2745
2682
  */
@@ -2753,7 +2690,7 @@ const emailRule = {
2753
2690
  };
2754
2691
 
2755
2692
  //#endregion
2756
- //#region ../seal/src/rules/string/id-formats.ts
2693
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/id-formats.mjs
2757
2694
  /**
2758
2695
  * Modern ID format validators — UUID, CUID, ULID, nanoid.
2759
2696
  *
@@ -2852,7 +2789,7 @@ const nanoidRule = {
2852
2789
  };
2853
2790
 
2854
2791
  //#endregion
2855
- //#region ../seal/src/rules/string/ip.ts
2792
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/ip.mjs
2856
2793
  /**
2857
2794
  * Pure, dependency-free re-implementation of Node's `net.isIP`/`isIPv4`/`isIPv6`.
2858
2795
  * Mirrors the exact regex Node uses internally (lib/internal/net.js) so that
@@ -2913,7 +2850,7 @@ const ip6Rule = {
2913
2850
  };
2914
2851
 
2915
2852
  //#endregion
2916
- //#region ../seal/src/rules/string/pattern.ts
2853
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/pattern.mjs
2917
2854
  /**
2918
2855
  * Pattern rule - validates against regex pattern
2919
2856
  */
@@ -2928,7 +2865,7 @@ const patternRule = {
2928
2865
  };
2929
2866
 
2930
2867
  //#endregion
2931
- //#region ../seal/src/rules/string/string-comparison.ts
2868
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/string-comparison.mjs
2932
2869
  /**
2933
2870
  * Starts with rule
2934
2871
  */
@@ -2979,7 +2916,7 @@ const notContainsRule = {
2979
2916
  };
2980
2917
 
2981
2918
  //#endregion
2982
- //#region ../seal/src/rules/string/strong-password-rule.ts
2919
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/strong-password-rule.mjs
2983
2920
  /**
2984
2921
  * Strong Password rule - validates password strength
2985
2922
  * Requirements:
@@ -3005,7 +2942,7 @@ const strongPasswordRule = {
3005
2942
  };
3006
2943
 
3007
2944
  //#endregion
3008
- //#region ../seal/src/rules/string/url.ts
2945
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/url.mjs
3009
2946
  /**
3010
2947
  * URL rule - validates URL format
3011
2948
  */
@@ -3023,7 +2960,7 @@ const urlRule = {
3023
2960
  };
3024
2961
 
3025
2962
  //#endregion
3026
- //#region ../seal/src/rules/string/without-whitespace.ts
2963
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/without-whitespace.mjs
3027
2964
  /**
3028
2965
  * Without whitespace rule - value must not contain whitespace
3029
2966
  */
@@ -3037,7 +2974,7 @@ const withoutWhitespaceRule = {
3037
2974
  };
3038
2975
 
3039
2976
  //#endregion
3040
- //#region ../seal/src/rules/number/number-rules.ts
2977
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/number/number-rules.mjs
3041
2978
  /**
3042
2979
  * Min rule - value must be equal or greater than minimum
3043
2980
  * Supports field names with sibling scope
@@ -3227,7 +3164,7 @@ const betweenNumbersRule = {
3227
3164
  };
3228
3165
 
3229
3166
  //#endregion
3230
- //#region ../seal/src/rules/length/length-rules.ts
3167
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/length/length-rules.mjs
3231
3168
  /**
3232
3169
  * Min length rule - validates minimum length
3233
3170
  * Works for any value with a length property (strings, arrays, etc.)
@@ -3320,7 +3257,7 @@ const wordsRule = {
3320
3257
  };
3321
3258
 
3322
3259
  //#endregion
3323
- //#region ../seal/src/rules/array/array-rules.ts
3260
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/array/array-rules.mjs
3324
3261
  /**
3325
3262
  * Unique array rule - array must contain unique values
3326
3263
  */
@@ -3356,7 +3293,7 @@ const sortedArrayRule = {
3356
3293
  };
3357
3294
 
3358
3295
  //#endregion
3359
- //#region ../seal/src/types/date-types.ts
3296
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/types/date-types.mjs
3360
3297
  /**
3361
3298
  * Week day numbers mapping
3362
3299
  */
@@ -3371,7 +3308,7 @@ const WEEK_DAYS = {
3371
3308
  };
3372
3309
 
3373
3310
  //#endregion
3374
- //#region ../seal/src/rules/date/date.ts
3311
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date.mjs
3375
3312
  /**
3376
3313
  * Date rule - validates date format
3377
3314
  */
@@ -3597,7 +3534,7 @@ const weekDayRule = {
3597
3534
  };
3598
3535
 
3599
3536
  //#endregion
3600
- //#region ../seal/src/rules/date/date-comparison-rules.ts
3537
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-comparison-rules.mjs
3601
3538
  /**
3602
3539
  * Between dates rule - date must be between start and end dates
3603
3540
  */
@@ -3670,7 +3607,7 @@ const afterTodayRule = {
3670
3607
  };
3671
3608
 
3672
3609
  //#endregion
3673
- //#region ../seal/src/rules/date/date-day-rules.ts
3610
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-day-rules.mjs
3674
3611
  /**
3675
3612
  * Weekend rule - date must be Saturday or Sunday
3676
3613
  */
@@ -3713,7 +3650,7 @@ const businessDayRule = {
3713
3650
  };
3714
3651
 
3715
3652
  //#endregion
3716
- //#region ../seal/src/rules/date/date-field-comparison-rules.ts
3653
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-field-comparison-rules.mjs
3717
3654
  /**
3718
3655
  * Before field rule - date must be < given date or field
3719
3656
  * Smart detection: date value or field name
@@ -3787,7 +3724,7 @@ const sameAsFieldDateRule = {
3787
3724
  };
3788
3725
 
3789
3726
  //#endregion
3790
- //#region ../seal/src/rules/date/date-period-rules.ts
3727
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-period-rules.mjs
3791
3728
  const MONTHS = {
3792
3729
  1: "january",
3793
3730
  2: "february",
@@ -4179,7 +4116,7 @@ const maxDayRule = {
4179
4116
  };
4180
4117
 
4181
4118
  //#endregion
4182
- //#region ../seal/src/rules/date/date-relative-rules.ts
4119
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-relative-rules.mjs
4183
4120
  /**
4184
4121
  * Within days rule - date must be within X days from now (past or future)
4185
4122
  */
@@ -4229,7 +4166,7 @@ const withinFutureDaysRule = {
4229
4166
  };
4230
4167
 
4231
4168
  //#endregion
4232
- //#region ../seal/src/rules/date/date-special-rules.ts
4169
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-special-rules.mjs
4233
4170
  /**
4234
4171
  * Birthday rule - valid birthday (not in future, reasonable age)
4235
4172
  */
@@ -4282,7 +4219,7 @@ const leapYearRule = {
4282
4219
  };
4283
4220
 
4284
4221
  //#endregion
4285
- //#region ../seal/src/rules/color/color-rules.ts
4222
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/color/color-rules.mjs
4286
4223
  /**
4287
4224
  * Color validation regex patterns
4288
4225
  */
@@ -4381,7 +4318,7 @@ const darkColorRule = {
4381
4318
  };
4382
4319
 
4383
4320
  //#endregion
4384
- //#region ../seal/src/rules/conditional/required-if-rules.ts
4321
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/required-if-rules.mjs
4385
4322
  /**
4386
4323
  * Required if rule - field is required if another field equals a specific value
4387
4324
  * Supports both global and sibling scope
@@ -4576,7 +4513,7 @@ const requiredIfAnyNotEmptyRule = {
4576
4513
  };
4577
4514
 
4578
4515
  //#endregion
4579
- //#region ../seal/src/rules/conditional/required-unless-rules.ts
4516
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/required-unless-rules.mjs
4580
4517
  /**
4581
4518
  * Required unless rule - field is required unless another field equals a specific value
4582
4519
  * Supports both global and sibling scope
@@ -4600,7 +4537,7 @@ const requiredUnlessRule = {
4600
4537
  };
4601
4538
 
4602
4539
  //#endregion
4603
- //#region ../seal/src/rules/conditional/required-when-rule.ts
4540
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/required-when-rule.mjs
4604
4541
  /**
4605
4542
  * Required when callback returns true.
4606
4543
  *
@@ -4626,7 +4563,7 @@ const requiredWhenRule = {
4626
4563
  };
4627
4564
 
4628
4565
  //#endregion
4629
- //#region ../seal/src/rules/conditional/required-with-rules.ts
4566
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/required-with-rules.mjs
4630
4567
  /**
4631
4568
  * Required with rule - field is required if another field is present
4632
4569
  * Supports both global and sibling scope
@@ -4684,7 +4621,7 @@ const requiredWithAnyRule = {
4684
4621
  };
4685
4622
 
4686
4623
  //#endregion
4687
- //#region ../seal/src/rules/conditional/required-without-rules.ts
4624
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/required-without-rules.mjs
4688
4625
  /**
4689
4626
  * Required without rule - field is required if another field is missing
4690
4627
  * Supports both global and sibling scope
@@ -4742,7 +4679,7 @@ const requiredWithoutAnyRule = {
4742
4679
  };
4743
4680
 
4744
4681
  //#endregion
4745
- //#region ../seal/src/rules/conditional/present-if-rules.ts
4682
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/present-if-rules.mjs
4746
4683
  /**
4747
4684
  * Present if rule - field must be present if another field equals a specific value
4748
4685
  * Supports both global and sibling scope
@@ -4832,7 +4769,7 @@ const presentIfNotInRule = {
4832
4769
  };
4833
4770
 
4834
4771
  //#endregion
4835
- //#region ../seal/src/rules/conditional/present-unless-rules.ts
4772
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/present-unless-rules.mjs
4836
4773
  /**
4837
4774
  * Present unless rule - field must be present unless another field equals a specific value
4838
4775
  * Supports both global and sibling scope
@@ -4856,7 +4793,7 @@ const presentUnlessRule = {
4856
4793
  };
4857
4794
 
4858
4795
  //#endregion
4859
- //#region ../seal/src/rules/conditional/present-with-rules.ts
4796
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/present-with-rules.mjs
4860
4797
  /**
4861
4798
  * Present with rule - field must be present if another field is present
4862
4799
  * Supports both global and sibling scope
@@ -4924,7 +4861,7 @@ const presentWithAnyRule = {
4924
4861
  };
4925
4862
 
4926
4863
  //#endregion
4927
- //#region ../seal/src/rules/conditional/present-without-rules.ts
4864
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/present-without-rules.mjs
4928
4865
  /**
4929
4866
  * Present without rule - field must be present if another field is missing
4930
4867
  * Supports both global and sibling scope
@@ -4992,7 +4929,7 @@ const presentWithoutAnyRule = {
4992
4929
  };
4993
4930
 
4994
4931
  //#endregion
4995
- //#region ../seal/src/rules/conditional/forbidden-if-rules.ts
4932
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/forbidden-if-rules.mjs
4996
4933
  /**
4997
4934
  * Forbidden if rule - field is forbidden if another field equals a specific value
4998
4935
  * Supports both global and sibling scope
@@ -5101,7 +5038,7 @@ const forbiddenIfNotInRule = {
5101
5038
  };
5102
5039
 
5103
5040
  //#endregion
5104
- //#region ../seal/src/rules/common/enum.ts
5041
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/enum.mjs
5105
5042
  /**
5106
5043
  * Enum rule - value must be one of the enum values
5107
5044
  */
@@ -5173,7 +5110,7 @@ const notAllowedValuesRule = {
5173
5110
  };
5174
5111
 
5175
5112
  //#endregion
5176
- //#region ../seal/src/rules/common/equals-field-rules.ts
5113
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/equals-field-rules.mjs
5177
5114
  /**
5178
5115
  * Equals field rule - value must equal another field's value
5179
5116
  * Supports both global and sibling scope
@@ -5209,7 +5146,7 @@ const notEqualsFieldRule = {
5209
5146
  };
5210
5147
 
5211
5148
  //#endregion
5212
- //#region ../seal/src/rules/common/instanceof.ts
5149
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/instanceof.mjs
5213
5150
  /**
5214
5151
  * InstanceOf rule - value must be an instance of the given constructor.
5215
5152
  *
@@ -5227,7 +5164,7 @@ const instanceofRule = {
5227
5164
  };
5228
5165
 
5229
5166
  //#endregion
5230
- //#region ../seal/src/rules/common/literal.ts
5167
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/literal.mjs
5231
5168
  /**
5232
5169
  * Literal rule - value must be strictly equal to one of the literal values.
5233
5170
  *
@@ -5253,7 +5190,7 @@ const literalRule = {
5253
5190
  };
5254
5191
 
5255
5192
  //#endregion
5256
- //#region ../seal/src/rules/common/type-rules.ts
5193
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/type-rules.mjs
5257
5194
  /**
5258
5195
  * String rule - validates string type
5259
5196
  */
@@ -5344,7 +5281,7 @@ const arrayRule = {
5344
5281
  };
5345
5282
 
5346
5283
  //#endregion
5347
- //#region ../seal/src/rules/common/unknown-key.ts
5284
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/unknown-key.mjs
5348
5285
  /**
5349
5286
  * Unknown key rule - validates that object doesn't have unknown keys
5350
5287
  */
@@ -5364,12 +5301,11 @@ const unknownKeyRule = {
5364
5301
  };
5365
5302
 
5366
5303
  //#endregion
5367
- //#region ../seal/src/validators/array-validator.ts
5304
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/array-validator.mjs
5368
5305
  /**
5369
5306
  * Array validator class
5370
5307
  */
5371
5308
  var ArrayValidator = class extends BaseValidator {
5372
- validator;
5373
5309
  constructor(validator, errorMessage) {
5374
5310
  super();
5375
5311
  this.validator = validator;
@@ -5528,7 +5464,7 @@ var ArrayValidator = class extends BaseValidator {
5528
5464
  };
5529
5465
 
5530
5466
  //#endregion
5531
- //#region ../seal/src/validators/methods/equality-conditional-methods.ts
5467
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/equality-conditional-methods.mjs
5532
5468
  /**
5533
5469
  * Value must be equal to the given value
5534
5470
  */
@@ -5649,7 +5585,7 @@ BaseValidator.prototype.whenSibling = function(siblingField, options) {
5649
5585
  };
5650
5586
 
5651
5587
  //#endregion
5652
- //#region ../seal/src/validators/methods/forbidden-methods.ts
5588
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/forbidden-methods.mjs
5653
5589
  /**
5654
5590
  * Value is forbidden to be present
5655
5591
  */
@@ -5774,7 +5710,7 @@ BaseValidator.prototype.forbiddenIfNotInSibling = function(field, values, errorM
5774
5710
  };
5775
5711
 
5776
5712
  //#endregion
5777
- //#region ../seal/src/validators/methods/present-methods.ts
5713
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/present-methods.mjs
5778
5714
  /**
5779
5715
  * Field must be present if another field exists
5780
5716
  */
@@ -6001,7 +5937,7 @@ BaseValidator.prototype.presentWithoutAnySiblings = function(fields, errorMessag
6001
5937
  };
6002
5938
 
6003
5939
  //#endregion
6004
- //#region ../seal/src/validators/methods/required-methods.ts
5940
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/required-methods.mjs
6005
5941
  /**
6006
5942
  * This value must be present and has a value
6007
5943
  */
@@ -6338,7 +6274,7 @@ BaseValidator.prototype.requiredWhen = function(callback, errorMessage) {
6338
6274
  };
6339
6275
 
6340
6276
  //#endregion
6341
- //#region ../seal/src/validators/primitive-validator.ts
6277
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/primitive-validator.mjs
6342
6278
  /**
6343
6279
  * Abstract base validator for primitive-typed fields (string, number, boolean).
6344
6280
  *
@@ -6421,7 +6357,7 @@ var PrimitiveValidator = class extends BaseValidator {
6421
6357
  };
6422
6358
 
6423
6359
  //#endregion
6424
- //#region ../seal/src/rules/scalar/accepted-rule.ts
6360
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/scalar/accepted-rule.mjs
6425
6361
  const isAcceptedValue = (value) => {
6426
6362
  return [
6427
6363
  "1",
@@ -6530,7 +6466,7 @@ const acceptedWithoutRule = {
6530
6466
  };
6531
6467
 
6532
6468
  //#endregion
6533
- //#region ../seal/src/rules/scalar/declined-rule.ts
6469
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/scalar/declined-rule.mjs
6534
6470
  const isDeclinedValue = (value) => {
6535
6471
  return [
6536
6472
  "0",
@@ -6639,7 +6575,7 @@ const declinedWithoutRule = {
6639
6575
  };
6640
6576
 
6641
6577
  //#endregion
6642
- //#region ../seal/src/validators/boolean-validator.ts
6578
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/boolean-validator.mjs
6643
6579
  /**
6644
6580
  * Boolean validator class
6645
6581
  *
@@ -6755,7 +6691,7 @@ var BooleanValidator = class extends PrimitiveValidator {
6755
6691
  };
6756
6692
 
6757
6693
  //#endregion
6758
- //#region ../seal/src/validators/computed-validator.ts
6694
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/computed-validator.mjs
6759
6695
  /**
6760
6696
  * Computed field validator
6761
6697
  *
@@ -6789,8 +6725,6 @@ var BooleanValidator = class extends PrimitiveValidator {
6789
6725
  * ```
6790
6726
  */
6791
6727
  var ComputedValidator = class extends BaseValidator {
6792
- callback;
6793
- resultValidator;
6794
6728
  /**
6795
6729
  * Create a new computed field validator
6796
6730
  *
@@ -6869,7 +6803,7 @@ var ComputedValidator = class extends BaseValidator {
6869
6803
  };
6870
6804
 
6871
6805
  //#endregion
6872
- //#region ../seal/src/validators/date-validator.ts
6806
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/date-validator.mjs
6873
6807
  /**
6874
6808
  * Date validator class
6875
6809
  */
@@ -7489,7 +7423,7 @@ var DateValidator = class extends BaseValidator {
7489
7423
  };
7490
7424
 
7491
7425
  //#endregion
7492
- //#region ../seal/src/validators/literal-validator.ts
7426
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/literal-validator.mjs
7493
7427
  /**
7494
7428
  * Literal validator class
7495
7429
  *
@@ -7505,7 +7439,6 @@ var DateValidator = class extends BaseValidator {
7505
7439
  * v.literal(true) // type: true
7506
7440
  */
7507
7441
  var LiteralValidator = class extends BaseValidator {
7508
- values;
7509
7442
  constructor(values, errorMessage) {
7510
7443
  super();
7511
7444
  this.values = values;
@@ -7552,7 +7485,7 @@ var LiteralValidator = class extends BaseValidator {
7552
7485
  };
7553
7486
 
7554
7487
  //#endregion
7555
- //#region ../seal/src/validators/discriminated-union-validator.ts
7488
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/discriminated-union-validator.mjs
7556
7489
  /**
7557
7490
  * Discriminated union validator — routes payloads by a shared discriminator field.
7558
7491
  *
@@ -7585,10 +7518,6 @@ var LiteralValidator = class extends BaseValidator {
7585
7518
  * @see `domains/seal/plans/2026-05-12-discriminated-union.md`
7586
7519
  */
7587
7520
  var DiscriminatedUnionValidator = class DiscriminatedUnionValidator extends BaseValidator {
7588
- discriminator;
7589
- validators;
7590
- /** Map from discriminator literal value → matching branch validator. */
7591
- branches;
7592
7521
  constructor(discriminator, validators) {
7593
7522
  super();
7594
7523
  this.discriminator = discriminator;
@@ -7674,7 +7603,7 @@ var DiscriminatedUnionValidator = class DiscriminatedUnionValidator extends Base
7674
7603
  };
7675
7604
 
7676
7605
  //#endregion
7677
- //#region ../seal/src/validators/number-validator.ts
7606
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/number-validator.mjs
7678
7607
  /**
7679
7608
  * Number validator class - base for Int and Float validators
7680
7609
  */
@@ -7973,7 +7902,7 @@ var NumberValidator = class extends PrimitiveValidator {
7973
7902
  };
7974
7903
 
7975
7904
  //#endregion
7976
- //#region ../seal/src/validators/float-validator.ts
7905
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/float-validator.mjs
7977
7906
  /**
7978
7907
  * Float validator class
7979
7908
  */
@@ -7985,7 +7914,7 @@ var FloatValidator = class extends NumberValidator {
7985
7914
  };
7986
7915
 
7987
7916
  //#endregion
7988
- //#region ../seal/src/validators/instanceof-validator.ts
7917
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/instanceof-validator.mjs
7989
7918
  /**
7990
7919
  * InstanceOf validator class
7991
7920
  *
@@ -8003,7 +7932,6 @@ var FloatValidator = class extends NumberValidator {
8003
7932
  * v.instanceof(MyClass) // type: MyClass
8004
7933
  */
8005
7934
  var InstanceOfValidator = class extends BaseValidator {
8006
- ctor;
8007
7935
  constructor(ctor, errorMessage) {
8008
7936
  super();
8009
7937
  this.ctor = ctor;
@@ -8044,7 +7972,7 @@ var InstanceOfValidator = class extends BaseValidator {
8044
7972
  };
8045
7973
 
8046
7974
  //#endregion
8047
- //#region ../seal/src/validators/int-validator.ts
7975
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/int-validator.mjs
8048
7976
  /**
8049
7977
  * Integer validator class
8050
7978
  */
@@ -8068,7 +7996,7 @@ var IntValidator = class extends NumberValidator {
8068
7996
  };
8069
7997
 
8070
7998
  //#endregion
8071
- //#region ../seal/src/validators/lazy-validator.ts
7999
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/lazy-validator.mjs
8072
8000
  /**
8073
8001
  * Lazy validator — defers resolution of the inner validator until validate-time.
8074
8002
  *
@@ -8110,8 +8038,6 @@ var IntValidator = class extends NumberValidator {
8110
8038
  * @see `domains/seal/plans/2026-05-12-lazy-validator.md`
8111
8039
  */
8112
8040
  var LazyValidator = class extends BaseValidator {
8113
- thunk;
8114
- resolvedValidator;
8115
8041
  constructor(thunk) {
8116
8042
  super();
8117
8043
  this.thunk = thunk;
@@ -8151,7 +8077,7 @@ var LazyValidator = class extends BaseValidator {
8151
8077
  };
8152
8078
 
8153
8079
  //#endregion
8154
- //#region ../seal/src/validators/managed-validator.ts
8080
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/managed-validator.mjs
8155
8081
  /**
8156
8082
  * Managed field validator
8157
8083
  *
@@ -8186,7 +8112,7 @@ var ManagedValidator = class extends ComputedValidator {
8186
8112
  };
8187
8113
 
8188
8114
  //#endregion
8189
- //#region ../seal/src/validators/numeric-validator.ts
8115
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/numeric-validator.mjs
8190
8116
  /**
8191
8117
  * Numeric validator class - base for Int and Float validators either as number or string
8192
8118
  */
@@ -8207,7 +8133,7 @@ var NumericValidator = class extends NumberValidator {
8207
8133
  };
8208
8134
 
8209
8135
  //#endregion
8210
- //#region ../seal/src/validators/object-validator.ts
8136
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/object-validator.mjs
8211
8137
  /**
8212
8138
  * Object validator class with generic schema type for proper type inference.
8213
8139
  *
@@ -8225,13 +8151,12 @@ var NumericValidator = class extends NumberValidator {
8225
8151
  * brand-aware widening tries to inspect the class type.
8226
8152
  */
8227
8153
  var ObjectValidator = class ObjectValidator extends BaseValidator {
8228
- schema;
8229
- shouldAllowUnknown = false;
8230
- allowedKeys = [];
8231
- hasUnknownKeyRule = false;
8232
8154
  constructor(schema, errorMessage) {
8233
8155
  super();
8234
8156
  this.schema = schema;
8157
+ this.shouldAllowUnknown = false;
8158
+ this.allowedKeys = [];
8159
+ this.hasUnknownKeyRule = false;
8235
8160
  this.addMutableRule(objectRule, errorMessage);
8236
8161
  }
8237
8162
  /**
@@ -8633,7 +8558,7 @@ function removeUndefinedValues(obj, visited = /* @__PURE__ */ new WeakMap()) {
8633
8558
  }
8634
8559
 
8635
8560
  //#endregion
8636
- //#region ../seal/src/validators/record-validator.ts
8561
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/record-validator.mjs
8637
8562
  /**
8638
8563
  * Record validator class - validates objects with dynamic keys and consistent value types
8639
8564
  *
@@ -8649,7 +8574,6 @@ function removeUndefinedValues(obj, visited = /* @__PURE__ */ new WeakMap()) {
8649
8574
  * ```
8650
8575
  */
8651
8576
  var RecordValidator = class extends BaseValidator {
8652
- valueValidator;
8653
8577
  constructor(valueValidator, errorMessage) {
8654
8578
  super();
8655
8579
  this.valueValidator = valueValidator;
@@ -8735,7 +8659,7 @@ var RecordValidator = class extends BaseValidator {
8735
8659
  };
8736
8660
 
8737
8661
  //#endregion
8738
- //#region ../seal/src/validators/scalar-validator.ts
8662
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/scalar-validator.mjs
8739
8663
  /**
8740
8664
  * Scalar validator class
8741
8665
  *
@@ -8894,7 +8818,7 @@ var ScalarValidator = class extends PrimitiveValidator {
8894
8818
  };
8895
8819
 
8896
8820
  //#endregion
8897
- //#region ../seal/src/validators/string-validator.ts
8821
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/string-validator.mjs
8898
8822
  /**
8899
8823
  * String validator class
8900
8824
  */
@@ -9332,7 +9256,7 @@ var StringValidator = class extends PrimitiveValidator {
9332
9256
  };
9333
9257
 
9334
9258
  //#endregion
9335
- //#region ../seal/src/validators/tuple-validator.ts
9259
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/tuple-validator.mjs
9336
9260
  /**
9337
9261
  * Tuple validator class - validates fixed-length arrays with position-specific types
9338
9262
  *
@@ -9349,7 +9273,6 @@ var StringValidator = class extends PrimitiveValidator {
9349
9273
  * ```
9350
9274
  */
9351
9275
  var TupleValidator = class extends BaseValidator {
9352
- validators;
9353
9276
  constructor(validators, errorMessage) {
9354
9277
  super();
9355
9278
  this.validators = validators;
@@ -9457,7 +9380,7 @@ var TupleValidator = class extends BaseValidator {
9457
9380
  };
9458
9381
 
9459
9382
  //#endregion
9460
- //#region ../seal/src/validators/union-validator.ts
9383
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/union-validator.mjs
9461
9384
  /**
9462
9385
  * Union validator class - validates value against multiple validator types
9463
9386
  *
@@ -9516,7 +9439,7 @@ var UnionValidator = class extends BaseValidator {
9516
9439
  };
9517
9440
 
9518
9441
  //#endregion
9519
- //#region ../seal/src/factory/validators.ts
9442
+ //#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/factory/validators.mjs
9520
9443
  /**
9521
9444
  * Seal factory object - creates instances of validators
9522
9445
  *
@@ -9620,7 +9543,7 @@ const v = {
9620
9543
  };
9621
9544
 
9622
9545
  //#endregion
9623
- //#region ../herald/src/drivers/rabbitmq/rabbitmq-channel.ts
9546
+ //#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/drivers/rabbitmq/rabbitmq-channel.mjs
9624
9547
  /**
9625
9548
  * RabbitMQ Channel Implementation
9626
9549
  *
@@ -9629,15 +9552,12 @@ const v = {
9629
9552
  * @template TPayload - The typed payload
9630
9553
  */
9631
9554
  var RabbitMQChannel = class {
9632
- name;
9633
- options;
9634
- amqpChannel;
9635
- subscriptions = /* @__PURE__ */ new Map();
9636
- asserted = false;
9637
9555
  /**
9638
9556
  * Create a new RabbitMQ channel
9639
9557
  */
9640
9558
  constructor(name, amqpChannel, options) {
9559
+ this.subscriptions = /* @__PURE__ */ new Map();
9560
+ this.asserted = false;
9641
9561
  this.name = name;
9642
9562
  this.amqpChannel = amqpChannel;
9643
9563
  this.options = options ?? {};
@@ -9988,12 +9908,8 @@ var RabbitMQChannel = class {
9988
9908
  * RabbitMQ Subscription Implementation
9989
9909
  */
9990
9910
  var RabbitMQSubscription = class {
9991
- id;
9992
- channel;
9993
- consumerTag;
9994
- amqpChannel;
9995
- _isActive = true;
9996
9911
  constructor(id, channel, consumerTag, amqpChannel) {
9912
+ this._isActive = true;
9997
9913
  this.id = id;
9998
9914
  this.channel = channel;
9999
9915
  this.consumerTag = consumerTag;
@@ -10016,7 +9932,7 @@ var RabbitMQSubscription = class {
10016
9932
  };
10017
9933
 
10018
9934
  //#endregion
10019
- //#region ../herald/src/drivers/rabbitmq/rabbitmq-driver.ts
9935
+ //#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/drivers/rabbitmq/rabbitmq-driver.mjs
10020
9936
  /**
10021
9937
  * The single amqplib load, shared by every caller.
10022
9938
  *
@@ -10061,7 +9977,7 @@ function redactAmqpCredentials(message) {
10061
9977
  * @returns The amqplib module, or `undefined` when it is not installed.
10062
9978
  */
10063
9979
  function loadAmqplibModule() {
10064
- if (!amqplibModulePromise) amqplibModulePromise = Promise.resolve().then(() => /* @__PURE__ */ __toESM(require("./channel_api-ChOeNKM1.cjs").default, 1)).catch(() => void 0);
9980
+ if (!amqplibModulePromise) amqplibModulePromise = Promise.resolve().then(() => /* @__PURE__ */ require_chunk.__toESM(require("./channel_api-CBB_XoIl.cjs").default, 1)).catch(() => void 0);
10065
9981
  return amqplibModulePromise;
10066
9982
  }
10067
9983
  /**
@@ -10087,20 +10003,19 @@ function loadAmqplibModule() {
10087
10003
  * ```
10088
10004
  */
10089
10005
  var RabbitMQDriver = class {
10090
- name = "rabbitmq";
10091
- consumers = [];
10092
- options;
10093
- events = new node_events.EventEmitter();
10094
- channels = /* @__PURE__ */ new Map();
10095
- connection = null;
10096
- amqpChannel = null;
10097
- _isConnected = false;
10098
10006
  /**
10099
10007
  * Create a new RabbitMQ driver
10100
10008
  *
10101
10009
  * @param options - RabbitMQ connection options
10102
10010
  */
10103
10011
  constructor(options) {
10012
+ this.name = "rabbitmq";
10013
+ this.consumers = [];
10014
+ this.events = new node_events.EventEmitter();
10015
+ this.channels = /* @__PURE__ */ new Map();
10016
+ this.connection = null;
10017
+ this.amqpChannel = null;
10018
+ this._isConnected = false;
10104
10019
  this.options = options;
10105
10020
  }
10106
10021
  /**
@@ -10312,7 +10227,7 @@ var RabbitMQDriver = class {
10312
10227
  };
10313
10228
 
10314
10229
  //#endregion
10315
- //#region ../herald/src/communicators/broker.ts
10230
+ //#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/communicators/broker.mjs
10316
10231
  /**
10317
10232
  * Broker - wrapper around a driver with metadata
10318
10233
  *
@@ -10331,12 +10246,6 @@ var RabbitMQDriver = class {
10331
10246
  * ```
10332
10247
  */
10333
10248
  var Broker = class {
10334
- /** Unique name identifying this broker */
10335
- name;
10336
- /** The underlying driver */
10337
- driver;
10338
- /** Whether this is the default broker */
10339
- isDefault;
10340
10249
  /**
10341
10250
  * Create a new Broker
10342
10251
  *
@@ -10420,12 +10329,11 @@ var Broker = class {
10420
10329
  };
10421
10330
 
10422
10331
  //#endregion
10423
- //#region ../herald/src/communicators/broker-registry.ts
10332
+ //#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/communicators/broker-registry.mjs
10424
10333
  /**
10425
10334
  * Error thrown when a broker is not found
10426
10335
  */
10427
10336
  var MissingBrokerError = class extends Error {
10428
- brokerName;
10429
10337
  constructor(message, brokerName) {
10430
10338
  super(message);
10431
10339
  this.name = "MissingBrokerError";
@@ -10460,9 +10368,10 @@ var MissingBrokerError = class extends Error {
10460
10368
  * ```
10461
10369
  */
10462
10370
  var BrokerRegistry = class {
10463
- sources = /* @__PURE__ */ new Map();
10464
- defaultSource;
10465
- events = new node_events.EventEmitter();
10371
+ constructor() {
10372
+ this.sources = /* @__PURE__ */ new Map();
10373
+ this.events = new node_events.EventEmitter();
10374
+ }
10466
10375
  /**
10467
10376
  * Register a new broker
10468
10377
  *
@@ -10619,7 +10528,7 @@ var BrokerRegistry = class {
10619
10528
  const brokerRegistry = new BrokerRegistry();
10620
10529
 
10621
10530
  //#endregion
10622
- //#region ../herald/src/utils/connect-to-broker.ts
10531
+ //#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/utils/connect-to-broker.mjs
10623
10532
  /**
10624
10533
  * Connect to a message broker and register it.
10625
10534
  *
@@ -10681,7 +10590,7 @@ async function connectToBroker(options) {
10681
10590
  switch (driverType) {
10682
10591
  case "rabbitmq": {
10683
10592
  const rabbitOptions = options;
10684
- const { RabbitMQDriver } = await Promise.resolve().then(() => require("./rabbitmq-driver-Drn1T40o.cjs"));
10593
+ const { RabbitMQDriver } = await Promise.resolve().then(() => require("./rabbitmq-driver-CIvkulXX.cjs"));
10685
10594
  driver = new RabbitMQDriver(rabbitOptions);
10686
10595
  break;
10687
10596
  }
@@ -10782,7 +10691,7 @@ async function subscribeConsumer(Consumer) {
10782
10691
  }
10783
10692
 
10784
10693
  //#endregion
10785
- //#region ../herald/src/decorators/consumable.ts
10694
+ //#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/decorators/consumable.mjs
10786
10695
  const pendingSubscribers = /* @__PURE__ */ new Set();
10787
10696
  /**
10788
10697
  * Register the consumer to the broker
@@ -10813,7 +10722,7 @@ brokerRegistry.on("connected", (broker) => {
10813
10722
  });
10814
10723
 
10815
10724
  //#endregion
10816
- //#region ../herald/src/message-managers/event-consumer.ts
10725
+ //#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/message-managers/event-consumer.mjs
10817
10726
  /**
10818
10727
  * This class is used to be part of the Herald Event Consumer Manager.
10819
10728
  * It should be used to consume events from Either RabbitMQ or Kafka through Herald
@@ -10821,11 +10730,6 @@ brokerRegistry.on("connected", (broker) => {
10821
10730
  * It's highly recommended using it instead of declaring manual channel namd and subscribing to event
10822
10731
  */
10823
10732
  var EventConsumer = class {
10824
- /**
10825
- * Event name
10826
- */
10827
- static eventName;
10828
- static _consumerId;
10829
10733
  static get consumerId() {
10830
10734
  if (!this._consumerId) this._consumerId = (0, crypto.randomUUID)();
10831
10735
  return this._consumerId;
@@ -10834,18 +10738,6 @@ var EventConsumer = class {
10834
10738
  return this.constructor.eventName;
10835
10739
  }
10836
10740
  /**
10837
- * Min version accepted to be consumed by this class
10838
- */
10839
- static minVersion;
10840
- /**
10841
- * Max version accepted to be consumed by this class
10842
- */
10843
- static maxVersion;
10844
- /**
10845
- * Payload validation to auto reject the received event before accessing it in the handle method
10846
- */
10847
- schema;
10848
- /**
10849
10741
  * Determine whether this is accepted version to be used by this consumer
10850
10742
  */
10851
10743
  static isAcceptedVersion(version) {
@@ -10866,8 +10758,13 @@ var EventConsumer = class {
10866
10758
  */
10867
10759
  function defineConsumer(eventName, options) {
10868
10760
  const Class = class AnnouncedConsumer extends EventConsumer {
10869
- static eventName = eventName;
10870
- schema = options.schema;
10761
+ constructor(..._args) {
10762
+ super(..._args);
10763
+ this.schema = options.schema;
10764
+ }
10765
+ static {
10766
+ this.eventName = eventName;
10767
+ }
10871
10768
  async handle(payload, event) {
10872
10769
  if (options.validate) {
10873
10770
  const result = await options.validate(payload);
@@ -10881,25 +10778,8 @@ function defineConsumer(eventName, options) {
10881
10778
  }
10882
10779
 
10883
10780
  //#endregion
10884
- //#region ../herald/src/message-managers/event-message.ts
10781
+ //#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/message-managers/event-message.mjs
10885
10782
  var EventMessage = class {
10886
- data;
10887
- /**
10888
- * Event version
10889
- */
10890
- version;
10891
- /**
10892
- * Additional metadata (if any)
10893
- */
10894
- metadata;
10895
- /**
10896
- * Event Message id
10897
- */
10898
- messageId;
10899
- /**
10900
- * Schema of payload that will be used to determine whether this event should be published
10901
- */
10902
- schema;
10903
10783
  /**
10904
10784
  * Data that will be sent with the event (Payload)
10905
10785
  */
@@ -10949,10 +10829,10 @@ var EventMessage = class {
10949
10829
  */
10950
10830
  function defineEvent(eventName, options = {}) {
10951
10831
  return class AnnouncedEvent extends EventMessage {
10952
- eventName = eventName;
10953
- schema = options.schema;
10954
10832
  constructor(data) {
10955
10833
  super(data);
10834
+ this.eventName = eventName;
10835
+ this.schema = options.schema;
10956
10836
  }
10957
10837
  toJSON() {
10958
10838
  if (!options.toJSON) return this.data;
@@ -10962,7 +10842,7 @@ function defineEvent(eventName, options = {}) {
10962
10842
  }
10963
10843
 
10964
10844
  //#endregion
10965
- //#region ../herald/src/use-case-broadcast.ts
10845
+ //#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/use-case-broadcast.mjs
10966
10846
  /**
10967
10847
  * Channel adapter that publishes use-case broadcast events onto a herald broker.
10968
10848
  *
@@ -10995,7 +10875,7 @@ exports.EventMessage = EventMessage;
10995
10875
  exports.MissingBrokerError = MissingBrokerError;
10996
10876
  exports.RabbitMQChannel = RabbitMQChannel;
10997
10877
  exports.RabbitMQDriver = RabbitMQDriver;
10998
- exports.__commonJSMin = __commonJSMin;
10878
+ exports.RabbitMQDriver$1 = RabbitMQDriver;
10999
10879
  exports.brokerRegistry = brokerRegistry;
11000
10880
  exports.connectToBroker = connectToBroker;
11001
10881
  exports.defineConsumer = defineConsumer;
@@ -11006,4 +10886,4 @@ exports.heraldChannel = heraldChannel;
11006
10886
  exports.pendingSubscribers = pendingSubscribers;
11007
10887
  exports.publishEvent = publishEvent;
11008
10888
  exports.subscribeConsumer = subscribeConsumer;
11009
- //# sourceMappingURL=src-Dy5nwVcs.cjs.map
10889
+ //# sourceMappingURL=esm-FB2hc0-o.cjs.map