@warlock.js/notifications 5.13.0 → 5.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/cjs/{src-Cx9y1PWY.cjs → esm-Ct3gwkEe.cjs} +207 -299
- package/cjs/esm-Ct3gwkEe.cjs.map +1 -0
- package/cjs/index.cjs +118 -7
- package/cjs/index.cjs.map +1 -1
- package/cjs/rabbitmq-driver-DysU9q_t.cjs +3 -0
- package/esm/index.d.mts +8 -1
- package/esm/index.mjs +4 -1
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/communicators/broker-registry.d.mts +1 -0
- package/esm/{herald/src → node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm}/communicators/broker-registry.mjs +5 -5
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/communicators/broker-registry.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/communicators/broker.d.mts +1 -0
- package/esm/{herald/src → node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm}/communicators/broker.mjs +1 -7
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/communicators/broker.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/communicators/index.mjs +3 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/contracts/broker-driver.contract.d.mts +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/contracts/channel.contract.d.mts +1 -0
- package/esm/{herald/src → node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm}/decorators/consumable.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/decorators/consumable.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/decorators/index.mjs +3 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/drivers/index.mjs +5 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/drivers/rabbitmq/index.mjs +4 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/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.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm}/drivers/rabbitmq/rabbitmq-channel.mjs +6 -13
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/drivers/rabbitmq/rabbitmq-channel.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/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.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm}/drivers/rabbitmq/rabbitmq-driver.mjs +10 -11
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/drivers/rabbitmq/rabbitmq-driver.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/index.d.mts +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/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.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm}/message-managers/event-consumer.mjs +10 -22
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/message-managers/event-consumer.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/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.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm}/message-managers/event-message.mjs +3 -20
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/message-managers/event-message.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/message-managers/index.mjs +3 -0
- package/esm/{herald/src → node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm}/message-managers/prepare-consumer-subscription.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/message-managers/prepare-consumer-subscription.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/types/channel.types.d.mts +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/types/registry.types.d.mts +1 -0
- package/esm/{herald/src → node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm}/use-case-broadcast.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/use-case-broadcast.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/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.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm}/utils/connect-to-broker.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/utils/connect-to-broker.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/utils/index.mjs +3 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/config.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/config.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/factory/index.mjs +3 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/factory/validate.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/factory/validate.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/factory/validators.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/factory/validators.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/helpers/date-helpers.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/helpers/date-helpers.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/helpers/get-field-value.mjs +3 -3
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/helpers/get-field-value.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/helpers/index.mjs +3 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/helpers/is-empty-value.mjs +10 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/helpers/path-helpers.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/helpers/path-helpers.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/helpers/validation-helpers.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/helpers/validation-helpers.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/index.d.mts +10 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/index.mjs +7 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/mutators/array-mutators.mjs +3 -3
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/mutators/array-mutators.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/mutators/boolean-mutators.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/mutators/boolean-mutators.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/mutators/date-mutators.mjs +3 -3
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/mutators/date-mutators.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/mutators/index.mjs +8 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/mutators/number-mutators.mjs +4 -4
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/mutators/number-mutators.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/mutators/object-mutators.mjs +4 -4
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/mutators/object-mutators.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/mutators/scalar-mutators.mjs +9 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/mutators/scalar-mutators.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/mutators/string-mutators.mjs +11 -11
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/mutators/string-mutators.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/array/array-rules.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/array/array-rules.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/array/index.mjs +3 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/color/color-rules.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/color/color-rules.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/color/index.mjs +3 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/common/enum.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/common/enum.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/common/equals-field-rules.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/common/equals-field-rules.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/common/index.mjs +8 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/common/instanceof.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/common/instanceof.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/common/literal.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/common/literal.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/common/type-rules.mjs +2 -2
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/common/unknown-key.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/conditional/forbidden-if-rules.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/conditional/forbidden-if-rules.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/conditional/index.mjs +12 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/conditional/present-if-rules.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/conditional/present-unless-rules.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/conditional/present-with-rules.mjs +3 -3
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/conditional/present-without-rules.mjs +3 -3
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/conditional/required-if-rules.mjs +3 -3
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/conditional/required-unless-rules.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/conditional/required-when-rule.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/conditional/required-with-rules.mjs +3 -3
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/conditional/required-without-rules.mjs +3 -3
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/core/equal.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/core/equal.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/core/forbidden.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/core/forbidden.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/core/index.mjs +7 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/core/required.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/core/required.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/core/union.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/core/union.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/core/when.mjs +3 -3
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/core/when.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/date/date-comparison-rules.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/date/date-day-rules.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/date/date-field-comparison-rules.mjs +3 -3
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/date/date-period-rules.mjs +3 -3
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/date/date-relative-rules.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/date/date-special-rules.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/date/date.mjs +3 -3
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/date/date.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/date/index.mjs +9 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/index.mjs +57 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/length/index.mjs +3 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/length/length-rules.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/length/length-rules.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/number/index.mjs +3 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/number/number-rules.mjs +3 -3
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/scalar/accepted-rule.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/scalar/declined-rule.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/scalar/declined-rule.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/scalar/index.mjs +4 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/string/alpha.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/alpha.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/string/credit-card.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/string/email.mjs +2 -2
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/email.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/string/id-formats.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/id-formats.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/index.mjs +13 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/string/ip.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/ip.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/matches.mjs +4 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/string/pattern.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/pattern.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/string/string-comparison.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/string/strong-password-rule.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/rules/string/url.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/url.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/string/without-whitespace.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/without-whitespace.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/standard-schema/json-schema.d.mts +32 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/standard-schema/json-schema.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/standard-schema/map-result.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/standard-schema/map-result.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/standard-schema/types.d.mts +97 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/standard-schema/types.d.mts.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/types/conditional-types.d.mts +16 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/types/conditional-types.d.mts.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/types/context-types.d.mts +42 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/types/context-types.d.mts.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/types/data-transformer-types.d.mts +30 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/types/date-types.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/types/date-types.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/types/mutator-types.d.mts +28 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/types/mutator-types.d.mts.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/types/result-types.d.mts +17 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/types/result-types.d.mts.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/types/rule-types.d.mts +53 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/types/rule-types.d.mts.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/types/schema-types.d.mts +11 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/validators/any-validator.mjs +6 -9
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/any-validator.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/array-validator.mjs +1 -2
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/array-validator.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/base-validator.d.mts +492 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/validators/base-validator.mjs +16 -49
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/base-validator.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/boolean-validator.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/boolean-validator.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/computed-validator.mjs +1 -3
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/computed-validator.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/date-validator.mjs +3 -3
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/date-validator.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/discriminated-union-validator.mjs +2 -6
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/validators/float-validator.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/float-validator.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/index.mjs +28 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/instanceof-validator.mjs +1 -2
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/instanceof-validator.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/int-validator.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/int-validator.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/lazy-validator.mjs +1 -3
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/lazy-validator.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/literal-validator.mjs +1 -2
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/literal-validator.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/managed-validator.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/managed-validator.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/methods/equality-conditional-methods.d.mts +91 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/validators/methods/equality-conditional-methods.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/methods/equality-conditional-methods.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/methods/forbidden-methods.d.mts +59 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/validators/methods/forbidden-methods.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/methods/forbidden-methods.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/methods/present-methods.d.mts +103 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/validators/methods/present-methods.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/methods/present-methods.mjs.map +1 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/methods/required-methods.d.mts +194 -0
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/validators/methods/required-methods.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0/node_modules/@warlock.js/seal/esm}/validators/number-validator.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/number-validator.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/numeric-validator.mjs +2 -2
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/numeric-validator.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/object-validator.mjs +7 -8
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/object-validator.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/primitive-validator.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/primitive-validator.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/record-validator.mjs +2 -3
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/record-validator.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/scalar-validator.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/scalar-validator.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/string-validator.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/string-validator.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/tuple-validator.mjs +1 -2
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/tuple-validator.mjs.map +1 -0
- package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/validators/union-validator.mjs +1 -1
- package/esm/node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/union-validator.mjs.map +1 -0
- package/esm/queue/bullmq-queue.d.mts +25 -0
- package/esm/queue/bullmq-queue.d.mts.map +1 -0
- package/esm/queue/bullmq-queue.mjs +65 -0
- package/esm/queue/bullmq-queue.mjs.map +1 -0
- package/esm/queue/index.d.mts +4 -1
- package/esm/queue/index.mjs +3 -0
- package/esm/queue/load-herald.d.mts.map +1 -1
- package/esm/queue/load-herald.mjs +1 -1
- package/esm/queue/load-queue.d.mts +11 -0
- package/esm/queue/load-queue.d.mts.map +1 -0
- package/esm/queue/load-queue.mjs +32 -0
- package/esm/queue/load-queue.mjs.map +1 -0
- package/esm/queue/queue-package-not-installed.error.d.mts +13 -0
- package/esm/queue/queue-package-not-installed.error.d.mts.map +1 -0
- package/esm/queue/queue-package-not-installed.error.mjs +21 -0
- package/esm/queue/queue-package-not-installed.error.mjs.map +1 -0
- package/llms-full.txt +16 -8
- package/llms.txt +1 -1
- package/package.json +14 -6
- package/skills/queue-notifications/SKILL.md +16 -8
- package/cjs/rabbitmq-driver-Dn0M0-ln.cjs +0 -3
- package/cjs/src-Cx9y1PWY.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/boolean-mutators.mjs.map +0 -1
- package/esm/seal/src/mutators/date-mutators.mjs.map +0 -1
- package/esm/seal/src/mutators/index.mjs +0 -9
- 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.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm}/index.mjs +0 -0
- /package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/file/dimensions.mjs +0 -0
- /package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/node_modules/@warlock.js/seal/esm}/rules/file/file-size.mjs +0 -0
- /package/esm/{seal/src → node_modules/.pnpm/@warlock.js_seal@5.14.0/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.14.0_@_3471b04ef54e023074af1a6880918ea2/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.14.0/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.14.0/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.14.0/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.14.0/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.14.0/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.14.0/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.14.0/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:
|
|
@@ -1131,13 +1131,13 @@ const Is = {
|
|
|
1131
1131
|
};
|
|
1132
1132
|
|
|
1133
1133
|
//#endregion
|
|
1134
|
-
//#region ../seal/
|
|
1134
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/helpers/is-empty-value.mjs
|
|
1135
1135
|
function isEmptyValue(value) {
|
|
1136
1136
|
return isEmpty(value) && !isObject(value);
|
|
1137
1137
|
}
|
|
1138
1138
|
|
|
1139
1139
|
//#endregion
|
|
1140
|
-
//#region ../seal/
|
|
1140
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/core/required.mjs
|
|
1141
1141
|
/**
|
|
1142
1142
|
* Required rule - value must be present and not empty
|
|
1143
1143
|
*/
|
|
@@ -1167,7 +1167,7 @@ const presentRule = {
|
|
|
1167
1167
|
};
|
|
1168
1168
|
|
|
1169
1169
|
//#endregion
|
|
1170
|
-
//#region ../seal/
|
|
1170
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/standard-schema/map-result.mjs
|
|
1171
1171
|
/**
|
|
1172
1172
|
* Maps a Seal ValidationResult to a Standard Schema result shape.
|
|
1173
1173
|
*
|
|
@@ -1191,57 +1191,24 @@ function mapToStandardResult(result) {
|
|
|
1191
1191
|
}
|
|
1192
1192
|
|
|
1193
1193
|
//#endregion
|
|
1194
|
-
//#region ../seal/
|
|
1194
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/base-validator.mjs
|
|
1195
1195
|
/**
|
|
1196
1196
|
* Base validator class - foundation for all validators
|
|
1197
1197
|
*/
|
|
1198
1198
|
var BaseValidator = class {
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
*/
|
|
1213
|
-
catchValue;
|
|
1214
|
-
hasCatch = false;
|
|
1215
|
-
/**
|
|
1216
|
-
* Whether the field is optional.
|
|
1217
|
-
* - false (default): field is required unless a requiredRule governs the condition.
|
|
1218
|
-
* - true: field can be absent or empty — set by calling .optional().
|
|
1219
|
-
*
|
|
1220
|
-
* Also used as a TypeScript literal brand via the optional() return type.
|
|
1221
|
-
*/
|
|
1222
|
-
isOptional = false;
|
|
1223
|
-
/**
|
|
1224
|
-
* The single required-condition rule for this field.
|
|
1225
|
-
* - null: field uses strict default (always required when not optional).
|
|
1226
|
-
* - set: the rule governs when the field is required (e.g., requiredIf).
|
|
1227
|
-
*
|
|
1228
|
-
* Stored separately from rules[] and prepended at validate() time.
|
|
1229
|
-
*/
|
|
1230
|
-
requiredRule = this.createRule(requiredRule);
|
|
1231
|
-
/**
|
|
1232
|
-
* Pipeline to transform the mutated/original data before returning it
|
|
1233
|
-
*/
|
|
1234
|
-
dataTransformers = [];
|
|
1235
|
-
/**
|
|
1236
|
-
* Attributes text to be replaced on translations
|
|
1237
|
-
* If the value is an object, it will be used as the attributes list for the rule
|
|
1238
|
-
* If the value is a string, it will be used as the attributes list for the rule
|
|
1239
|
-
*/
|
|
1240
|
-
attributesText = {};
|
|
1241
|
-
/**
|
|
1242
|
-
* Attributed that will be always using the attribute translator
|
|
1243
|
-
*/
|
|
1244
|
-
translatedAttributes = {};
|
|
1199
|
+
constructor() {
|
|
1200
|
+
this.rules = [];
|
|
1201
|
+
this.mutators = [];
|
|
1202
|
+
this.shouldOmit = false;
|
|
1203
|
+
this.isNullable = false;
|
|
1204
|
+
this.isMutable = false;
|
|
1205
|
+
this.hasCatch = false;
|
|
1206
|
+
this.isOptional = false;
|
|
1207
|
+
this.requiredRule = this.createRule(requiredRule);
|
|
1208
|
+
this.dataTransformers = [];
|
|
1209
|
+
this.attributesText = {};
|
|
1210
|
+
this.translatedAttributes = {};
|
|
1211
|
+
}
|
|
1245
1212
|
/**
|
|
1246
1213
|
* Mark the validator as mutable
|
|
1247
1214
|
*/
|
|
@@ -1871,19 +1838,16 @@ var BaseValidator = class {
|
|
|
1871
1838
|
};
|
|
1872
1839
|
|
|
1873
1840
|
//#endregion
|
|
1874
|
-
//#region ../seal/
|
|
1841
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/any-validator.mjs
|
|
1875
1842
|
/**
|
|
1876
1843
|
* Any validator - accepts any value
|
|
1877
1844
|
*/
|
|
1878
1845
|
var AnyValidator = class extends BaseValidator {
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
* Set is optional to be true
|
|
1885
|
-
*/
|
|
1886
|
-
isOptional = true;
|
|
1846
|
+
constructor(..._args) {
|
|
1847
|
+
super(..._args);
|
|
1848
|
+
this.requiredRule = null;
|
|
1849
|
+
this.isOptional = true;
|
|
1850
|
+
}
|
|
1887
1851
|
/**
|
|
1888
1852
|
* @inheritdoc
|
|
1889
1853
|
*
|
|
@@ -1904,7 +1868,7 @@ var AnyValidator = class extends BaseValidator {
|
|
|
1904
1868
|
};
|
|
1905
1869
|
|
|
1906
1870
|
//#endregion
|
|
1907
|
-
//#region ../seal/
|
|
1871
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/mutators/array-mutators.mjs
|
|
1908
1872
|
/** Reverse array order */
|
|
1909
1873
|
const flipArrayMutator = async (value) => {
|
|
1910
1874
|
return value.reverse();
|
|
@@ -1931,7 +1895,7 @@ const uniqueArrayMutator = async (value) => {
|
|
|
1931
1895
|
};
|
|
1932
1896
|
|
|
1933
1897
|
//#endregion
|
|
1934
|
-
//#region ../seal/
|
|
1898
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/scalar/accepted-rule.mjs
|
|
1935
1899
|
/**
|
|
1936
1900
|
* The full set of values treated as "accepted" by `acceptedRule` and its
|
|
1937
1901
|
* conditional variants. Shared with `formBooleanMutator` (see
|
|
@@ -2047,7 +2011,7 @@ const acceptedWithoutRule = {
|
|
|
2047
2011
|
};
|
|
2048
2012
|
|
|
2049
2013
|
//#endregion
|
|
2050
|
-
//#region ../seal/
|
|
2014
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/scalar/declined-rule.mjs
|
|
2051
2015
|
/**
|
|
2052
2016
|
* The full set of values treated as "declined" by `declinedRule` and its
|
|
2053
2017
|
* conditional variants. Shared with `formBooleanMutator` (see
|
|
@@ -2163,7 +2127,7 @@ const declinedWithoutRule = {
|
|
|
2163
2127
|
};
|
|
2164
2128
|
|
|
2165
2129
|
//#endregion
|
|
2166
|
-
//#region ../seal/
|
|
2130
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/mutators/boolean-mutators.mjs
|
|
2167
2131
|
/**
|
|
2168
2132
|
* Coerce a query-string-shaped boolean into a real boolean.
|
|
2169
2133
|
*
|
|
@@ -2497,7 +2461,7 @@ var require_dayjs_min = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
2497
2461
|
}));
|
|
2498
2462
|
|
|
2499
2463
|
//#endregion
|
|
2500
|
-
//#region ../seal/
|
|
2464
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/mutators/date-mutators.mjs
|
|
2501
2465
|
var import_dayjs_min = /* @__PURE__ */ require_chunk.__toESM(require_dayjs_min(), 1);
|
|
2502
2466
|
/**
|
|
2503
2467
|
* Convert value to Date object
|
|
@@ -2586,7 +2550,7 @@ const toEndOfYearMutator = async (value) => {
|
|
|
2586
2550
|
};
|
|
2587
2551
|
|
|
2588
2552
|
//#endregion
|
|
2589
|
-
//#region ../seal/
|
|
2553
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/mutators/number-mutators.mjs
|
|
2590
2554
|
/** Convert value to number */
|
|
2591
2555
|
const numberMutator = async (value) => {
|
|
2592
2556
|
if (!value) return value;
|
|
@@ -2632,7 +2596,7 @@ const toFixedMutator = async (value, context) => {
|
|
|
2632
2596
|
};
|
|
2633
2597
|
|
|
2634
2598
|
//#endregion
|
|
2635
|
-
//#region ../seal/
|
|
2599
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/mutators/object-mutators.mjs
|
|
2636
2600
|
/** Strip unknown keys from object */
|
|
2637
2601
|
const stripUnknownMutator = async (value, context) => {
|
|
2638
2602
|
const allowedKeys = [...context?.ctx.schema ? Object.keys(context.ctx.schema) : [], ...context?.options.allowedKeys ?? []];
|
|
@@ -2656,14 +2620,14 @@ const objectTrimMutator = async (value, context) => {
|
|
|
2656
2620
|
};
|
|
2657
2621
|
|
|
2658
2622
|
//#endregion
|
|
2659
|
-
//#region ../seal/
|
|
2623
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/mutators/scalar-mutators.mjs
|
|
2660
2624
|
const stringMutator = async (value) => {
|
|
2661
2625
|
if ([void 0, null].includes(value)) return value;
|
|
2662
2626
|
return String(value);
|
|
2663
2627
|
};
|
|
2664
2628
|
|
|
2665
2629
|
//#endregion
|
|
2666
|
-
//#region ../seal/
|
|
2630
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/mutators/string-mutators.mjs
|
|
2667
2631
|
/** Convert string to lowercase */
|
|
2668
2632
|
const lowercaseMutator = async (value) => {
|
|
2669
2633
|
return value?.toString().toLowerCase();
|
|
@@ -2836,7 +2800,7 @@ const removeNumbersMutator = async (value) => {
|
|
|
2836
2800
|
};
|
|
2837
2801
|
|
|
2838
2802
|
//#endregion
|
|
2839
|
-
//#region ../seal/
|
|
2803
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/core/equal.mjs
|
|
2840
2804
|
/**
|
|
2841
2805
|
* Equal rule - value must be equal to a specific value
|
|
2842
2806
|
*/
|
|
@@ -2853,7 +2817,7 @@ const equalRule = {
|
|
|
2853
2817
|
};
|
|
2854
2818
|
|
|
2855
2819
|
//#endregion
|
|
2856
|
-
//#region ../seal/
|
|
2820
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/core/forbidden.mjs
|
|
2857
2821
|
/**
|
|
2858
2822
|
* Forbidden rule - value must not be present
|
|
2859
2823
|
*/
|
|
@@ -2867,7 +2831,7 @@ const forbiddenRule = {
|
|
|
2867
2831
|
};
|
|
2868
2832
|
|
|
2869
2833
|
//#endregion
|
|
2870
|
-
//#region ../seal/
|
|
2834
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/core/union.mjs
|
|
2871
2835
|
/**
|
|
2872
2836
|
* Union rule - value must match at least one of the provided validators
|
|
2873
2837
|
*/
|
|
@@ -2892,7 +2856,7 @@ const unionRule = {
|
|
|
2892
2856
|
};
|
|
2893
2857
|
|
|
2894
2858
|
//#endregion
|
|
2895
|
-
//#region ../seal/
|
|
2859
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/core/when.mjs
|
|
2896
2860
|
/**
|
|
2897
2861
|
* When rule - conditional validation based on another field value
|
|
2898
2862
|
*/
|
|
@@ -2922,7 +2886,7 @@ const whenRule = {
|
|
|
2922
2886
|
};
|
|
2923
2887
|
|
|
2924
2888
|
//#endregion
|
|
2925
|
-
//#region ../seal/
|
|
2889
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/alpha.mjs
|
|
2926
2890
|
/**
|
|
2927
2891
|
* Alpha rule - allows only alphabetic characters
|
|
2928
2892
|
*/
|
|
@@ -2958,7 +2922,7 @@ const isNumericRule = {
|
|
|
2958
2922
|
};
|
|
2959
2923
|
|
|
2960
2924
|
//#endregion
|
|
2961
|
-
//#region ../seal/
|
|
2925
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/credit-card.mjs
|
|
2962
2926
|
/**
|
|
2963
2927
|
* Credit card rule - validates credit card number
|
|
2964
2928
|
*/
|
|
@@ -2985,7 +2949,7 @@ const isCreditCardRule = {
|
|
|
2985
2949
|
};
|
|
2986
2950
|
|
|
2987
2951
|
//#endregion
|
|
2988
|
-
//#region ../seal/
|
|
2952
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/email.mjs
|
|
2989
2953
|
/**
|
|
2990
2954
|
* Email rule - validates email format
|
|
2991
2955
|
*/
|
|
@@ -2999,7 +2963,7 @@ const emailRule = {
|
|
|
2999
2963
|
};
|
|
3000
2964
|
|
|
3001
2965
|
//#endregion
|
|
3002
|
-
//#region ../seal/
|
|
2966
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/id-formats.mjs
|
|
3003
2967
|
/**
|
|
3004
2968
|
* Modern ID format validators — UUID, CUID, ULID, nanoid.
|
|
3005
2969
|
*
|
|
@@ -3098,7 +3062,7 @@ const nanoidRule = {
|
|
|
3098
3062
|
};
|
|
3099
3063
|
|
|
3100
3064
|
//#endregion
|
|
3101
|
-
//#region ../seal/
|
|
3065
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/ip.mjs
|
|
3102
3066
|
/**
|
|
3103
3067
|
* Pure, dependency-free re-implementation of Node's `net.isIP`/`isIPv4`/`isIPv6`.
|
|
3104
3068
|
* Mirrors the exact regex Node uses internally (lib/internal/net.js) so that
|
|
@@ -3159,7 +3123,7 @@ const ip6Rule = {
|
|
|
3159
3123
|
};
|
|
3160
3124
|
|
|
3161
3125
|
//#endregion
|
|
3162
|
-
//#region ../seal/
|
|
3126
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/pattern.mjs
|
|
3163
3127
|
/**
|
|
3164
3128
|
* Pattern rule - validates against regex pattern
|
|
3165
3129
|
*/
|
|
@@ -3174,7 +3138,7 @@ const patternRule = {
|
|
|
3174
3138
|
};
|
|
3175
3139
|
|
|
3176
3140
|
//#endregion
|
|
3177
|
-
//#region ../seal/
|
|
3141
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/string-comparison.mjs
|
|
3178
3142
|
/**
|
|
3179
3143
|
* Starts with rule
|
|
3180
3144
|
*/
|
|
@@ -3225,7 +3189,7 @@ const notContainsRule = {
|
|
|
3225
3189
|
};
|
|
3226
3190
|
|
|
3227
3191
|
//#endregion
|
|
3228
|
-
//#region ../seal/
|
|
3192
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/strong-password-rule.mjs
|
|
3229
3193
|
/**
|
|
3230
3194
|
* Strong Password rule - validates password strength
|
|
3231
3195
|
* Requirements:
|
|
@@ -3251,7 +3215,7 @@ const strongPasswordRule = {
|
|
|
3251
3215
|
};
|
|
3252
3216
|
|
|
3253
3217
|
//#endregion
|
|
3254
|
-
//#region ../seal/
|
|
3218
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/url.mjs
|
|
3255
3219
|
/**
|
|
3256
3220
|
* URL rule - validates URL format
|
|
3257
3221
|
*/
|
|
@@ -3269,7 +3233,7 @@ const urlRule = {
|
|
|
3269
3233
|
};
|
|
3270
3234
|
|
|
3271
3235
|
//#endregion
|
|
3272
|
-
//#region ../seal/
|
|
3236
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/string/without-whitespace.mjs
|
|
3273
3237
|
/**
|
|
3274
3238
|
* Without whitespace rule - value must not contain whitespace
|
|
3275
3239
|
*/
|
|
@@ -3283,7 +3247,7 @@ const withoutWhitespaceRule = {
|
|
|
3283
3247
|
};
|
|
3284
3248
|
|
|
3285
3249
|
//#endregion
|
|
3286
|
-
//#region ../seal/
|
|
3250
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/number/number-rules.mjs
|
|
3287
3251
|
/**
|
|
3288
3252
|
* Min rule - value must be equal or greater than minimum
|
|
3289
3253
|
* Supports field names with sibling scope
|
|
@@ -3473,7 +3437,7 @@ const betweenNumbersRule = {
|
|
|
3473
3437
|
};
|
|
3474
3438
|
|
|
3475
3439
|
//#endregion
|
|
3476
|
-
//#region ../seal/
|
|
3440
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/length/length-rules.mjs
|
|
3477
3441
|
/**
|
|
3478
3442
|
* Min length rule - validates minimum length
|
|
3479
3443
|
* Works for any value with a length property (strings, arrays, etc.)
|
|
@@ -3566,7 +3530,7 @@ const wordsRule = {
|
|
|
3566
3530
|
};
|
|
3567
3531
|
|
|
3568
3532
|
//#endregion
|
|
3569
|
-
//#region ../seal/
|
|
3533
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/array/array-rules.mjs
|
|
3570
3534
|
/**
|
|
3571
3535
|
* Unique array rule - array must contain unique values
|
|
3572
3536
|
*/
|
|
@@ -3602,7 +3566,7 @@ const sortedArrayRule = {
|
|
|
3602
3566
|
};
|
|
3603
3567
|
|
|
3604
3568
|
//#endregion
|
|
3605
|
-
//#region ../seal/
|
|
3569
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/types/date-types.mjs
|
|
3606
3570
|
/**
|
|
3607
3571
|
* Week day numbers mapping
|
|
3608
3572
|
*/
|
|
@@ -3617,7 +3581,7 @@ const WEEK_DAYS = {
|
|
|
3617
3581
|
};
|
|
3618
3582
|
|
|
3619
3583
|
//#endregion
|
|
3620
|
-
//#region ../seal/
|
|
3584
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/date/date.mjs
|
|
3621
3585
|
/**
|
|
3622
3586
|
* Date rule - validates date format
|
|
3623
3587
|
*/
|
|
@@ -3843,7 +3807,7 @@ const weekDayRule = {
|
|
|
3843
3807
|
};
|
|
3844
3808
|
|
|
3845
3809
|
//#endregion
|
|
3846
|
-
//#region ../seal/
|
|
3810
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/date/date-comparison-rules.mjs
|
|
3847
3811
|
/**
|
|
3848
3812
|
* Between dates rule - date must be between start and end dates
|
|
3849
3813
|
*/
|
|
@@ -3916,7 +3880,7 @@ const afterTodayRule = {
|
|
|
3916
3880
|
};
|
|
3917
3881
|
|
|
3918
3882
|
//#endregion
|
|
3919
|
-
//#region ../seal/
|
|
3883
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/date/date-day-rules.mjs
|
|
3920
3884
|
/**
|
|
3921
3885
|
* Weekend rule - date must be Saturday or Sunday
|
|
3922
3886
|
*/
|
|
@@ -3959,7 +3923,7 @@ const businessDayRule = {
|
|
|
3959
3923
|
};
|
|
3960
3924
|
|
|
3961
3925
|
//#endregion
|
|
3962
|
-
//#region ../seal/
|
|
3926
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/date/date-field-comparison-rules.mjs
|
|
3963
3927
|
/**
|
|
3964
3928
|
* Before field rule - date must be < given date or field
|
|
3965
3929
|
* Smart detection: date value or field name
|
|
@@ -4033,7 +3997,7 @@ const sameAsFieldDateRule = {
|
|
|
4033
3997
|
};
|
|
4034
3998
|
|
|
4035
3999
|
//#endregion
|
|
4036
|
-
//#region ../seal/
|
|
4000
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/date/date-period-rules.mjs
|
|
4037
4001
|
const MONTHS = {
|
|
4038
4002
|
1: "january",
|
|
4039
4003
|
2: "february",
|
|
@@ -4427,7 +4391,7 @@ const maxDayRule = {
|
|
|
4427
4391
|
};
|
|
4428
4392
|
|
|
4429
4393
|
//#endregion
|
|
4430
|
-
//#region ../seal/
|
|
4394
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/date/date-relative-rules.mjs
|
|
4431
4395
|
/**
|
|
4432
4396
|
* Within days rule - date must be within X days from now (past or future)
|
|
4433
4397
|
*/
|
|
@@ -4477,7 +4441,7 @@ const withinFutureDaysRule = {
|
|
|
4477
4441
|
};
|
|
4478
4442
|
|
|
4479
4443
|
//#endregion
|
|
4480
|
-
//#region ../seal/
|
|
4444
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/date/date-special-rules.mjs
|
|
4481
4445
|
/**
|
|
4482
4446
|
* Birthday rule - valid birthday (not in future, reasonable age)
|
|
4483
4447
|
*/
|
|
@@ -4530,7 +4494,7 @@ const leapYearRule = {
|
|
|
4530
4494
|
};
|
|
4531
4495
|
|
|
4532
4496
|
//#endregion
|
|
4533
|
-
//#region ../seal/
|
|
4497
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/color/color-rules.mjs
|
|
4534
4498
|
/**
|
|
4535
4499
|
* Color validation regex patterns
|
|
4536
4500
|
*/
|
|
@@ -4629,7 +4593,7 @@ const darkColorRule = {
|
|
|
4629
4593
|
};
|
|
4630
4594
|
|
|
4631
4595
|
//#endregion
|
|
4632
|
-
//#region ../seal/
|
|
4596
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/conditional/required-if-rules.mjs
|
|
4633
4597
|
/**
|
|
4634
4598
|
* Required if rule - field is required if another field equals a specific value
|
|
4635
4599
|
* Supports both global and sibling scope
|
|
@@ -4824,7 +4788,7 @@ const requiredIfAnyNotEmptyRule = {
|
|
|
4824
4788
|
};
|
|
4825
4789
|
|
|
4826
4790
|
//#endregion
|
|
4827
|
-
//#region ../seal/
|
|
4791
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/conditional/required-unless-rules.mjs
|
|
4828
4792
|
/**
|
|
4829
4793
|
* Required unless rule - field is required unless another field equals a specific value
|
|
4830
4794
|
* Supports both global and sibling scope
|
|
@@ -4848,7 +4812,7 @@ const requiredUnlessRule = {
|
|
|
4848
4812
|
};
|
|
4849
4813
|
|
|
4850
4814
|
//#endregion
|
|
4851
|
-
//#region ../seal/
|
|
4815
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/conditional/required-when-rule.mjs
|
|
4852
4816
|
/**
|
|
4853
4817
|
* Required when callback returns true.
|
|
4854
4818
|
*
|
|
@@ -4874,7 +4838,7 @@ const requiredWhenRule = {
|
|
|
4874
4838
|
};
|
|
4875
4839
|
|
|
4876
4840
|
//#endregion
|
|
4877
|
-
//#region ../seal/
|
|
4841
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/conditional/required-with-rules.mjs
|
|
4878
4842
|
/**
|
|
4879
4843
|
* Required with rule - field is required if another field is present
|
|
4880
4844
|
* Supports both global and sibling scope
|
|
@@ -4932,7 +4896,7 @@ const requiredWithAnyRule = {
|
|
|
4932
4896
|
};
|
|
4933
4897
|
|
|
4934
4898
|
//#endregion
|
|
4935
|
-
//#region ../seal/
|
|
4899
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/conditional/required-without-rules.mjs
|
|
4936
4900
|
/**
|
|
4937
4901
|
* Required without rule - field is required if another field is missing
|
|
4938
4902
|
* Supports both global and sibling scope
|
|
@@ -4990,7 +4954,7 @@ const requiredWithoutAnyRule = {
|
|
|
4990
4954
|
};
|
|
4991
4955
|
|
|
4992
4956
|
//#endregion
|
|
4993
|
-
//#region ../seal/
|
|
4957
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/conditional/present-if-rules.mjs
|
|
4994
4958
|
/**
|
|
4995
4959
|
* Present if rule - field must be present if another field equals a specific value
|
|
4996
4960
|
* Supports both global and sibling scope
|
|
@@ -5080,7 +5044,7 @@ const presentIfNotInRule = {
|
|
|
5080
5044
|
};
|
|
5081
5045
|
|
|
5082
5046
|
//#endregion
|
|
5083
|
-
//#region ../seal/
|
|
5047
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/conditional/present-unless-rules.mjs
|
|
5084
5048
|
/**
|
|
5085
5049
|
* Present unless rule - field must be present unless another field equals a specific value
|
|
5086
5050
|
* Supports both global and sibling scope
|
|
@@ -5104,7 +5068,7 @@ const presentUnlessRule = {
|
|
|
5104
5068
|
};
|
|
5105
5069
|
|
|
5106
5070
|
//#endregion
|
|
5107
|
-
//#region ../seal/
|
|
5071
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/conditional/present-with-rules.mjs
|
|
5108
5072
|
/**
|
|
5109
5073
|
* Present with rule - field must be present if another field is present
|
|
5110
5074
|
* Supports both global and sibling scope
|
|
@@ -5172,7 +5136,7 @@ const presentWithAnyRule = {
|
|
|
5172
5136
|
};
|
|
5173
5137
|
|
|
5174
5138
|
//#endregion
|
|
5175
|
-
//#region ../seal/
|
|
5139
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/conditional/present-without-rules.mjs
|
|
5176
5140
|
/**
|
|
5177
5141
|
* Present without rule - field must be present if another field is missing
|
|
5178
5142
|
* Supports both global and sibling scope
|
|
@@ -5240,7 +5204,7 @@ const presentWithoutAnyRule = {
|
|
|
5240
5204
|
};
|
|
5241
5205
|
|
|
5242
5206
|
//#endregion
|
|
5243
|
-
//#region ../seal/
|
|
5207
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/conditional/forbidden-if-rules.mjs
|
|
5244
5208
|
/**
|
|
5245
5209
|
* Forbidden if rule - field is forbidden if another field equals a specific value
|
|
5246
5210
|
* Supports both global and sibling scope
|
|
@@ -5349,7 +5313,7 @@ const forbiddenIfNotInRule = {
|
|
|
5349
5313
|
};
|
|
5350
5314
|
|
|
5351
5315
|
//#endregion
|
|
5352
|
-
//#region ../seal/
|
|
5316
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/common/enum.mjs
|
|
5353
5317
|
/**
|
|
5354
5318
|
* Enum rule - value must be one of the enum values
|
|
5355
5319
|
*/
|
|
@@ -5421,7 +5385,7 @@ const notAllowedValuesRule = {
|
|
|
5421
5385
|
};
|
|
5422
5386
|
|
|
5423
5387
|
//#endregion
|
|
5424
|
-
//#region ../seal/
|
|
5388
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/common/equals-field-rules.mjs
|
|
5425
5389
|
/**
|
|
5426
5390
|
* Equals field rule - value must equal another field's value
|
|
5427
5391
|
* Supports both global and sibling scope
|
|
@@ -5457,7 +5421,7 @@ const notEqualsFieldRule = {
|
|
|
5457
5421
|
};
|
|
5458
5422
|
|
|
5459
5423
|
//#endregion
|
|
5460
|
-
//#region ../seal/
|
|
5424
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/common/instanceof.mjs
|
|
5461
5425
|
/**
|
|
5462
5426
|
* InstanceOf rule - value must be an instance of the given constructor.
|
|
5463
5427
|
*
|
|
@@ -5475,7 +5439,7 @@ const instanceofRule = {
|
|
|
5475
5439
|
};
|
|
5476
5440
|
|
|
5477
5441
|
//#endregion
|
|
5478
|
-
//#region ../seal/
|
|
5442
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/common/literal.mjs
|
|
5479
5443
|
/**
|
|
5480
5444
|
* Literal rule - value must be strictly equal to one of the literal values.
|
|
5481
5445
|
*
|
|
@@ -5501,7 +5465,7 @@ const literalRule = {
|
|
|
5501
5465
|
};
|
|
5502
5466
|
|
|
5503
5467
|
//#endregion
|
|
5504
|
-
//#region ../seal/
|
|
5468
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/common/type-rules.mjs
|
|
5505
5469
|
/**
|
|
5506
5470
|
* String rule - validates string type
|
|
5507
5471
|
*/
|
|
@@ -5592,7 +5556,7 @@ const arrayRule = {
|
|
|
5592
5556
|
};
|
|
5593
5557
|
|
|
5594
5558
|
//#endregion
|
|
5595
|
-
//#region ../seal/
|
|
5559
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/rules/common/unknown-key.mjs
|
|
5596
5560
|
/**
|
|
5597
5561
|
* Unknown key rule - validates that object doesn't have unknown keys
|
|
5598
5562
|
*/
|
|
@@ -5612,12 +5576,11 @@ const unknownKeyRule = {
|
|
|
5612
5576
|
};
|
|
5613
5577
|
|
|
5614
5578
|
//#endregion
|
|
5615
|
-
//#region ../seal/
|
|
5579
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/array-validator.mjs
|
|
5616
5580
|
/**
|
|
5617
5581
|
* Array validator class
|
|
5618
5582
|
*/
|
|
5619
5583
|
var ArrayValidator = class extends BaseValidator {
|
|
5620
|
-
validator;
|
|
5621
5584
|
constructor(validator, errorMessage) {
|
|
5622
5585
|
super();
|
|
5623
5586
|
this.validator = validator;
|
|
@@ -5776,7 +5739,7 @@ var ArrayValidator = class extends BaseValidator {
|
|
|
5776
5739
|
};
|
|
5777
5740
|
|
|
5778
5741
|
//#endregion
|
|
5779
|
-
//#region ../seal/
|
|
5742
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/methods/equality-conditional-methods.mjs
|
|
5780
5743
|
/**
|
|
5781
5744
|
* Value must be equal to the given value
|
|
5782
5745
|
*/
|
|
@@ -5897,7 +5860,7 @@ BaseValidator.prototype.whenSibling = function(siblingField, options) {
|
|
|
5897
5860
|
};
|
|
5898
5861
|
|
|
5899
5862
|
//#endregion
|
|
5900
|
-
//#region ../seal/
|
|
5863
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/methods/forbidden-methods.mjs
|
|
5901
5864
|
/**
|
|
5902
5865
|
* Value is forbidden to be present
|
|
5903
5866
|
*/
|
|
@@ -6022,7 +5985,7 @@ BaseValidator.prototype.forbiddenIfNotInSibling = function(field, values, errorM
|
|
|
6022
5985
|
};
|
|
6023
5986
|
|
|
6024
5987
|
//#endregion
|
|
6025
|
-
//#region ../seal/
|
|
5988
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/methods/present-methods.mjs
|
|
6026
5989
|
/**
|
|
6027
5990
|
* Field must be present if another field exists
|
|
6028
5991
|
*/
|
|
@@ -6249,7 +6212,7 @@ BaseValidator.prototype.presentWithoutAnySiblings = function(fields, errorMessag
|
|
|
6249
6212
|
};
|
|
6250
6213
|
|
|
6251
6214
|
//#endregion
|
|
6252
|
-
//#region ../seal/
|
|
6215
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/methods/required-methods.mjs
|
|
6253
6216
|
/**
|
|
6254
6217
|
* This value must be present and has a value
|
|
6255
6218
|
*/
|
|
@@ -6586,7 +6549,7 @@ BaseValidator.prototype.requiredWhen = function(callback, errorMessage) {
|
|
|
6586
6549
|
};
|
|
6587
6550
|
|
|
6588
6551
|
//#endregion
|
|
6589
|
-
//#region ../seal/
|
|
6552
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/primitive-validator.mjs
|
|
6590
6553
|
/**
|
|
6591
6554
|
* Abstract base validator for primitive-typed fields (string, number, boolean).
|
|
6592
6555
|
*
|
|
@@ -6669,7 +6632,7 @@ var PrimitiveValidator = class extends BaseValidator {
|
|
|
6669
6632
|
};
|
|
6670
6633
|
|
|
6671
6634
|
//#endregion
|
|
6672
|
-
//#region ../seal/
|
|
6635
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/boolean-validator.mjs
|
|
6673
6636
|
/**
|
|
6674
6637
|
* Boolean validator class
|
|
6675
6638
|
*
|
|
@@ -6832,7 +6795,7 @@ var BooleanValidator = class extends PrimitiveValidator {
|
|
|
6832
6795
|
};
|
|
6833
6796
|
|
|
6834
6797
|
//#endregion
|
|
6835
|
-
//#region ../seal/
|
|
6798
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/computed-validator.mjs
|
|
6836
6799
|
/**
|
|
6837
6800
|
* Computed field validator
|
|
6838
6801
|
*
|
|
@@ -6866,8 +6829,6 @@ var BooleanValidator = class extends PrimitiveValidator {
|
|
|
6866
6829
|
* ```
|
|
6867
6830
|
*/
|
|
6868
6831
|
var ComputedValidator = class extends BaseValidator {
|
|
6869
|
-
callback;
|
|
6870
|
-
resultValidator;
|
|
6871
6832
|
/**
|
|
6872
6833
|
* Create a new computed field validator
|
|
6873
6834
|
*
|
|
@@ -6946,7 +6907,7 @@ var ComputedValidator = class extends BaseValidator {
|
|
|
6946
6907
|
};
|
|
6947
6908
|
|
|
6948
6909
|
//#endregion
|
|
6949
|
-
//#region ../seal/
|
|
6910
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/date-validator.mjs
|
|
6950
6911
|
/**
|
|
6951
6912
|
* Date validator class
|
|
6952
6913
|
*/
|
|
@@ -7566,7 +7527,7 @@ var DateValidator = class extends BaseValidator {
|
|
|
7566
7527
|
};
|
|
7567
7528
|
|
|
7568
7529
|
//#endregion
|
|
7569
|
-
//#region ../seal/
|
|
7530
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/literal-validator.mjs
|
|
7570
7531
|
/**
|
|
7571
7532
|
* Literal validator class
|
|
7572
7533
|
*
|
|
@@ -7582,7 +7543,6 @@ var DateValidator = class extends BaseValidator {
|
|
|
7582
7543
|
* v.literal(true) // type: true
|
|
7583
7544
|
*/
|
|
7584
7545
|
var LiteralValidator = class extends BaseValidator {
|
|
7585
|
-
values;
|
|
7586
7546
|
constructor(values, errorMessage) {
|
|
7587
7547
|
super();
|
|
7588
7548
|
this.values = values;
|
|
@@ -7629,7 +7589,7 @@ var LiteralValidator = class extends BaseValidator {
|
|
|
7629
7589
|
};
|
|
7630
7590
|
|
|
7631
7591
|
//#endregion
|
|
7632
|
-
//#region ../seal/
|
|
7592
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/discriminated-union-validator.mjs
|
|
7633
7593
|
/**
|
|
7634
7594
|
* Discriminated union validator — routes payloads by a shared discriminator field.
|
|
7635
7595
|
*
|
|
@@ -7662,10 +7622,6 @@ var LiteralValidator = class extends BaseValidator {
|
|
|
7662
7622
|
* @see `domains/seal/plans/2026-05-12-discriminated-union.md`
|
|
7663
7623
|
*/
|
|
7664
7624
|
var DiscriminatedUnionValidator = class DiscriminatedUnionValidator extends BaseValidator {
|
|
7665
|
-
discriminator;
|
|
7666
|
-
validators;
|
|
7667
|
-
/** Map from discriminator literal value → matching branch validator. */
|
|
7668
|
-
branches;
|
|
7669
7625
|
constructor(discriminator, validators) {
|
|
7670
7626
|
super();
|
|
7671
7627
|
this.discriminator = discriminator;
|
|
@@ -7751,7 +7707,7 @@ var DiscriminatedUnionValidator = class DiscriminatedUnionValidator extends Base
|
|
|
7751
7707
|
};
|
|
7752
7708
|
|
|
7753
7709
|
//#endregion
|
|
7754
|
-
//#region ../seal/
|
|
7710
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/number-validator.mjs
|
|
7755
7711
|
/**
|
|
7756
7712
|
* Number validator class - base for Int and Float validators
|
|
7757
7713
|
*/
|
|
@@ -8070,7 +8026,7 @@ var NumberValidator = class extends PrimitiveValidator {
|
|
|
8070
8026
|
};
|
|
8071
8027
|
|
|
8072
8028
|
//#endregion
|
|
8073
|
-
//#region ../seal/
|
|
8029
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/float-validator.mjs
|
|
8074
8030
|
/**
|
|
8075
8031
|
* Float validator class
|
|
8076
8032
|
*/
|
|
@@ -8082,7 +8038,7 @@ var FloatValidator = class extends NumberValidator {
|
|
|
8082
8038
|
};
|
|
8083
8039
|
|
|
8084
8040
|
//#endregion
|
|
8085
|
-
//#region ../seal/
|
|
8041
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/instanceof-validator.mjs
|
|
8086
8042
|
/**
|
|
8087
8043
|
* InstanceOf validator class
|
|
8088
8044
|
*
|
|
@@ -8100,7 +8056,6 @@ var FloatValidator = class extends NumberValidator {
|
|
|
8100
8056
|
* v.instanceof(MyClass) // type: MyClass
|
|
8101
8057
|
*/
|
|
8102
8058
|
var InstanceOfValidator = class extends BaseValidator {
|
|
8103
|
-
ctor;
|
|
8104
8059
|
constructor(ctor, errorMessage) {
|
|
8105
8060
|
super();
|
|
8106
8061
|
this.ctor = ctor;
|
|
@@ -8141,7 +8096,7 @@ var InstanceOfValidator = class extends BaseValidator {
|
|
|
8141
8096
|
};
|
|
8142
8097
|
|
|
8143
8098
|
//#endregion
|
|
8144
|
-
//#region ../seal/
|
|
8099
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/int-validator.mjs
|
|
8145
8100
|
/**
|
|
8146
8101
|
* Integer validator class
|
|
8147
8102
|
*/
|
|
@@ -8165,7 +8120,7 @@ var IntValidator = class extends NumberValidator {
|
|
|
8165
8120
|
};
|
|
8166
8121
|
|
|
8167
8122
|
//#endregion
|
|
8168
|
-
//#region ../seal/
|
|
8123
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/lazy-validator.mjs
|
|
8169
8124
|
/**
|
|
8170
8125
|
* Lazy validator — defers resolution of the inner validator until validate-time.
|
|
8171
8126
|
*
|
|
@@ -8207,8 +8162,6 @@ var IntValidator = class extends NumberValidator {
|
|
|
8207
8162
|
* @see `domains/seal/plans/2026-05-12-lazy-validator.md`
|
|
8208
8163
|
*/
|
|
8209
8164
|
var LazyValidator = class extends BaseValidator {
|
|
8210
|
-
thunk;
|
|
8211
|
-
resolvedValidator;
|
|
8212
8165
|
constructor(thunk) {
|
|
8213
8166
|
super();
|
|
8214
8167
|
this.thunk = thunk;
|
|
@@ -8248,7 +8201,7 @@ var LazyValidator = class extends BaseValidator {
|
|
|
8248
8201
|
};
|
|
8249
8202
|
|
|
8250
8203
|
//#endregion
|
|
8251
|
-
//#region ../seal/
|
|
8204
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/managed-validator.mjs
|
|
8252
8205
|
/**
|
|
8253
8206
|
* Managed field validator
|
|
8254
8207
|
*
|
|
@@ -8283,7 +8236,7 @@ var ManagedValidator = class extends ComputedValidator {
|
|
|
8283
8236
|
};
|
|
8284
8237
|
|
|
8285
8238
|
//#endregion
|
|
8286
|
-
//#region ../seal/
|
|
8239
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/numeric-validator.mjs
|
|
8287
8240
|
/**
|
|
8288
8241
|
* Numeric validator class - base for Int and Float validators either as number or string
|
|
8289
8242
|
*/
|
|
@@ -8304,7 +8257,7 @@ var NumericValidator = class extends NumberValidator {
|
|
|
8304
8257
|
};
|
|
8305
8258
|
|
|
8306
8259
|
//#endregion
|
|
8307
|
-
//#region ../seal/
|
|
8260
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/object-validator.mjs
|
|
8308
8261
|
/**
|
|
8309
8262
|
* Object validator class with generic schema type for proper type inference.
|
|
8310
8263
|
*
|
|
@@ -8322,13 +8275,12 @@ var NumericValidator = class extends NumberValidator {
|
|
|
8322
8275
|
* brand-aware widening tries to inspect the class type.
|
|
8323
8276
|
*/
|
|
8324
8277
|
var ObjectValidator = class ObjectValidator extends BaseValidator {
|
|
8325
|
-
schema;
|
|
8326
|
-
shouldAllowUnknown = false;
|
|
8327
|
-
allowedKeys = [];
|
|
8328
|
-
hasUnknownKeyRule = false;
|
|
8329
8278
|
constructor(schema, errorMessage) {
|
|
8330
8279
|
super();
|
|
8331
8280
|
this.schema = schema;
|
|
8281
|
+
this.shouldAllowUnknown = false;
|
|
8282
|
+
this.allowedKeys = [];
|
|
8283
|
+
this.hasUnknownKeyRule = false;
|
|
8332
8284
|
this.addMutableRule(objectRule, errorMessage);
|
|
8333
8285
|
}
|
|
8334
8286
|
/**
|
|
@@ -8728,7 +8680,7 @@ function removeUndefinedValues(obj, visited = /* @__PURE__ */ new WeakMap()) {
|
|
|
8728
8680
|
}
|
|
8729
8681
|
|
|
8730
8682
|
//#endregion
|
|
8731
|
-
//#region ../seal/
|
|
8683
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/record-validator.mjs
|
|
8732
8684
|
/**
|
|
8733
8685
|
* Record validator class - validates objects with dynamic keys and consistent value types
|
|
8734
8686
|
*
|
|
@@ -8744,7 +8696,6 @@ function removeUndefinedValues(obj, visited = /* @__PURE__ */ new WeakMap()) {
|
|
|
8744
8696
|
* ```
|
|
8745
8697
|
*/
|
|
8746
8698
|
var RecordValidator = class extends BaseValidator {
|
|
8747
|
-
valueValidator;
|
|
8748
8699
|
constructor(valueValidator, errorMessage) {
|
|
8749
8700
|
super();
|
|
8750
8701
|
this.valueValidator = valueValidator;
|
|
@@ -8830,7 +8781,7 @@ var RecordValidator = class extends BaseValidator {
|
|
|
8830
8781
|
};
|
|
8831
8782
|
|
|
8832
8783
|
//#endregion
|
|
8833
|
-
//#region ../seal/
|
|
8784
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/scalar-validator.mjs
|
|
8834
8785
|
/**
|
|
8835
8786
|
* Scalar validator class
|
|
8836
8787
|
*
|
|
@@ -8989,7 +8940,7 @@ var ScalarValidator = class extends PrimitiveValidator {
|
|
|
8989
8940
|
};
|
|
8990
8941
|
|
|
8991
8942
|
//#endregion
|
|
8992
|
-
//#region ../seal/
|
|
8943
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/string-validator.mjs
|
|
8993
8944
|
/**
|
|
8994
8945
|
* String validator class
|
|
8995
8946
|
*/
|
|
@@ -9427,7 +9378,7 @@ var StringValidator = class extends PrimitiveValidator {
|
|
|
9427
9378
|
};
|
|
9428
9379
|
|
|
9429
9380
|
//#endregion
|
|
9430
|
-
//#region ../seal/
|
|
9381
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/tuple-validator.mjs
|
|
9431
9382
|
/**
|
|
9432
9383
|
* Tuple validator class - validates fixed-length arrays with position-specific types
|
|
9433
9384
|
*
|
|
@@ -9444,7 +9395,6 @@ var StringValidator = class extends PrimitiveValidator {
|
|
|
9444
9395
|
* ```
|
|
9445
9396
|
*/
|
|
9446
9397
|
var TupleValidator = class extends BaseValidator {
|
|
9447
|
-
validators;
|
|
9448
9398
|
constructor(validators, errorMessage) {
|
|
9449
9399
|
super();
|
|
9450
9400
|
this.validators = validators;
|
|
@@ -9552,7 +9502,7 @@ var TupleValidator = class extends BaseValidator {
|
|
|
9552
9502
|
};
|
|
9553
9503
|
|
|
9554
9504
|
//#endregion
|
|
9555
|
-
//#region ../seal/
|
|
9505
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/validators/union-validator.mjs
|
|
9556
9506
|
/**
|
|
9557
9507
|
* Union validator class - validates value against multiple validator types
|
|
9558
9508
|
*
|
|
@@ -9611,7 +9561,7 @@ var UnionValidator = class extends BaseValidator {
|
|
|
9611
9561
|
};
|
|
9612
9562
|
|
|
9613
9563
|
//#endregion
|
|
9614
|
-
//#region ../seal/
|
|
9564
|
+
//#region ../node_modules/.pnpm/@warlock.js+seal@5.14.0/node_modules/@warlock.js/seal/esm/factory/validators.mjs
|
|
9615
9565
|
/**
|
|
9616
9566
|
* Seal factory object - creates instances of validators
|
|
9617
9567
|
*
|
|
@@ -9715,7 +9665,7 @@ const v = {
|
|
|
9715
9665
|
};
|
|
9716
9666
|
|
|
9717
9667
|
//#endregion
|
|
9718
|
-
//#region ../herald/
|
|
9668
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/drivers/rabbitmq/rabbitmq-channel.mjs
|
|
9719
9669
|
/**
|
|
9720
9670
|
* RabbitMQ Channel Implementation
|
|
9721
9671
|
*
|
|
@@ -9724,15 +9674,12 @@ const v = {
|
|
|
9724
9674
|
* @template TPayload - The typed payload
|
|
9725
9675
|
*/
|
|
9726
9676
|
var RabbitMQChannel = class {
|
|
9727
|
-
name;
|
|
9728
|
-
options;
|
|
9729
|
-
amqpChannel;
|
|
9730
|
-
subscriptions = /* @__PURE__ */ new Map();
|
|
9731
|
-
asserted = false;
|
|
9732
9677
|
/**
|
|
9733
9678
|
* Create a new RabbitMQ channel
|
|
9734
9679
|
*/
|
|
9735
9680
|
constructor(name, amqpChannel, options) {
|
|
9681
|
+
this.subscriptions = /* @__PURE__ */ new Map();
|
|
9682
|
+
this.asserted = false;
|
|
9736
9683
|
this.name = name;
|
|
9737
9684
|
this.amqpChannel = amqpChannel;
|
|
9738
9685
|
this.options = options ?? {};
|
|
@@ -10083,12 +10030,8 @@ var RabbitMQChannel = class {
|
|
|
10083
10030
|
* RabbitMQ Subscription Implementation
|
|
10084
10031
|
*/
|
|
10085
10032
|
var RabbitMQSubscription = class {
|
|
10086
|
-
id;
|
|
10087
|
-
channel;
|
|
10088
|
-
consumerTag;
|
|
10089
|
-
amqpChannel;
|
|
10090
|
-
_isActive = true;
|
|
10091
10033
|
constructor(id, channel, consumerTag, amqpChannel) {
|
|
10034
|
+
this._isActive = true;
|
|
10092
10035
|
this.id = id;
|
|
10093
10036
|
this.channel = channel;
|
|
10094
10037
|
this.consumerTag = consumerTag;
|
|
@@ -10111,7 +10054,7 @@ var RabbitMQSubscription = class {
|
|
|
10111
10054
|
};
|
|
10112
10055
|
|
|
10113
10056
|
//#endregion
|
|
10114
|
-
//#region ../herald/
|
|
10057
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/drivers/rabbitmq/rabbitmq-driver.mjs
|
|
10115
10058
|
/**
|
|
10116
10059
|
* The single amqplib load, shared by every caller.
|
|
10117
10060
|
*
|
|
@@ -10182,20 +10125,19 @@ function loadAmqplibModule() {
|
|
|
10182
10125
|
* ```
|
|
10183
10126
|
*/
|
|
10184
10127
|
var RabbitMQDriver = class {
|
|
10185
|
-
name = "rabbitmq";
|
|
10186
|
-
consumers = [];
|
|
10187
|
-
options;
|
|
10188
|
-
events = new node_events.EventEmitter();
|
|
10189
|
-
channels = /* @__PURE__ */ new Map();
|
|
10190
|
-
connection = null;
|
|
10191
|
-
amqpChannel = null;
|
|
10192
|
-
_isConnected = false;
|
|
10193
10128
|
/**
|
|
10194
10129
|
* Create a new RabbitMQ driver
|
|
10195
10130
|
*
|
|
10196
10131
|
* @param options - RabbitMQ connection options
|
|
10197
10132
|
*/
|
|
10198
10133
|
constructor(options) {
|
|
10134
|
+
this.name = "rabbitmq";
|
|
10135
|
+
this.consumers = [];
|
|
10136
|
+
this.events = new node_events.EventEmitter();
|
|
10137
|
+
this.channels = /* @__PURE__ */ new Map();
|
|
10138
|
+
this.connection = null;
|
|
10139
|
+
this.amqpChannel = null;
|
|
10140
|
+
this._isConnected = false;
|
|
10199
10141
|
this.options = options;
|
|
10200
10142
|
}
|
|
10201
10143
|
/**
|
|
@@ -10407,7 +10349,7 @@ var RabbitMQDriver = class {
|
|
|
10407
10349
|
};
|
|
10408
10350
|
|
|
10409
10351
|
//#endregion
|
|
10410
|
-
//#region ../herald/
|
|
10352
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/communicators/broker.mjs
|
|
10411
10353
|
/**
|
|
10412
10354
|
* Broker - wrapper around a driver with metadata
|
|
10413
10355
|
*
|
|
@@ -10426,12 +10368,6 @@ var RabbitMQDriver = class {
|
|
|
10426
10368
|
* ```
|
|
10427
10369
|
*/
|
|
10428
10370
|
var Broker = class {
|
|
10429
|
-
/** Unique name identifying this broker */
|
|
10430
|
-
name;
|
|
10431
|
-
/** The underlying driver */
|
|
10432
|
-
driver;
|
|
10433
|
-
/** Whether this is the default broker */
|
|
10434
|
-
isDefault;
|
|
10435
10371
|
/**
|
|
10436
10372
|
* Create a new Broker
|
|
10437
10373
|
*
|
|
@@ -10515,12 +10451,11 @@ var Broker = class {
|
|
|
10515
10451
|
};
|
|
10516
10452
|
|
|
10517
10453
|
//#endregion
|
|
10518
|
-
//#region ../herald/
|
|
10454
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/communicators/broker-registry.mjs
|
|
10519
10455
|
/**
|
|
10520
10456
|
* Error thrown when a broker is not found
|
|
10521
10457
|
*/
|
|
10522
10458
|
var MissingBrokerError = class extends Error {
|
|
10523
|
-
brokerName;
|
|
10524
10459
|
constructor(message, brokerName) {
|
|
10525
10460
|
super(message);
|
|
10526
10461
|
this.name = "MissingBrokerError";
|
|
@@ -10555,9 +10490,10 @@ var MissingBrokerError = class extends Error {
|
|
|
10555
10490
|
* ```
|
|
10556
10491
|
*/
|
|
10557
10492
|
var BrokerRegistry = class {
|
|
10558
|
-
|
|
10559
|
-
|
|
10560
|
-
|
|
10493
|
+
constructor() {
|
|
10494
|
+
this.sources = /* @__PURE__ */ new Map();
|
|
10495
|
+
this.events = new node_events.EventEmitter();
|
|
10496
|
+
}
|
|
10561
10497
|
/**
|
|
10562
10498
|
* Register a new broker
|
|
10563
10499
|
*
|
|
@@ -10714,7 +10650,7 @@ var BrokerRegistry = class {
|
|
|
10714
10650
|
const brokerRegistry = new BrokerRegistry();
|
|
10715
10651
|
|
|
10716
10652
|
//#endregion
|
|
10717
|
-
//#region ../herald/
|
|
10653
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/utils/connect-to-broker.mjs
|
|
10718
10654
|
/**
|
|
10719
10655
|
* Connect to a message broker and register it.
|
|
10720
10656
|
*
|
|
@@ -10776,7 +10712,7 @@ async function connectToBroker(options) {
|
|
|
10776
10712
|
switch (driverType) {
|
|
10777
10713
|
case "rabbitmq": {
|
|
10778
10714
|
const rabbitOptions = options;
|
|
10779
|
-
const { RabbitMQDriver } = await Promise.resolve().then(() => require("./rabbitmq-driver-
|
|
10715
|
+
const { RabbitMQDriver } = await Promise.resolve().then(() => require("./rabbitmq-driver-DysU9q_t.cjs"));
|
|
10780
10716
|
driver = new RabbitMQDriver(rabbitOptions);
|
|
10781
10717
|
break;
|
|
10782
10718
|
}
|
|
@@ -10877,7 +10813,7 @@ async function subscribeConsumer(Consumer) {
|
|
|
10877
10813
|
}
|
|
10878
10814
|
|
|
10879
10815
|
//#endregion
|
|
10880
|
-
//#region ../herald/
|
|
10816
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/decorators/consumable.mjs
|
|
10881
10817
|
const pendingSubscribers = /* @__PURE__ */ new Set();
|
|
10882
10818
|
/**
|
|
10883
10819
|
* Register the consumer to the broker
|
|
@@ -10908,7 +10844,7 @@ brokerRegistry.on("connected", (broker) => {
|
|
|
10908
10844
|
});
|
|
10909
10845
|
|
|
10910
10846
|
//#endregion
|
|
10911
|
-
//#region ../herald/
|
|
10847
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/message-managers/event-consumer.mjs
|
|
10912
10848
|
/**
|
|
10913
10849
|
* This class is used to be part of the Herald Event Consumer Manager.
|
|
10914
10850
|
* It should be used to consume events from Either RabbitMQ or Kafka through Herald
|
|
@@ -10916,11 +10852,6 @@ brokerRegistry.on("connected", (broker) => {
|
|
|
10916
10852
|
* It's highly recommended using it instead of declaring manual channel namd and subscribing to event
|
|
10917
10853
|
*/
|
|
10918
10854
|
var EventConsumer = class {
|
|
10919
|
-
/**
|
|
10920
|
-
* Event name
|
|
10921
|
-
*/
|
|
10922
|
-
static eventName;
|
|
10923
|
-
static _consumerId;
|
|
10924
10855
|
static get consumerId() {
|
|
10925
10856
|
if (!this._consumerId) this._consumerId = (0, crypto.randomUUID)();
|
|
10926
10857
|
return this._consumerId;
|
|
@@ -10929,18 +10860,6 @@ var EventConsumer = class {
|
|
|
10929
10860
|
return this.constructor.eventName;
|
|
10930
10861
|
}
|
|
10931
10862
|
/**
|
|
10932
|
-
* Min version accepted to be consumed by this class
|
|
10933
|
-
*/
|
|
10934
|
-
static minVersion;
|
|
10935
|
-
/**
|
|
10936
|
-
* Max version accepted to be consumed by this class
|
|
10937
|
-
*/
|
|
10938
|
-
static maxVersion;
|
|
10939
|
-
/**
|
|
10940
|
-
* Payload validation to auto reject the received event before accessing it in the handle method
|
|
10941
|
-
*/
|
|
10942
|
-
schema;
|
|
10943
|
-
/**
|
|
10944
10863
|
* Determine whether this is accepted version to be used by this consumer
|
|
10945
10864
|
*/
|
|
10946
10865
|
static isAcceptedVersion(version) {
|
|
@@ -10961,8 +10880,13 @@ var EventConsumer = class {
|
|
|
10961
10880
|
*/
|
|
10962
10881
|
function defineConsumer(eventName, options) {
|
|
10963
10882
|
const Class = class AnnouncedConsumer extends EventConsumer {
|
|
10964
|
-
|
|
10965
|
-
|
|
10883
|
+
constructor(..._args) {
|
|
10884
|
+
super(..._args);
|
|
10885
|
+
this.schema = options.schema;
|
|
10886
|
+
}
|
|
10887
|
+
static {
|
|
10888
|
+
this.eventName = eventName;
|
|
10889
|
+
}
|
|
10966
10890
|
async handle(payload, event) {
|
|
10967
10891
|
if (options.validate) {
|
|
10968
10892
|
const result = await options.validate(payload);
|
|
@@ -10976,25 +10900,8 @@ function defineConsumer(eventName, options) {
|
|
|
10976
10900
|
}
|
|
10977
10901
|
|
|
10978
10902
|
//#endregion
|
|
10979
|
-
//#region ../herald/
|
|
10903
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/message-managers/event-message.mjs
|
|
10980
10904
|
var EventMessage = class {
|
|
10981
|
-
data;
|
|
10982
|
-
/**
|
|
10983
|
-
* Event version
|
|
10984
|
-
*/
|
|
10985
|
-
version;
|
|
10986
|
-
/**
|
|
10987
|
-
* Additional metadata (if any)
|
|
10988
|
-
*/
|
|
10989
|
-
metadata;
|
|
10990
|
-
/**
|
|
10991
|
-
* Event Message id
|
|
10992
|
-
*/
|
|
10993
|
-
messageId;
|
|
10994
|
-
/**
|
|
10995
|
-
* Schema of payload that will be used to determine whether this event should be published
|
|
10996
|
-
*/
|
|
10997
|
-
schema;
|
|
10998
10905
|
/**
|
|
10999
10906
|
* Data that will be sent with the event (Payload)
|
|
11000
10907
|
*/
|
|
@@ -11044,10 +10951,10 @@ var EventMessage = class {
|
|
|
11044
10951
|
*/
|
|
11045
10952
|
function defineEvent(eventName, options = {}) {
|
|
11046
10953
|
return class AnnouncedEvent extends EventMessage {
|
|
11047
|
-
eventName = eventName;
|
|
11048
|
-
schema = options.schema;
|
|
11049
10954
|
constructor(data) {
|
|
11050
10955
|
super(data);
|
|
10956
|
+
this.eventName = eventName;
|
|
10957
|
+
this.schema = options.schema;
|
|
11051
10958
|
}
|
|
11052
10959
|
toJSON() {
|
|
11053
10960
|
if (!options.toJSON) return this.data;
|
|
@@ -11057,7 +10964,7 @@ function defineEvent(eventName, options = {}) {
|
|
|
11057
10964
|
}
|
|
11058
10965
|
|
|
11059
10966
|
//#endregion
|
|
11060
|
-
//#region ../herald/
|
|
10967
|
+
//#region ../node_modules/.pnpm/@warlock.js+herald@5.14.0_@_3471b04ef54e023074af1a6880918ea2/node_modules/@warlock.js/herald/esm/use-case-broadcast.mjs
|
|
11061
10968
|
/**
|
|
11062
10969
|
* Channel adapter that publishes use-case broadcast events onto a herald broker.
|
|
11063
10970
|
*
|
|
@@ -11090,6 +10997,7 @@ exports.EventMessage = EventMessage;
|
|
|
11090
10997
|
exports.MissingBrokerError = MissingBrokerError;
|
|
11091
10998
|
exports.RabbitMQChannel = RabbitMQChannel;
|
|
11092
10999
|
exports.RabbitMQDriver = RabbitMQDriver;
|
|
11000
|
+
exports.RabbitMQDriver$1 = RabbitMQDriver;
|
|
11093
11001
|
exports.brokerRegistry = brokerRegistry;
|
|
11094
11002
|
exports.connectToBroker = connectToBroker;
|
|
11095
11003
|
exports.defineConsumer = defineConsumer;
|
|
@@ -11100,4 +11008,4 @@ exports.heraldChannel = heraldChannel;
|
|
|
11100
11008
|
exports.pendingSubscribers = pendingSubscribers;
|
|
11101
11009
|
exports.publishEvent = publishEvent;
|
|
11102
11010
|
exports.subscribeConsumer = subscribeConsumer;
|
|
11103
|
-
//# sourceMappingURL=
|
|
11011
|
+
//# sourceMappingURL=esm-Ct3gwkEe.cjs.map
|