@warlock.js/notifications 5.2.4 → 5.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/{src-DJA8APmy.cjs → esm-FB2hc0-o.cjs} +206 -298
- package/cjs/esm-FB2hc0-o.cjs.map +1 -0
- package/cjs/index.cjs +1 -1
- package/cjs/rabbitmq-driver-CIvkulXX.cjs +3 -0
- package/esm/index.d.mts +4 -0
- 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
- 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
- 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
- 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
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/communicators/index.mjs +3 -0
- 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
- 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
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/decorators/index.mjs +3 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/drivers/index.mjs +5 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/index.d.mts +1 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/utils/index.mjs +3 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/config.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/config.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/factory/index.mjs +3 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/factory/validate.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/factory/validate.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/factory/validators.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/factory/validators.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/date-helpers.mjs.map +1 -0
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/index.mjs +3 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/is-empty-value.mjs +10 -0
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/path-helpers.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/validation-helpers.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/index.d.mts +10 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm}/index.mjs +7 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/array-mutators.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/date-mutators.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/index.mjs +7 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/number-mutators.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/object-mutators.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/scalar-mutators.mjs +9 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/scalar-mutators.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/string-mutators.mjs.map +1 -0
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/array/index.mjs +3 -0
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/color/index.mjs +3 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/enum.mjs.map +1 -0
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/index.mjs +8 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/instanceof.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/literal.mjs.map +1 -0
- 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
- 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
- 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
- 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
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/index.mjs +12 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/equal.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/forbidden.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/index.mjs +7 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/required.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/union.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/when.mjs.map +1 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/index.mjs +9 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/index.mjs +57 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/length/index.mjs +3 -0
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/number/index.mjs +3 -0
- 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
- 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
- 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
- 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
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/scalar/index.mjs +4 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/alpha.mjs.map +1 -0
- 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
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/email.mjs.map +1 -0
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/index.mjs +13 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/ip.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/matches.mjs +4 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/pattern.mjs.map +1 -0
- 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
- 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
- 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
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/url.mjs.map +1 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/standard-schema/types.d.mts +97 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/conditional-types.d.mts +16 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/context-types.d.mts +42 -0
- 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
- 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
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/date-types.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/mutator-types.d.mts +28 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/result-types.d.mts +17 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/rule-types.d.mts +53 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/types/schema-types.d.mts +11 -0
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/any-validator.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/array-validator.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/base-validator.d.mts +492 -0
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/base-validator.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/boolean-validator.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/computed-validator.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/date-validator.mjs.map +1 -0
- 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
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/float-validator.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/index.mjs +28 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/instanceof-validator.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/int-validator.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/lazy-validator.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/literal-validator.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/managed-validator.mjs.map +1 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/number-validator.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/numeric-validator.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/object-validator.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/primitive-validator.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/record-validator.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/scalar-validator.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/string-validator.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/tuple-validator.mjs.map +1 -0
- 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
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/union-validator.mjs.map +1 -0
- package/esm/queue/load-herald.d.mts.map +1 -1
- package/esm/queue/load-herald.mjs +1 -1
- package/package.json +6 -6
- package/cjs/rabbitmq-driver-BFvpezlq.cjs +0 -3
- package/cjs/src-DJA8APmy.cjs.map +0 -1
- package/esm/herald/src/communicators/broker-registry.mjs.map +0 -1
- package/esm/herald/src/communicators/broker.mjs.map +0 -1
- package/esm/herald/src/communicators/index.mjs +0 -4
- package/esm/herald/src/decorators/consumable.mjs.map +0 -1
- package/esm/herald/src/decorators/index.mjs +0 -3
- package/esm/herald/src/drivers/index.mjs +0 -5
- package/esm/herald/src/drivers/rabbitmq/index.mjs +0 -4
- package/esm/herald/src/drivers/rabbitmq/rabbitmq-channel.mjs.map +0 -1
- package/esm/herald/src/drivers/rabbitmq/rabbitmq-driver.mjs.map +0 -1
- package/esm/herald/src/message-managers/event-consumer.mjs.map +0 -1
- package/esm/herald/src/message-managers/event-message.mjs.map +0 -1
- package/esm/herald/src/message-managers/index.mjs +0 -4
- package/esm/herald/src/message-managers/prepare-consumer-subscription.mjs.map +0 -1
- package/esm/herald/src/use-case-broadcast.mjs.map +0 -1
- package/esm/herald/src/utils/connect-to-broker.mjs.map +0 -1
- package/esm/herald/src/utils/index.mjs +0 -3
- package/esm/seal/src/config.mjs.map +0 -1
- package/esm/seal/src/factory/index.mjs +0 -4
- package/esm/seal/src/factory/validate.mjs.map +0 -1
- package/esm/seal/src/factory/validators.mjs.map +0 -1
- package/esm/seal/src/helpers/date-helpers.mjs.map +0 -1
- package/esm/seal/src/helpers/get-field-value.mjs.map +0 -1
- package/esm/seal/src/helpers/index.mjs +0 -6
- package/esm/seal/src/helpers/is-empty-value.mjs +0 -10
- package/esm/seal/src/helpers/is-empty-value.mjs.map +0 -1
- package/esm/seal/src/helpers/path-helpers.mjs.map +0 -1
- package/esm/seal/src/helpers/validation-helpers.mjs.map +0 -1
- package/esm/seal/src/mutators/array-mutators.mjs.map +0 -1
- package/esm/seal/src/mutators/date-mutators.mjs.map +0 -1
- package/esm/seal/src/mutators/index.mjs +0 -8
- package/esm/seal/src/mutators/number-mutators.mjs.map +0 -1
- package/esm/seal/src/mutators/object-mutators.mjs.map +0 -1
- package/esm/seal/src/mutators/scalar-mutators.mjs +0 -9
- package/esm/seal/src/mutators/scalar-mutators.mjs.map +0 -1
- package/esm/seal/src/mutators/string-mutators.mjs.map +0 -1
- package/esm/seal/src/rules/array/array-rules.mjs.map +0 -1
- package/esm/seal/src/rules/array/index.mjs +0 -3
- package/esm/seal/src/rules/color/color-rules.mjs.map +0 -1
- package/esm/seal/src/rules/color/index.mjs +0 -3
- package/esm/seal/src/rules/common/enum.mjs.map +0 -1
- package/esm/seal/src/rules/common/equals-field-rules.mjs.map +0 -1
- package/esm/seal/src/rules/common/index.mjs +0 -8
- package/esm/seal/src/rules/common/instanceof.mjs.map +0 -1
- package/esm/seal/src/rules/common/literal.mjs.map +0 -1
- package/esm/seal/src/rules/common/type-rules.mjs.map +0 -1
- package/esm/seal/src/rules/common/unknown-key.mjs.map +0 -1
- package/esm/seal/src/rules/conditional/forbidden-if-rules.mjs.map +0 -1
- package/esm/seal/src/rules/conditional/index.mjs +0 -12
- package/esm/seal/src/rules/conditional/present-if-rules.mjs.map +0 -1
- package/esm/seal/src/rules/conditional/present-unless-rules.mjs.map +0 -1
- package/esm/seal/src/rules/conditional/present-with-rules.mjs.map +0 -1
- package/esm/seal/src/rules/conditional/present-without-rules.mjs.map +0 -1
- package/esm/seal/src/rules/conditional/required-if-rules.mjs.map +0 -1
- package/esm/seal/src/rules/conditional/required-unless-rules.mjs.map +0 -1
- package/esm/seal/src/rules/conditional/required-when-rule.mjs.map +0 -1
- package/esm/seal/src/rules/conditional/required-with-rules.mjs.map +0 -1
- package/esm/seal/src/rules/conditional/required-without-rules.mjs.map +0 -1
- package/esm/seal/src/rules/core/equal.mjs.map +0 -1
- package/esm/seal/src/rules/core/forbidden.mjs.map +0 -1
- package/esm/seal/src/rules/core/index.mjs +0 -7
- package/esm/seal/src/rules/core/required.mjs.map +0 -1
- package/esm/seal/src/rules/core/union.mjs.map +0 -1
- package/esm/seal/src/rules/core/when.mjs.map +0 -1
- package/esm/seal/src/rules/date/date-comparison-rules.mjs.map +0 -1
- package/esm/seal/src/rules/date/date-day-rules.mjs.map +0 -1
- package/esm/seal/src/rules/date/date-field-comparison-rules.mjs.map +0 -1
- package/esm/seal/src/rules/date/date-period-rules.mjs.map +0 -1
- package/esm/seal/src/rules/date/date-relative-rules.mjs.map +0 -1
- package/esm/seal/src/rules/date/date-special-rules.mjs.map +0 -1
- package/esm/seal/src/rules/date/date.mjs.map +0 -1
- package/esm/seal/src/rules/date/index.mjs +0 -9
- package/esm/seal/src/rules/index.mjs +0 -54
- package/esm/seal/src/rules/length/index.mjs +0 -3
- package/esm/seal/src/rules/length/length-rules.mjs.map +0 -1
- package/esm/seal/src/rules/number/index.mjs +0 -3
- package/esm/seal/src/rules/number/number-rules.mjs.map +0 -1
- package/esm/seal/src/rules/scalar/accepted-rule.mjs.map +0 -1
- package/esm/seal/src/rules/scalar/declined-rule.mjs.map +0 -1
- package/esm/seal/src/rules/scalar/index.mjs +0 -4
- package/esm/seal/src/rules/string/alpha.mjs.map +0 -1
- package/esm/seal/src/rules/string/credit-card.mjs.map +0 -1
- package/esm/seal/src/rules/string/email.mjs.map +0 -1
- package/esm/seal/src/rules/string/id-formats.mjs.map +0 -1
- package/esm/seal/src/rules/string/index.mjs +0 -13
- package/esm/seal/src/rules/string/ip.mjs.map +0 -1
- package/esm/seal/src/rules/string/matches.mjs +0 -4
- package/esm/seal/src/rules/string/pattern.mjs.map +0 -1
- package/esm/seal/src/rules/string/string-comparison.mjs.map +0 -1
- package/esm/seal/src/rules/string/strong-password-rule.mjs.map +0 -1
- package/esm/seal/src/rules/string/url.mjs.map +0 -1
- package/esm/seal/src/rules/string/without-whitespace.mjs.map +0 -1
- package/esm/seal/src/standard-schema/json-schema.mjs.map +0 -1
- package/esm/seal/src/standard-schema/map-result.mjs.map +0 -1
- package/esm/seal/src/types/date-types.mjs.map +0 -1
- package/esm/seal/src/validators/any-validator.mjs.map +0 -1
- package/esm/seal/src/validators/array-validator.mjs.map +0 -1
- package/esm/seal/src/validators/base-validator.mjs.map +0 -1
- package/esm/seal/src/validators/boolean-validator.mjs.map +0 -1
- package/esm/seal/src/validators/computed-validator.mjs.map +0 -1
- package/esm/seal/src/validators/date-validator.mjs.map +0 -1
- package/esm/seal/src/validators/discriminated-union-validator.mjs.map +0 -1
- package/esm/seal/src/validators/float-validator.mjs.map +0 -1
- package/esm/seal/src/validators/index.mjs +0 -28
- package/esm/seal/src/validators/instanceof-validator.mjs.map +0 -1
- package/esm/seal/src/validators/int-validator.mjs.map +0 -1
- package/esm/seal/src/validators/lazy-validator.mjs.map +0 -1
- package/esm/seal/src/validators/literal-validator.mjs.map +0 -1
- package/esm/seal/src/validators/managed-validator.mjs.map +0 -1
- package/esm/seal/src/validators/methods/equality-conditional-methods.mjs.map +0 -1
- package/esm/seal/src/validators/methods/forbidden-methods.mjs.map +0 -1
- package/esm/seal/src/validators/methods/present-methods.mjs.map +0 -1
- package/esm/seal/src/validators/methods/required-methods.mjs.map +0 -1
- package/esm/seal/src/validators/number-validator.mjs.map +0 -1
- package/esm/seal/src/validators/numeric-validator.mjs.map +0 -1
- package/esm/seal/src/validators/object-validator.mjs.map +0 -1
- package/esm/seal/src/validators/primitive-validator.mjs.map +0 -1
- package/esm/seal/src/validators/record-validator.mjs.map +0 -1
- package/esm/seal/src/validators/scalar-validator.mjs.map +0 -1
- package/esm/seal/src/validators/string-validator.mjs.map +0 -1
- package/esm/seal/src/validators/tuple-validator.mjs.map +0 -1
- package/esm/seal/src/validators/union-validator.mjs.map +0 -1
- /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
- /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
- /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
- /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
|
@@ -4,7 +4,7 @@ let node_crypto = require("node:crypto");
|
|
|
4
4
|
let node_events = require("node:events");
|
|
5
5
|
let crypto = require("crypto");
|
|
6
6
|
|
|
7
|
-
//#region ../herald/
|
|
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
|
|
8
8
|
function prepareConsumerSubscription(Consumer, onError) {
|
|
9
9
|
const callback = async (message, ctx) => {
|
|
10
10
|
const envelope = message.payload;
|
|
@@ -44,7 +44,7 @@ function prepareConsumerSubscription(Consumer, onError) {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
//#endregion
|
|
47
|
-
//#region ../seal/
|
|
47
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/standard-schema/json-schema.mjs
|
|
48
48
|
/**
|
|
49
49
|
* Apply nullable to a JSON Schema object based on the target dialect.
|
|
50
50
|
*
|
|
@@ -122,6 +122,71 @@ function getRuleOptions(rules, ruleName) {
|
|
|
122
122
|
return rules.find((r) => r.name === ruleName)?.context?.options;
|
|
123
123
|
}
|
|
124
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
|
+
|
|
125
190
|
//#endregion
|
|
126
191
|
//#region ../node_modules/.pnpm/@mongez+reinforcements@4.0.1/node_modules/@mongez/reinforcements/esm/object/get.mjs
|
|
127
192
|
function get(object, path, defaultValue) {
|
|
@@ -590,72 +655,7 @@ tap.with = function tapWith(sideEffect) {
|
|
|
590
655
|
};
|
|
591
656
|
|
|
592
657
|
//#endregion
|
|
593
|
-
//#region ../seal/
|
|
594
|
-
/**
|
|
595
|
-
* Global Seal configuration
|
|
596
|
-
*/
|
|
597
|
-
const config = { firstErrorOnly: true };
|
|
598
|
-
/**
|
|
599
|
-
* Get current Seal configuration
|
|
600
|
-
*/
|
|
601
|
-
function getSealConfig() {
|
|
602
|
-
return config;
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
//#endregion
|
|
606
|
-
//#region ../seal/src/factory/validate.ts
|
|
607
|
-
/**
|
|
608
|
-
* Validate data against a schema
|
|
609
|
-
*/
|
|
610
|
-
const validate = async (schema, data, { context: extendedContext, ...configurations } = getSealConfig() || {}) => {
|
|
611
|
-
const context = {
|
|
612
|
-
allValues: data,
|
|
613
|
-
parent: null,
|
|
614
|
-
value: data,
|
|
615
|
-
key: "",
|
|
616
|
-
path: "",
|
|
617
|
-
context: extendedContext,
|
|
618
|
-
rootContext: extendedContext,
|
|
619
|
-
translateRule(ruleTranslation) {
|
|
620
|
-
return configurations.translateRule?.(ruleTranslation) ?? "";
|
|
621
|
-
},
|
|
622
|
-
translateAttribute(attributeTranslation) {
|
|
623
|
-
return configurations.translateAttribute?.(attributeTranslation) ?? "";
|
|
624
|
-
},
|
|
625
|
-
configurations
|
|
626
|
-
};
|
|
627
|
-
const result = await schema.validate(data, context);
|
|
628
|
-
if (!result.isValid) return {
|
|
629
|
-
...result,
|
|
630
|
-
data: void 0
|
|
631
|
-
};
|
|
632
|
-
return result;
|
|
633
|
-
};
|
|
634
|
-
|
|
635
|
-
//#endregion
|
|
636
|
-
//#region ../seal/src/helpers/date-helpers.ts
|
|
637
|
-
/**
|
|
638
|
-
* Detect if value is a date value or field name
|
|
639
|
-
*
|
|
640
|
-
* Date values:
|
|
641
|
-
* - Date instance
|
|
642
|
-
* - Number (timestamp)
|
|
643
|
-
* - String with date separators (- or /)
|
|
644
|
-
*
|
|
645
|
-
* Field names:
|
|
646
|
-
* - Strings without - or /
|
|
647
|
-
*
|
|
648
|
-
* @param value - Value to check
|
|
649
|
-
* @returns true if it's a date value, false if it's a field name
|
|
650
|
-
*/
|
|
651
|
-
function isDateValue(value) {
|
|
652
|
-
if (value instanceof Date) return true;
|
|
653
|
-
const date = new Date(value);
|
|
654
|
-
return !isNaN(date.getTime());
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
//#endregion
|
|
658
|
-
//#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
|
|
659
659
|
/**
|
|
660
660
|
* Get field value based on scope from rule options
|
|
661
661
|
*
|
|
@@ -696,7 +696,7 @@ function getFieldValue(rule, context, fieldKey = "field") {
|
|
|
696
696
|
}
|
|
697
697
|
|
|
698
698
|
//#endregion
|
|
699
|
-
//#region ../seal/
|
|
699
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/path-helpers.mjs
|
|
700
700
|
/**
|
|
701
701
|
* Set the key path for nested validation
|
|
702
702
|
*/
|
|
@@ -706,7 +706,7 @@ const setKeyPath = (path, key) => {
|
|
|
706
706
|
};
|
|
707
707
|
|
|
708
708
|
//#endregion
|
|
709
|
-
//#region ../seal/
|
|
709
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/validation-helpers.mjs
|
|
710
710
|
const VALID_RULE = { isValid: true };
|
|
711
711
|
/**
|
|
712
712
|
* Resolve a single attribute value through the full translation priority chain:
|
|
@@ -1125,13 +1125,13 @@ const Is = {
|
|
|
1125
1125
|
};
|
|
1126
1126
|
|
|
1127
1127
|
//#endregion
|
|
1128
|
-
//#region ../seal/
|
|
1128
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/helpers/is-empty-value.mjs
|
|
1129
1129
|
function isEmptyValue(value) {
|
|
1130
1130
|
return isEmpty(value) && !isObject(value);
|
|
1131
1131
|
}
|
|
1132
1132
|
|
|
1133
1133
|
//#endregion
|
|
1134
|
-
//#region ../seal/
|
|
1134
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/required.mjs
|
|
1135
1135
|
/**
|
|
1136
1136
|
* Required rule - value must be present and not empty
|
|
1137
1137
|
*/
|
|
@@ -1161,7 +1161,7 @@ const presentRule = {
|
|
|
1161
1161
|
};
|
|
1162
1162
|
|
|
1163
1163
|
//#endregion
|
|
1164
|
-
//#region ../seal/
|
|
1164
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/standard-schema/map-result.mjs
|
|
1165
1165
|
/**
|
|
1166
1166
|
* Maps a Seal ValidationResult to a Standard Schema result shape.
|
|
1167
1167
|
*
|
|
@@ -1185,57 +1185,24 @@ function mapToStandardResult(result) {
|
|
|
1185
1185
|
}
|
|
1186
1186
|
|
|
1187
1187
|
//#endregion
|
|
1188
|
-
//#region ../seal/
|
|
1188
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/base-validator.mjs
|
|
1189
1189
|
/**
|
|
1190
1190
|
* Base validator class - foundation for all validators
|
|
1191
1191
|
*/
|
|
1192
1192
|
var BaseValidator = class {
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
*/
|
|
1207
|
-
catchValue;
|
|
1208
|
-
hasCatch = false;
|
|
1209
|
-
/**
|
|
1210
|
-
* Whether the field is optional.
|
|
1211
|
-
* - false (default): field is required unless a requiredRule governs the condition.
|
|
1212
|
-
* - true: field can be absent or empty — set by calling .optional().
|
|
1213
|
-
*
|
|
1214
|
-
* Also used as a TypeScript literal brand via the optional() return type.
|
|
1215
|
-
*/
|
|
1216
|
-
isOptional = false;
|
|
1217
|
-
/**
|
|
1218
|
-
* The single required-condition rule for this field.
|
|
1219
|
-
* - null: field uses strict default (always required when not optional).
|
|
1220
|
-
* - set: the rule governs when the field is required (e.g., requiredIf).
|
|
1221
|
-
*
|
|
1222
|
-
* Stored separately from rules[] and prepended at validate() time.
|
|
1223
|
-
*/
|
|
1224
|
-
requiredRule = this.createRule(requiredRule);
|
|
1225
|
-
/**
|
|
1226
|
-
* Pipeline to transform the mutated/original data before returning it
|
|
1227
|
-
*/
|
|
1228
|
-
dataTransformers = [];
|
|
1229
|
-
/**
|
|
1230
|
-
* Attributes text to be replaced on translations
|
|
1231
|
-
* If the value is an object, it will be used as the attributes list for the rule
|
|
1232
|
-
* If the value is a string, it will be used as the attributes list for the rule
|
|
1233
|
-
*/
|
|
1234
|
-
attributesText = {};
|
|
1235
|
-
/**
|
|
1236
|
-
* Attributed that will be always using the attribute translator
|
|
1237
|
-
*/
|
|
1238
|
-
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
|
+
}
|
|
1239
1206
|
/**
|
|
1240
1207
|
* Mark the validator as mutable
|
|
1241
1208
|
*/
|
|
@@ -1865,19 +1832,16 @@ var BaseValidator = class {
|
|
|
1865
1832
|
};
|
|
1866
1833
|
|
|
1867
1834
|
//#endregion
|
|
1868
|
-
//#region ../seal/
|
|
1835
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/any-validator.mjs
|
|
1869
1836
|
/**
|
|
1870
1837
|
* Any validator - accepts any value
|
|
1871
1838
|
*/
|
|
1872
1839
|
var AnyValidator = class extends BaseValidator {
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
* Set is optional to be true
|
|
1879
|
-
*/
|
|
1880
|
-
isOptional = true;
|
|
1840
|
+
constructor(..._args) {
|
|
1841
|
+
super(..._args);
|
|
1842
|
+
this.requiredRule = null;
|
|
1843
|
+
this.isOptional = true;
|
|
1844
|
+
}
|
|
1881
1845
|
/**
|
|
1882
1846
|
* @inheritdoc
|
|
1883
1847
|
*
|
|
@@ -1898,7 +1862,7 @@ var AnyValidator = class extends BaseValidator {
|
|
|
1898
1862
|
};
|
|
1899
1863
|
|
|
1900
1864
|
//#endregion
|
|
1901
|
-
//#region ../seal/
|
|
1865
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/array-mutators.mjs
|
|
1902
1866
|
/** Reverse array order */
|
|
1903
1867
|
const flipArrayMutator = async (value) => {
|
|
1904
1868
|
return value.reverse();
|
|
@@ -2224,7 +2188,7 @@ var require_dayjs_min = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
2224
2188
|
}));
|
|
2225
2189
|
|
|
2226
2190
|
//#endregion
|
|
2227
|
-
//#region ../seal/
|
|
2191
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/date-mutators.mjs
|
|
2228
2192
|
var import_dayjs_min = /* @__PURE__ */ require_chunk.__toESM(require_dayjs_min(), 1);
|
|
2229
2193
|
/**
|
|
2230
2194
|
* Convert value to Date object
|
|
@@ -2313,7 +2277,7 @@ const toEndOfYearMutator = async (value) => {
|
|
|
2313
2277
|
};
|
|
2314
2278
|
|
|
2315
2279
|
//#endregion
|
|
2316
|
-
//#region ../seal/
|
|
2280
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/number-mutators.mjs
|
|
2317
2281
|
/** Convert value to number */
|
|
2318
2282
|
const numberMutator = async (value) => {
|
|
2319
2283
|
if (!value) return value;
|
|
@@ -2359,7 +2323,7 @@ const toFixedMutator = async (value, context) => {
|
|
|
2359
2323
|
};
|
|
2360
2324
|
|
|
2361
2325
|
//#endregion
|
|
2362
|
-
//#region ../seal/
|
|
2326
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/object-mutators.mjs
|
|
2363
2327
|
/** Strip unknown keys from object */
|
|
2364
2328
|
const stripUnknownMutator = async (value, context) => {
|
|
2365
2329
|
const allowedKeys = [...context?.ctx.schema ? Object.keys(context.ctx.schema) : [], ...context?.options.allowedKeys ?? []];
|
|
@@ -2383,14 +2347,14 @@ const objectTrimMutator = async (value, context) => {
|
|
|
2383
2347
|
};
|
|
2384
2348
|
|
|
2385
2349
|
//#endregion
|
|
2386
|
-
//#region ../seal/
|
|
2350
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/scalar-mutators.mjs
|
|
2387
2351
|
const stringMutator = async (value) => {
|
|
2388
2352
|
if ([void 0, null].includes(value)) return value;
|
|
2389
2353
|
return String(value);
|
|
2390
2354
|
};
|
|
2391
2355
|
|
|
2392
2356
|
//#endregion
|
|
2393
|
-
//#region ../seal/
|
|
2357
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/mutators/string-mutators.mjs
|
|
2394
2358
|
/** Convert string to lowercase */
|
|
2395
2359
|
const lowercaseMutator = async (value) => {
|
|
2396
2360
|
return value?.toString().toLowerCase();
|
|
@@ -2563,7 +2527,7 @@ const removeNumbersMutator = async (value) => {
|
|
|
2563
2527
|
};
|
|
2564
2528
|
|
|
2565
2529
|
//#endregion
|
|
2566
|
-
//#region ../seal/
|
|
2530
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/equal.mjs
|
|
2567
2531
|
/**
|
|
2568
2532
|
* Equal rule - value must be equal to a specific value
|
|
2569
2533
|
*/
|
|
@@ -2580,7 +2544,7 @@ const equalRule = {
|
|
|
2580
2544
|
};
|
|
2581
2545
|
|
|
2582
2546
|
//#endregion
|
|
2583
|
-
//#region ../seal/
|
|
2547
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/forbidden.mjs
|
|
2584
2548
|
/**
|
|
2585
2549
|
* Forbidden rule - value must not be present
|
|
2586
2550
|
*/
|
|
@@ -2594,7 +2558,7 @@ const forbiddenRule = {
|
|
|
2594
2558
|
};
|
|
2595
2559
|
|
|
2596
2560
|
//#endregion
|
|
2597
|
-
//#region ../seal/
|
|
2561
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/union.mjs
|
|
2598
2562
|
/**
|
|
2599
2563
|
* Union rule - value must match at least one of the provided validators
|
|
2600
2564
|
*/
|
|
@@ -2619,7 +2583,7 @@ const unionRule = {
|
|
|
2619
2583
|
};
|
|
2620
2584
|
|
|
2621
2585
|
//#endregion
|
|
2622
|
-
//#region ../seal/
|
|
2586
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/core/when.mjs
|
|
2623
2587
|
/**
|
|
2624
2588
|
* When rule - conditional validation based on another field value
|
|
2625
2589
|
*/
|
|
@@ -2649,7 +2613,7 @@ const whenRule = {
|
|
|
2649
2613
|
};
|
|
2650
2614
|
|
|
2651
2615
|
//#endregion
|
|
2652
|
-
//#region ../seal/
|
|
2616
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/alpha.mjs
|
|
2653
2617
|
/**
|
|
2654
2618
|
* Alpha rule - allows only alphabetic characters
|
|
2655
2619
|
*/
|
|
@@ -2685,7 +2649,7 @@ const isNumericRule = {
|
|
|
2685
2649
|
};
|
|
2686
2650
|
|
|
2687
2651
|
//#endregion
|
|
2688
|
-
//#region ../seal/
|
|
2652
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/credit-card.mjs
|
|
2689
2653
|
/**
|
|
2690
2654
|
* Credit card rule - validates credit card number
|
|
2691
2655
|
*/
|
|
@@ -2712,7 +2676,7 @@ const isCreditCardRule = {
|
|
|
2712
2676
|
};
|
|
2713
2677
|
|
|
2714
2678
|
//#endregion
|
|
2715
|
-
//#region ../seal/
|
|
2679
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/email.mjs
|
|
2716
2680
|
/**
|
|
2717
2681
|
* Email rule - validates email format
|
|
2718
2682
|
*/
|
|
@@ -2726,7 +2690,7 @@ const emailRule = {
|
|
|
2726
2690
|
};
|
|
2727
2691
|
|
|
2728
2692
|
//#endregion
|
|
2729
|
-
//#region ../seal/
|
|
2693
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/id-formats.mjs
|
|
2730
2694
|
/**
|
|
2731
2695
|
* Modern ID format validators — UUID, CUID, ULID, nanoid.
|
|
2732
2696
|
*
|
|
@@ -2825,7 +2789,7 @@ const nanoidRule = {
|
|
|
2825
2789
|
};
|
|
2826
2790
|
|
|
2827
2791
|
//#endregion
|
|
2828
|
-
//#region ../seal/
|
|
2792
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/ip.mjs
|
|
2829
2793
|
/**
|
|
2830
2794
|
* Pure, dependency-free re-implementation of Node's `net.isIP`/`isIPv4`/`isIPv6`.
|
|
2831
2795
|
* Mirrors the exact regex Node uses internally (lib/internal/net.js) so that
|
|
@@ -2886,7 +2850,7 @@ const ip6Rule = {
|
|
|
2886
2850
|
};
|
|
2887
2851
|
|
|
2888
2852
|
//#endregion
|
|
2889
|
-
//#region ../seal/
|
|
2853
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/pattern.mjs
|
|
2890
2854
|
/**
|
|
2891
2855
|
* Pattern rule - validates against regex pattern
|
|
2892
2856
|
*/
|
|
@@ -2901,7 +2865,7 @@ const patternRule = {
|
|
|
2901
2865
|
};
|
|
2902
2866
|
|
|
2903
2867
|
//#endregion
|
|
2904
|
-
//#region ../seal/
|
|
2868
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/string-comparison.mjs
|
|
2905
2869
|
/**
|
|
2906
2870
|
* Starts with rule
|
|
2907
2871
|
*/
|
|
@@ -2952,7 +2916,7 @@ const notContainsRule = {
|
|
|
2952
2916
|
};
|
|
2953
2917
|
|
|
2954
2918
|
//#endregion
|
|
2955
|
-
//#region ../seal/
|
|
2919
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/strong-password-rule.mjs
|
|
2956
2920
|
/**
|
|
2957
2921
|
* Strong Password rule - validates password strength
|
|
2958
2922
|
* Requirements:
|
|
@@ -2978,7 +2942,7 @@ const strongPasswordRule = {
|
|
|
2978
2942
|
};
|
|
2979
2943
|
|
|
2980
2944
|
//#endregion
|
|
2981
|
-
//#region ../seal/
|
|
2945
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/url.mjs
|
|
2982
2946
|
/**
|
|
2983
2947
|
* URL rule - validates URL format
|
|
2984
2948
|
*/
|
|
@@ -2996,7 +2960,7 @@ const urlRule = {
|
|
|
2996
2960
|
};
|
|
2997
2961
|
|
|
2998
2962
|
//#endregion
|
|
2999
|
-
//#region ../seal/
|
|
2963
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/string/without-whitespace.mjs
|
|
3000
2964
|
/**
|
|
3001
2965
|
* Without whitespace rule - value must not contain whitespace
|
|
3002
2966
|
*/
|
|
@@ -3010,7 +2974,7 @@ const withoutWhitespaceRule = {
|
|
|
3010
2974
|
};
|
|
3011
2975
|
|
|
3012
2976
|
//#endregion
|
|
3013
|
-
//#region ../seal/
|
|
2977
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/number/number-rules.mjs
|
|
3014
2978
|
/**
|
|
3015
2979
|
* Min rule - value must be equal or greater than minimum
|
|
3016
2980
|
* Supports field names with sibling scope
|
|
@@ -3200,7 +3164,7 @@ const betweenNumbersRule = {
|
|
|
3200
3164
|
};
|
|
3201
3165
|
|
|
3202
3166
|
//#endregion
|
|
3203
|
-
//#region ../seal/
|
|
3167
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/length/length-rules.mjs
|
|
3204
3168
|
/**
|
|
3205
3169
|
* Min length rule - validates minimum length
|
|
3206
3170
|
* Works for any value with a length property (strings, arrays, etc.)
|
|
@@ -3293,7 +3257,7 @@ const wordsRule = {
|
|
|
3293
3257
|
};
|
|
3294
3258
|
|
|
3295
3259
|
//#endregion
|
|
3296
|
-
//#region ../seal/
|
|
3260
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/array/array-rules.mjs
|
|
3297
3261
|
/**
|
|
3298
3262
|
* Unique array rule - array must contain unique values
|
|
3299
3263
|
*/
|
|
@@ -3329,7 +3293,7 @@ const sortedArrayRule = {
|
|
|
3329
3293
|
};
|
|
3330
3294
|
|
|
3331
3295
|
//#endregion
|
|
3332
|
-
//#region ../seal/
|
|
3296
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/types/date-types.mjs
|
|
3333
3297
|
/**
|
|
3334
3298
|
* Week day numbers mapping
|
|
3335
3299
|
*/
|
|
@@ -3344,7 +3308,7 @@ const WEEK_DAYS = {
|
|
|
3344
3308
|
};
|
|
3345
3309
|
|
|
3346
3310
|
//#endregion
|
|
3347
|
-
//#region ../seal/
|
|
3311
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date.mjs
|
|
3348
3312
|
/**
|
|
3349
3313
|
* Date rule - validates date format
|
|
3350
3314
|
*/
|
|
@@ -3570,7 +3534,7 @@ const weekDayRule = {
|
|
|
3570
3534
|
};
|
|
3571
3535
|
|
|
3572
3536
|
//#endregion
|
|
3573
|
-
//#region ../seal/
|
|
3537
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-comparison-rules.mjs
|
|
3574
3538
|
/**
|
|
3575
3539
|
* Between dates rule - date must be between start and end dates
|
|
3576
3540
|
*/
|
|
@@ -3643,7 +3607,7 @@ const afterTodayRule = {
|
|
|
3643
3607
|
};
|
|
3644
3608
|
|
|
3645
3609
|
//#endregion
|
|
3646
|
-
//#region ../seal/
|
|
3610
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-day-rules.mjs
|
|
3647
3611
|
/**
|
|
3648
3612
|
* Weekend rule - date must be Saturday or Sunday
|
|
3649
3613
|
*/
|
|
@@ -3686,7 +3650,7 @@ const businessDayRule = {
|
|
|
3686
3650
|
};
|
|
3687
3651
|
|
|
3688
3652
|
//#endregion
|
|
3689
|
-
//#region ../seal/
|
|
3653
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-field-comparison-rules.mjs
|
|
3690
3654
|
/**
|
|
3691
3655
|
* Before field rule - date must be < given date or field
|
|
3692
3656
|
* Smart detection: date value or field name
|
|
@@ -3760,7 +3724,7 @@ const sameAsFieldDateRule = {
|
|
|
3760
3724
|
};
|
|
3761
3725
|
|
|
3762
3726
|
//#endregion
|
|
3763
|
-
//#region ../seal/
|
|
3727
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-period-rules.mjs
|
|
3764
3728
|
const MONTHS = {
|
|
3765
3729
|
1: "january",
|
|
3766
3730
|
2: "february",
|
|
@@ -4152,7 +4116,7 @@ const maxDayRule = {
|
|
|
4152
4116
|
};
|
|
4153
4117
|
|
|
4154
4118
|
//#endregion
|
|
4155
|
-
//#region ../seal/
|
|
4119
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-relative-rules.mjs
|
|
4156
4120
|
/**
|
|
4157
4121
|
* Within days rule - date must be within X days from now (past or future)
|
|
4158
4122
|
*/
|
|
@@ -4202,7 +4166,7 @@ const withinFutureDaysRule = {
|
|
|
4202
4166
|
};
|
|
4203
4167
|
|
|
4204
4168
|
//#endregion
|
|
4205
|
-
//#region ../seal/
|
|
4169
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/date/date-special-rules.mjs
|
|
4206
4170
|
/**
|
|
4207
4171
|
* Birthday rule - valid birthday (not in future, reasonable age)
|
|
4208
4172
|
*/
|
|
@@ -4255,7 +4219,7 @@ const leapYearRule = {
|
|
|
4255
4219
|
};
|
|
4256
4220
|
|
|
4257
4221
|
//#endregion
|
|
4258
|
-
//#region ../seal/
|
|
4222
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/color/color-rules.mjs
|
|
4259
4223
|
/**
|
|
4260
4224
|
* Color validation regex patterns
|
|
4261
4225
|
*/
|
|
@@ -4354,7 +4318,7 @@ const darkColorRule = {
|
|
|
4354
4318
|
};
|
|
4355
4319
|
|
|
4356
4320
|
//#endregion
|
|
4357
|
-
//#region ../seal/
|
|
4321
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/required-if-rules.mjs
|
|
4358
4322
|
/**
|
|
4359
4323
|
* Required if rule - field is required if another field equals a specific value
|
|
4360
4324
|
* Supports both global and sibling scope
|
|
@@ -4549,7 +4513,7 @@ const requiredIfAnyNotEmptyRule = {
|
|
|
4549
4513
|
};
|
|
4550
4514
|
|
|
4551
4515
|
//#endregion
|
|
4552
|
-
//#region ../seal/
|
|
4516
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/required-unless-rules.mjs
|
|
4553
4517
|
/**
|
|
4554
4518
|
* Required unless rule - field is required unless another field equals a specific value
|
|
4555
4519
|
* Supports both global and sibling scope
|
|
@@ -4573,7 +4537,7 @@ const requiredUnlessRule = {
|
|
|
4573
4537
|
};
|
|
4574
4538
|
|
|
4575
4539
|
//#endregion
|
|
4576
|
-
//#region ../seal/
|
|
4540
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/required-when-rule.mjs
|
|
4577
4541
|
/**
|
|
4578
4542
|
* Required when callback returns true.
|
|
4579
4543
|
*
|
|
@@ -4599,7 +4563,7 @@ const requiredWhenRule = {
|
|
|
4599
4563
|
};
|
|
4600
4564
|
|
|
4601
4565
|
//#endregion
|
|
4602
|
-
//#region ../seal/
|
|
4566
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/required-with-rules.mjs
|
|
4603
4567
|
/**
|
|
4604
4568
|
* Required with rule - field is required if another field is present
|
|
4605
4569
|
* Supports both global and sibling scope
|
|
@@ -4657,7 +4621,7 @@ const requiredWithAnyRule = {
|
|
|
4657
4621
|
};
|
|
4658
4622
|
|
|
4659
4623
|
//#endregion
|
|
4660
|
-
//#region ../seal/
|
|
4624
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/required-without-rules.mjs
|
|
4661
4625
|
/**
|
|
4662
4626
|
* Required without rule - field is required if another field is missing
|
|
4663
4627
|
* Supports both global and sibling scope
|
|
@@ -4715,7 +4679,7 @@ const requiredWithoutAnyRule = {
|
|
|
4715
4679
|
};
|
|
4716
4680
|
|
|
4717
4681
|
//#endregion
|
|
4718
|
-
//#region ../seal/
|
|
4682
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/present-if-rules.mjs
|
|
4719
4683
|
/**
|
|
4720
4684
|
* Present if rule - field must be present if another field equals a specific value
|
|
4721
4685
|
* Supports both global and sibling scope
|
|
@@ -4805,7 +4769,7 @@ const presentIfNotInRule = {
|
|
|
4805
4769
|
};
|
|
4806
4770
|
|
|
4807
4771
|
//#endregion
|
|
4808
|
-
//#region ../seal/
|
|
4772
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/present-unless-rules.mjs
|
|
4809
4773
|
/**
|
|
4810
4774
|
* Present unless rule - field must be present unless another field equals a specific value
|
|
4811
4775
|
* Supports both global and sibling scope
|
|
@@ -4829,7 +4793,7 @@ const presentUnlessRule = {
|
|
|
4829
4793
|
};
|
|
4830
4794
|
|
|
4831
4795
|
//#endregion
|
|
4832
|
-
//#region ../seal/
|
|
4796
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/present-with-rules.mjs
|
|
4833
4797
|
/**
|
|
4834
4798
|
* Present with rule - field must be present if another field is present
|
|
4835
4799
|
* Supports both global and sibling scope
|
|
@@ -4897,7 +4861,7 @@ const presentWithAnyRule = {
|
|
|
4897
4861
|
};
|
|
4898
4862
|
|
|
4899
4863
|
//#endregion
|
|
4900
|
-
//#region ../seal/
|
|
4864
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/present-without-rules.mjs
|
|
4901
4865
|
/**
|
|
4902
4866
|
* Present without rule - field must be present if another field is missing
|
|
4903
4867
|
* Supports both global and sibling scope
|
|
@@ -4965,7 +4929,7 @@ const presentWithoutAnyRule = {
|
|
|
4965
4929
|
};
|
|
4966
4930
|
|
|
4967
4931
|
//#endregion
|
|
4968
|
-
//#region ../seal/
|
|
4932
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/conditional/forbidden-if-rules.mjs
|
|
4969
4933
|
/**
|
|
4970
4934
|
* Forbidden if rule - field is forbidden if another field equals a specific value
|
|
4971
4935
|
* Supports both global and sibling scope
|
|
@@ -5074,7 +5038,7 @@ const forbiddenIfNotInRule = {
|
|
|
5074
5038
|
};
|
|
5075
5039
|
|
|
5076
5040
|
//#endregion
|
|
5077
|
-
//#region ../seal/
|
|
5041
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/enum.mjs
|
|
5078
5042
|
/**
|
|
5079
5043
|
* Enum rule - value must be one of the enum values
|
|
5080
5044
|
*/
|
|
@@ -5146,7 +5110,7 @@ const notAllowedValuesRule = {
|
|
|
5146
5110
|
};
|
|
5147
5111
|
|
|
5148
5112
|
//#endregion
|
|
5149
|
-
//#region ../seal/
|
|
5113
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/equals-field-rules.mjs
|
|
5150
5114
|
/**
|
|
5151
5115
|
* Equals field rule - value must equal another field's value
|
|
5152
5116
|
* Supports both global and sibling scope
|
|
@@ -5182,7 +5146,7 @@ const notEqualsFieldRule = {
|
|
|
5182
5146
|
};
|
|
5183
5147
|
|
|
5184
5148
|
//#endregion
|
|
5185
|
-
//#region ../seal/
|
|
5149
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/instanceof.mjs
|
|
5186
5150
|
/**
|
|
5187
5151
|
* InstanceOf rule - value must be an instance of the given constructor.
|
|
5188
5152
|
*
|
|
@@ -5200,7 +5164,7 @@ const instanceofRule = {
|
|
|
5200
5164
|
};
|
|
5201
5165
|
|
|
5202
5166
|
//#endregion
|
|
5203
|
-
//#region ../seal/
|
|
5167
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/literal.mjs
|
|
5204
5168
|
/**
|
|
5205
5169
|
* Literal rule - value must be strictly equal to one of the literal values.
|
|
5206
5170
|
*
|
|
@@ -5226,7 +5190,7 @@ const literalRule = {
|
|
|
5226
5190
|
};
|
|
5227
5191
|
|
|
5228
5192
|
//#endregion
|
|
5229
|
-
//#region ../seal/
|
|
5193
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/type-rules.mjs
|
|
5230
5194
|
/**
|
|
5231
5195
|
* String rule - validates string type
|
|
5232
5196
|
*/
|
|
@@ -5317,7 +5281,7 @@ const arrayRule = {
|
|
|
5317
5281
|
};
|
|
5318
5282
|
|
|
5319
5283
|
//#endregion
|
|
5320
|
-
//#region ../seal/
|
|
5284
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/common/unknown-key.mjs
|
|
5321
5285
|
/**
|
|
5322
5286
|
* Unknown key rule - validates that object doesn't have unknown keys
|
|
5323
5287
|
*/
|
|
@@ -5337,12 +5301,11 @@ const unknownKeyRule = {
|
|
|
5337
5301
|
};
|
|
5338
5302
|
|
|
5339
5303
|
//#endregion
|
|
5340
|
-
//#region ../seal/
|
|
5304
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/array-validator.mjs
|
|
5341
5305
|
/**
|
|
5342
5306
|
* Array validator class
|
|
5343
5307
|
*/
|
|
5344
5308
|
var ArrayValidator = class extends BaseValidator {
|
|
5345
|
-
validator;
|
|
5346
5309
|
constructor(validator, errorMessage) {
|
|
5347
5310
|
super();
|
|
5348
5311
|
this.validator = validator;
|
|
@@ -5501,7 +5464,7 @@ var ArrayValidator = class extends BaseValidator {
|
|
|
5501
5464
|
};
|
|
5502
5465
|
|
|
5503
5466
|
//#endregion
|
|
5504
|
-
//#region ../seal/
|
|
5467
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/equality-conditional-methods.mjs
|
|
5505
5468
|
/**
|
|
5506
5469
|
* Value must be equal to the given value
|
|
5507
5470
|
*/
|
|
@@ -5622,7 +5585,7 @@ BaseValidator.prototype.whenSibling = function(siblingField, options) {
|
|
|
5622
5585
|
};
|
|
5623
5586
|
|
|
5624
5587
|
//#endregion
|
|
5625
|
-
//#region ../seal/
|
|
5588
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/forbidden-methods.mjs
|
|
5626
5589
|
/**
|
|
5627
5590
|
* Value is forbidden to be present
|
|
5628
5591
|
*/
|
|
@@ -5747,7 +5710,7 @@ BaseValidator.prototype.forbiddenIfNotInSibling = function(field, values, errorM
|
|
|
5747
5710
|
};
|
|
5748
5711
|
|
|
5749
5712
|
//#endregion
|
|
5750
|
-
//#region ../seal/
|
|
5713
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/present-methods.mjs
|
|
5751
5714
|
/**
|
|
5752
5715
|
* Field must be present if another field exists
|
|
5753
5716
|
*/
|
|
@@ -5974,7 +5937,7 @@ BaseValidator.prototype.presentWithoutAnySiblings = function(fields, errorMessag
|
|
|
5974
5937
|
};
|
|
5975
5938
|
|
|
5976
5939
|
//#endregion
|
|
5977
|
-
//#region ../seal/
|
|
5940
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/methods/required-methods.mjs
|
|
5978
5941
|
/**
|
|
5979
5942
|
* This value must be present and has a value
|
|
5980
5943
|
*/
|
|
@@ -6311,7 +6274,7 @@ BaseValidator.prototype.requiredWhen = function(callback, errorMessage) {
|
|
|
6311
6274
|
};
|
|
6312
6275
|
|
|
6313
6276
|
//#endregion
|
|
6314
|
-
//#region ../seal/
|
|
6277
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/primitive-validator.mjs
|
|
6315
6278
|
/**
|
|
6316
6279
|
* Abstract base validator for primitive-typed fields (string, number, boolean).
|
|
6317
6280
|
*
|
|
@@ -6394,7 +6357,7 @@ var PrimitiveValidator = class extends BaseValidator {
|
|
|
6394
6357
|
};
|
|
6395
6358
|
|
|
6396
6359
|
//#endregion
|
|
6397
|
-
//#region ../seal/
|
|
6360
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/scalar/accepted-rule.mjs
|
|
6398
6361
|
const isAcceptedValue = (value) => {
|
|
6399
6362
|
return [
|
|
6400
6363
|
"1",
|
|
@@ -6503,7 +6466,7 @@ const acceptedWithoutRule = {
|
|
|
6503
6466
|
};
|
|
6504
6467
|
|
|
6505
6468
|
//#endregion
|
|
6506
|
-
//#region ../seal/
|
|
6469
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/rules/scalar/declined-rule.mjs
|
|
6507
6470
|
const isDeclinedValue = (value) => {
|
|
6508
6471
|
return [
|
|
6509
6472
|
"0",
|
|
@@ -6612,7 +6575,7 @@ const declinedWithoutRule = {
|
|
|
6612
6575
|
};
|
|
6613
6576
|
|
|
6614
6577
|
//#endregion
|
|
6615
|
-
//#region ../seal/
|
|
6578
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/boolean-validator.mjs
|
|
6616
6579
|
/**
|
|
6617
6580
|
* Boolean validator class
|
|
6618
6581
|
*
|
|
@@ -6728,7 +6691,7 @@ var BooleanValidator = class extends PrimitiveValidator {
|
|
|
6728
6691
|
};
|
|
6729
6692
|
|
|
6730
6693
|
//#endregion
|
|
6731
|
-
//#region ../seal/
|
|
6694
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/computed-validator.mjs
|
|
6732
6695
|
/**
|
|
6733
6696
|
* Computed field validator
|
|
6734
6697
|
*
|
|
@@ -6762,8 +6725,6 @@ var BooleanValidator = class extends PrimitiveValidator {
|
|
|
6762
6725
|
* ```
|
|
6763
6726
|
*/
|
|
6764
6727
|
var ComputedValidator = class extends BaseValidator {
|
|
6765
|
-
callback;
|
|
6766
|
-
resultValidator;
|
|
6767
6728
|
/**
|
|
6768
6729
|
* Create a new computed field validator
|
|
6769
6730
|
*
|
|
@@ -6842,7 +6803,7 @@ var ComputedValidator = class extends BaseValidator {
|
|
|
6842
6803
|
};
|
|
6843
6804
|
|
|
6844
6805
|
//#endregion
|
|
6845
|
-
//#region ../seal/
|
|
6806
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/date-validator.mjs
|
|
6846
6807
|
/**
|
|
6847
6808
|
* Date validator class
|
|
6848
6809
|
*/
|
|
@@ -7462,7 +7423,7 @@ var DateValidator = class extends BaseValidator {
|
|
|
7462
7423
|
};
|
|
7463
7424
|
|
|
7464
7425
|
//#endregion
|
|
7465
|
-
//#region ../seal/
|
|
7426
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/literal-validator.mjs
|
|
7466
7427
|
/**
|
|
7467
7428
|
* Literal validator class
|
|
7468
7429
|
*
|
|
@@ -7478,7 +7439,6 @@ var DateValidator = class extends BaseValidator {
|
|
|
7478
7439
|
* v.literal(true) // type: true
|
|
7479
7440
|
*/
|
|
7480
7441
|
var LiteralValidator = class extends BaseValidator {
|
|
7481
|
-
values;
|
|
7482
7442
|
constructor(values, errorMessage) {
|
|
7483
7443
|
super();
|
|
7484
7444
|
this.values = values;
|
|
@@ -7525,7 +7485,7 @@ var LiteralValidator = class extends BaseValidator {
|
|
|
7525
7485
|
};
|
|
7526
7486
|
|
|
7527
7487
|
//#endregion
|
|
7528
|
-
//#region ../seal/
|
|
7488
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/discriminated-union-validator.mjs
|
|
7529
7489
|
/**
|
|
7530
7490
|
* Discriminated union validator — routes payloads by a shared discriminator field.
|
|
7531
7491
|
*
|
|
@@ -7558,10 +7518,6 @@ var LiteralValidator = class extends BaseValidator {
|
|
|
7558
7518
|
* @see `domains/seal/plans/2026-05-12-discriminated-union.md`
|
|
7559
7519
|
*/
|
|
7560
7520
|
var DiscriminatedUnionValidator = class DiscriminatedUnionValidator extends BaseValidator {
|
|
7561
|
-
discriminator;
|
|
7562
|
-
validators;
|
|
7563
|
-
/** Map from discriminator literal value → matching branch validator. */
|
|
7564
|
-
branches;
|
|
7565
7521
|
constructor(discriminator, validators) {
|
|
7566
7522
|
super();
|
|
7567
7523
|
this.discriminator = discriminator;
|
|
@@ -7647,7 +7603,7 @@ var DiscriminatedUnionValidator = class DiscriminatedUnionValidator extends Base
|
|
|
7647
7603
|
};
|
|
7648
7604
|
|
|
7649
7605
|
//#endregion
|
|
7650
|
-
//#region ../seal/
|
|
7606
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/number-validator.mjs
|
|
7651
7607
|
/**
|
|
7652
7608
|
* Number validator class - base for Int and Float validators
|
|
7653
7609
|
*/
|
|
@@ -7946,7 +7902,7 @@ var NumberValidator = class extends PrimitiveValidator {
|
|
|
7946
7902
|
};
|
|
7947
7903
|
|
|
7948
7904
|
//#endregion
|
|
7949
|
-
//#region ../seal/
|
|
7905
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/float-validator.mjs
|
|
7950
7906
|
/**
|
|
7951
7907
|
* Float validator class
|
|
7952
7908
|
*/
|
|
@@ -7958,7 +7914,7 @@ var FloatValidator = class extends NumberValidator {
|
|
|
7958
7914
|
};
|
|
7959
7915
|
|
|
7960
7916
|
//#endregion
|
|
7961
|
-
//#region ../seal/
|
|
7917
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/instanceof-validator.mjs
|
|
7962
7918
|
/**
|
|
7963
7919
|
* InstanceOf validator class
|
|
7964
7920
|
*
|
|
@@ -7976,7 +7932,6 @@ var FloatValidator = class extends NumberValidator {
|
|
|
7976
7932
|
* v.instanceof(MyClass) // type: MyClass
|
|
7977
7933
|
*/
|
|
7978
7934
|
var InstanceOfValidator = class extends BaseValidator {
|
|
7979
|
-
ctor;
|
|
7980
7935
|
constructor(ctor, errorMessage) {
|
|
7981
7936
|
super();
|
|
7982
7937
|
this.ctor = ctor;
|
|
@@ -8017,7 +7972,7 @@ var InstanceOfValidator = class extends BaseValidator {
|
|
|
8017
7972
|
};
|
|
8018
7973
|
|
|
8019
7974
|
//#endregion
|
|
8020
|
-
//#region ../seal/
|
|
7975
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/int-validator.mjs
|
|
8021
7976
|
/**
|
|
8022
7977
|
* Integer validator class
|
|
8023
7978
|
*/
|
|
@@ -8041,7 +7996,7 @@ var IntValidator = class extends NumberValidator {
|
|
|
8041
7996
|
};
|
|
8042
7997
|
|
|
8043
7998
|
//#endregion
|
|
8044
|
-
//#region ../seal/
|
|
7999
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/lazy-validator.mjs
|
|
8045
8000
|
/**
|
|
8046
8001
|
* Lazy validator — defers resolution of the inner validator until validate-time.
|
|
8047
8002
|
*
|
|
@@ -8083,8 +8038,6 @@ var IntValidator = class extends NumberValidator {
|
|
|
8083
8038
|
* @see `domains/seal/plans/2026-05-12-lazy-validator.md`
|
|
8084
8039
|
*/
|
|
8085
8040
|
var LazyValidator = class extends BaseValidator {
|
|
8086
|
-
thunk;
|
|
8087
|
-
resolvedValidator;
|
|
8088
8041
|
constructor(thunk) {
|
|
8089
8042
|
super();
|
|
8090
8043
|
this.thunk = thunk;
|
|
@@ -8124,7 +8077,7 @@ var LazyValidator = class extends BaseValidator {
|
|
|
8124
8077
|
};
|
|
8125
8078
|
|
|
8126
8079
|
//#endregion
|
|
8127
|
-
//#region ../seal/
|
|
8080
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/managed-validator.mjs
|
|
8128
8081
|
/**
|
|
8129
8082
|
* Managed field validator
|
|
8130
8083
|
*
|
|
@@ -8159,7 +8112,7 @@ var ManagedValidator = class extends ComputedValidator {
|
|
|
8159
8112
|
};
|
|
8160
8113
|
|
|
8161
8114
|
//#endregion
|
|
8162
|
-
//#region ../seal/
|
|
8115
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/numeric-validator.mjs
|
|
8163
8116
|
/**
|
|
8164
8117
|
* Numeric validator class - base for Int and Float validators either as number or string
|
|
8165
8118
|
*/
|
|
@@ -8180,7 +8133,7 @@ var NumericValidator = class extends NumberValidator {
|
|
|
8180
8133
|
};
|
|
8181
8134
|
|
|
8182
8135
|
//#endregion
|
|
8183
|
-
//#region ../seal/
|
|
8136
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/object-validator.mjs
|
|
8184
8137
|
/**
|
|
8185
8138
|
* Object validator class with generic schema type for proper type inference.
|
|
8186
8139
|
*
|
|
@@ -8198,13 +8151,12 @@ var NumericValidator = class extends NumberValidator {
|
|
|
8198
8151
|
* brand-aware widening tries to inspect the class type.
|
|
8199
8152
|
*/
|
|
8200
8153
|
var ObjectValidator = class ObjectValidator extends BaseValidator {
|
|
8201
|
-
schema;
|
|
8202
|
-
shouldAllowUnknown = false;
|
|
8203
|
-
allowedKeys = [];
|
|
8204
|
-
hasUnknownKeyRule = false;
|
|
8205
8154
|
constructor(schema, errorMessage) {
|
|
8206
8155
|
super();
|
|
8207
8156
|
this.schema = schema;
|
|
8157
|
+
this.shouldAllowUnknown = false;
|
|
8158
|
+
this.allowedKeys = [];
|
|
8159
|
+
this.hasUnknownKeyRule = false;
|
|
8208
8160
|
this.addMutableRule(objectRule, errorMessage);
|
|
8209
8161
|
}
|
|
8210
8162
|
/**
|
|
@@ -8606,7 +8558,7 @@ function removeUndefinedValues(obj, visited = /* @__PURE__ */ new WeakMap()) {
|
|
|
8606
8558
|
}
|
|
8607
8559
|
|
|
8608
8560
|
//#endregion
|
|
8609
|
-
//#region ../seal/
|
|
8561
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/record-validator.mjs
|
|
8610
8562
|
/**
|
|
8611
8563
|
* Record validator class - validates objects with dynamic keys and consistent value types
|
|
8612
8564
|
*
|
|
@@ -8622,7 +8574,6 @@ function removeUndefinedValues(obj, visited = /* @__PURE__ */ new WeakMap()) {
|
|
|
8622
8574
|
* ```
|
|
8623
8575
|
*/
|
|
8624
8576
|
var RecordValidator = class extends BaseValidator {
|
|
8625
|
-
valueValidator;
|
|
8626
8577
|
constructor(valueValidator, errorMessage) {
|
|
8627
8578
|
super();
|
|
8628
8579
|
this.valueValidator = valueValidator;
|
|
@@ -8708,7 +8659,7 @@ var RecordValidator = class extends BaseValidator {
|
|
|
8708
8659
|
};
|
|
8709
8660
|
|
|
8710
8661
|
//#endregion
|
|
8711
|
-
//#region ../seal/
|
|
8662
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/scalar-validator.mjs
|
|
8712
8663
|
/**
|
|
8713
8664
|
* Scalar validator class
|
|
8714
8665
|
*
|
|
@@ -8867,7 +8818,7 @@ var ScalarValidator = class extends PrimitiveValidator {
|
|
|
8867
8818
|
};
|
|
8868
8819
|
|
|
8869
8820
|
//#endregion
|
|
8870
|
-
//#region ../seal/
|
|
8821
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/string-validator.mjs
|
|
8871
8822
|
/**
|
|
8872
8823
|
* String validator class
|
|
8873
8824
|
*/
|
|
@@ -9305,7 +9256,7 @@ var StringValidator = class extends PrimitiveValidator {
|
|
|
9305
9256
|
};
|
|
9306
9257
|
|
|
9307
9258
|
//#endregion
|
|
9308
|
-
//#region ../seal/
|
|
9259
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/tuple-validator.mjs
|
|
9309
9260
|
/**
|
|
9310
9261
|
* Tuple validator class - validates fixed-length arrays with position-specific types
|
|
9311
9262
|
*
|
|
@@ -9322,7 +9273,6 @@ var StringValidator = class extends PrimitiveValidator {
|
|
|
9322
9273
|
* ```
|
|
9323
9274
|
*/
|
|
9324
9275
|
var TupleValidator = class extends BaseValidator {
|
|
9325
|
-
validators;
|
|
9326
9276
|
constructor(validators, errorMessage) {
|
|
9327
9277
|
super();
|
|
9328
9278
|
this.validators = validators;
|
|
@@ -9430,7 +9380,7 @@ var TupleValidator = class extends BaseValidator {
|
|
|
9430
9380
|
};
|
|
9431
9381
|
|
|
9432
9382
|
//#endregion
|
|
9433
|
-
//#region ../seal/
|
|
9383
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/validators/union-validator.mjs
|
|
9434
9384
|
/**
|
|
9435
9385
|
* Union validator class - validates value against multiple validator types
|
|
9436
9386
|
*
|
|
@@ -9489,7 +9439,7 @@ var UnionValidator = class extends BaseValidator {
|
|
|
9489
9439
|
};
|
|
9490
9440
|
|
|
9491
9441
|
//#endregion
|
|
9492
|
-
//#region ../seal/
|
|
9442
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.2.4/node_modules/@warlock.js/seal/esm/factory/validators.mjs
|
|
9493
9443
|
/**
|
|
9494
9444
|
* Seal factory object - creates instances of validators
|
|
9495
9445
|
*
|
|
@@ -9593,7 +9543,7 @@ const v = {
|
|
|
9593
9543
|
};
|
|
9594
9544
|
|
|
9595
9545
|
//#endregion
|
|
9596
|
-
//#region ../herald/
|
|
9546
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/drivers/rabbitmq/rabbitmq-channel.mjs
|
|
9597
9547
|
/**
|
|
9598
9548
|
* RabbitMQ Channel Implementation
|
|
9599
9549
|
*
|
|
@@ -9602,15 +9552,12 @@ const v = {
|
|
|
9602
9552
|
* @template TPayload - The typed payload
|
|
9603
9553
|
*/
|
|
9604
9554
|
var RabbitMQChannel = class {
|
|
9605
|
-
name;
|
|
9606
|
-
options;
|
|
9607
|
-
amqpChannel;
|
|
9608
|
-
subscriptions = /* @__PURE__ */ new Map();
|
|
9609
|
-
asserted = false;
|
|
9610
9555
|
/**
|
|
9611
9556
|
* Create a new RabbitMQ channel
|
|
9612
9557
|
*/
|
|
9613
9558
|
constructor(name, amqpChannel, options) {
|
|
9559
|
+
this.subscriptions = /* @__PURE__ */ new Map();
|
|
9560
|
+
this.asserted = false;
|
|
9614
9561
|
this.name = name;
|
|
9615
9562
|
this.amqpChannel = amqpChannel;
|
|
9616
9563
|
this.options = options ?? {};
|
|
@@ -9961,12 +9908,8 @@ var RabbitMQChannel = class {
|
|
|
9961
9908
|
* RabbitMQ Subscription Implementation
|
|
9962
9909
|
*/
|
|
9963
9910
|
var RabbitMQSubscription = class {
|
|
9964
|
-
id;
|
|
9965
|
-
channel;
|
|
9966
|
-
consumerTag;
|
|
9967
|
-
amqpChannel;
|
|
9968
|
-
_isActive = true;
|
|
9969
9911
|
constructor(id, channel, consumerTag, amqpChannel) {
|
|
9912
|
+
this._isActive = true;
|
|
9970
9913
|
this.id = id;
|
|
9971
9914
|
this.channel = channel;
|
|
9972
9915
|
this.consumerTag = consumerTag;
|
|
@@ -9989,7 +9932,7 @@ var RabbitMQSubscription = class {
|
|
|
9989
9932
|
};
|
|
9990
9933
|
|
|
9991
9934
|
//#endregion
|
|
9992
|
-
//#region ../herald/
|
|
9935
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/drivers/rabbitmq/rabbitmq-driver.mjs
|
|
9993
9936
|
/**
|
|
9994
9937
|
* The single amqplib load, shared by every caller.
|
|
9995
9938
|
*
|
|
@@ -10060,20 +10003,19 @@ function loadAmqplibModule() {
|
|
|
10060
10003
|
* ```
|
|
10061
10004
|
*/
|
|
10062
10005
|
var RabbitMQDriver = class {
|
|
10063
|
-
name = "rabbitmq";
|
|
10064
|
-
consumers = [];
|
|
10065
|
-
options;
|
|
10066
|
-
events = new node_events.EventEmitter();
|
|
10067
|
-
channels = /* @__PURE__ */ new Map();
|
|
10068
|
-
connection = null;
|
|
10069
|
-
amqpChannel = null;
|
|
10070
|
-
_isConnected = false;
|
|
10071
10006
|
/**
|
|
10072
10007
|
* Create a new RabbitMQ driver
|
|
10073
10008
|
*
|
|
10074
10009
|
* @param options - RabbitMQ connection options
|
|
10075
10010
|
*/
|
|
10076
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;
|
|
10077
10019
|
this.options = options;
|
|
10078
10020
|
}
|
|
10079
10021
|
/**
|
|
@@ -10285,7 +10227,7 @@ var RabbitMQDriver = class {
|
|
|
10285
10227
|
};
|
|
10286
10228
|
|
|
10287
10229
|
//#endregion
|
|
10288
|
-
//#region ../herald/
|
|
10230
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/communicators/broker.mjs
|
|
10289
10231
|
/**
|
|
10290
10232
|
* Broker - wrapper around a driver with metadata
|
|
10291
10233
|
*
|
|
@@ -10304,12 +10246,6 @@ var RabbitMQDriver = class {
|
|
|
10304
10246
|
* ```
|
|
10305
10247
|
*/
|
|
10306
10248
|
var Broker = class {
|
|
10307
|
-
/** Unique name identifying this broker */
|
|
10308
|
-
name;
|
|
10309
|
-
/** The underlying driver */
|
|
10310
|
-
driver;
|
|
10311
|
-
/** Whether this is the default broker */
|
|
10312
|
-
isDefault;
|
|
10313
10249
|
/**
|
|
10314
10250
|
* Create a new Broker
|
|
10315
10251
|
*
|
|
@@ -10393,12 +10329,11 @@ var Broker = class {
|
|
|
10393
10329
|
};
|
|
10394
10330
|
|
|
10395
10331
|
//#endregion
|
|
10396
|
-
//#region ../herald/
|
|
10332
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/communicators/broker-registry.mjs
|
|
10397
10333
|
/**
|
|
10398
10334
|
* Error thrown when a broker is not found
|
|
10399
10335
|
*/
|
|
10400
10336
|
var MissingBrokerError = class extends Error {
|
|
10401
|
-
brokerName;
|
|
10402
10337
|
constructor(message, brokerName) {
|
|
10403
10338
|
super(message);
|
|
10404
10339
|
this.name = "MissingBrokerError";
|
|
@@ -10433,9 +10368,10 @@ var MissingBrokerError = class extends Error {
|
|
|
10433
10368
|
* ```
|
|
10434
10369
|
*/
|
|
10435
10370
|
var BrokerRegistry = class {
|
|
10436
|
-
|
|
10437
|
-
|
|
10438
|
-
|
|
10371
|
+
constructor() {
|
|
10372
|
+
this.sources = /* @__PURE__ */ new Map();
|
|
10373
|
+
this.events = new node_events.EventEmitter();
|
|
10374
|
+
}
|
|
10439
10375
|
/**
|
|
10440
10376
|
* Register a new broker
|
|
10441
10377
|
*
|
|
@@ -10592,7 +10528,7 @@ var BrokerRegistry = class {
|
|
|
10592
10528
|
const brokerRegistry = new BrokerRegistry();
|
|
10593
10529
|
|
|
10594
10530
|
//#endregion
|
|
10595
|
-
//#region ../herald/
|
|
10531
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/utils/connect-to-broker.mjs
|
|
10596
10532
|
/**
|
|
10597
10533
|
* Connect to a message broker and register it.
|
|
10598
10534
|
*
|
|
@@ -10654,7 +10590,7 @@ async function connectToBroker(options) {
|
|
|
10654
10590
|
switch (driverType) {
|
|
10655
10591
|
case "rabbitmq": {
|
|
10656
10592
|
const rabbitOptions = options;
|
|
10657
|
-
const { RabbitMQDriver } = await Promise.resolve().then(() => require("./rabbitmq-driver-
|
|
10593
|
+
const { RabbitMQDriver } = await Promise.resolve().then(() => require("./rabbitmq-driver-CIvkulXX.cjs"));
|
|
10658
10594
|
driver = new RabbitMQDriver(rabbitOptions);
|
|
10659
10595
|
break;
|
|
10660
10596
|
}
|
|
@@ -10755,7 +10691,7 @@ async function subscribeConsumer(Consumer) {
|
|
|
10755
10691
|
}
|
|
10756
10692
|
|
|
10757
10693
|
//#endregion
|
|
10758
|
-
//#region ../herald/
|
|
10694
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/decorators/consumable.mjs
|
|
10759
10695
|
const pendingSubscribers = /* @__PURE__ */ new Set();
|
|
10760
10696
|
/**
|
|
10761
10697
|
* Register the consumer to the broker
|
|
@@ -10786,7 +10722,7 @@ brokerRegistry.on("connected", (broker) => {
|
|
|
10786
10722
|
});
|
|
10787
10723
|
|
|
10788
10724
|
//#endregion
|
|
10789
|
-
//#region ../herald/
|
|
10725
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/message-managers/event-consumer.mjs
|
|
10790
10726
|
/**
|
|
10791
10727
|
* This class is used to be part of the Herald Event Consumer Manager.
|
|
10792
10728
|
* It should be used to consume events from Either RabbitMQ or Kafka through Herald
|
|
@@ -10794,11 +10730,6 @@ brokerRegistry.on("connected", (broker) => {
|
|
|
10794
10730
|
* It's highly recommended using it instead of declaring manual channel namd and subscribing to event
|
|
10795
10731
|
*/
|
|
10796
10732
|
var EventConsumer = class {
|
|
10797
|
-
/**
|
|
10798
|
-
* Event name
|
|
10799
|
-
*/
|
|
10800
|
-
static eventName;
|
|
10801
|
-
static _consumerId;
|
|
10802
10733
|
static get consumerId() {
|
|
10803
10734
|
if (!this._consumerId) this._consumerId = (0, crypto.randomUUID)();
|
|
10804
10735
|
return this._consumerId;
|
|
@@ -10807,18 +10738,6 @@ var EventConsumer = class {
|
|
|
10807
10738
|
return this.constructor.eventName;
|
|
10808
10739
|
}
|
|
10809
10740
|
/**
|
|
10810
|
-
* Min version accepted to be consumed by this class
|
|
10811
|
-
*/
|
|
10812
|
-
static minVersion;
|
|
10813
|
-
/**
|
|
10814
|
-
* Max version accepted to be consumed by this class
|
|
10815
|
-
*/
|
|
10816
|
-
static maxVersion;
|
|
10817
|
-
/**
|
|
10818
|
-
* Payload validation to auto reject the received event before accessing it in the handle method
|
|
10819
|
-
*/
|
|
10820
|
-
schema;
|
|
10821
|
-
/**
|
|
10822
10741
|
* Determine whether this is accepted version to be used by this consumer
|
|
10823
10742
|
*/
|
|
10824
10743
|
static isAcceptedVersion(version) {
|
|
@@ -10839,8 +10758,13 @@ var EventConsumer = class {
|
|
|
10839
10758
|
*/
|
|
10840
10759
|
function defineConsumer(eventName, options) {
|
|
10841
10760
|
const Class = class AnnouncedConsumer extends EventConsumer {
|
|
10842
|
-
|
|
10843
|
-
|
|
10761
|
+
constructor(..._args) {
|
|
10762
|
+
super(..._args);
|
|
10763
|
+
this.schema = options.schema;
|
|
10764
|
+
}
|
|
10765
|
+
static {
|
|
10766
|
+
this.eventName = eventName;
|
|
10767
|
+
}
|
|
10844
10768
|
async handle(payload, event) {
|
|
10845
10769
|
if (options.validate) {
|
|
10846
10770
|
const result = await options.validate(payload);
|
|
@@ -10854,25 +10778,8 @@ function defineConsumer(eventName, options) {
|
|
|
10854
10778
|
}
|
|
10855
10779
|
|
|
10856
10780
|
//#endregion
|
|
10857
|
-
//#region ../herald/
|
|
10781
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/message-managers/event-message.mjs
|
|
10858
10782
|
var EventMessage = class {
|
|
10859
|
-
data;
|
|
10860
|
-
/**
|
|
10861
|
-
* Event version
|
|
10862
|
-
*/
|
|
10863
|
-
version;
|
|
10864
|
-
/**
|
|
10865
|
-
* Additional metadata (if any)
|
|
10866
|
-
*/
|
|
10867
|
-
metadata;
|
|
10868
|
-
/**
|
|
10869
|
-
* Event Message id
|
|
10870
|
-
*/
|
|
10871
|
-
messageId;
|
|
10872
|
-
/**
|
|
10873
|
-
* Schema of payload that will be used to determine whether this event should be published
|
|
10874
|
-
*/
|
|
10875
|
-
schema;
|
|
10876
10783
|
/**
|
|
10877
10784
|
* Data that will be sent with the event (Payload)
|
|
10878
10785
|
*/
|
|
@@ -10922,10 +10829,10 @@ var EventMessage = class {
|
|
|
10922
10829
|
*/
|
|
10923
10830
|
function defineEvent(eventName, options = {}) {
|
|
10924
10831
|
return class AnnouncedEvent extends EventMessage {
|
|
10925
|
-
eventName = eventName;
|
|
10926
|
-
schema = options.schema;
|
|
10927
10832
|
constructor(data) {
|
|
10928
10833
|
super(data);
|
|
10834
|
+
this.eventName = eventName;
|
|
10835
|
+
this.schema = options.schema;
|
|
10929
10836
|
}
|
|
10930
10837
|
toJSON() {
|
|
10931
10838
|
if (!options.toJSON) return this.data;
|
|
@@ -10935,7 +10842,7 @@ function defineEvent(eventName, options = {}) {
|
|
|
10935
10842
|
}
|
|
10936
10843
|
|
|
10937
10844
|
//#endregion
|
|
10938
|
-
//#region ../herald/
|
|
10845
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.2.4_@s_301a5eb076404f4e7a51af7b45e7e429/node_modules/@warlock.js/herald/esm/use-case-broadcast.mjs
|
|
10939
10846
|
/**
|
|
10940
10847
|
* Channel adapter that publishes use-case broadcast events onto a herald broker.
|
|
10941
10848
|
*
|
|
@@ -10968,6 +10875,7 @@ exports.EventMessage = EventMessage;
|
|
|
10968
10875
|
exports.MissingBrokerError = MissingBrokerError;
|
|
10969
10876
|
exports.RabbitMQChannel = RabbitMQChannel;
|
|
10970
10877
|
exports.RabbitMQDriver = RabbitMQDriver;
|
|
10878
|
+
exports.RabbitMQDriver$1 = RabbitMQDriver;
|
|
10971
10879
|
exports.brokerRegistry = brokerRegistry;
|
|
10972
10880
|
exports.connectToBroker = connectToBroker;
|
|
10973
10881
|
exports.defineConsumer = defineConsumer;
|
|
@@ -10978,4 +10886,4 @@ exports.heraldChannel = heraldChannel;
|
|
|
10978
10886
|
exports.pendingSubscribers = pendingSubscribers;
|
|
10979
10887
|
exports.publishEvent = publishEvent;
|
|
10980
10888
|
exports.subscribeConsumer = subscribeConsumer;
|
|
10981
|
-
//# sourceMappingURL=
|
|
10889
|
+
//# sourceMappingURL=esm-FB2hc0-o.cjs.map
|