@beehexa/hexasync-ai-toolkit 0.0.0-stage → 2610.12.3
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/.claude-plugin/marketplace.json +31 -0
- package/.claude-plugin/plugin.json +19 -0
- package/.codex-plugin/plugin.json +37 -0
- package/.cursor-plugin/mcp.json +12 -0
- package/.cursor-plugin/plugin.json +20 -0
- package/.mcp.json +11 -0
- package/README.md +62 -2
- package/dist/cli.js +2935 -0
- package/gemini-extension.json +14 -0
- package/openclaw.extension.mjs +9 -0
- package/openclaw.plugin.json +14 -0
- package/package.json +69 -3
- package/plugin.json +21 -0
- package/skills/hexasync-connections/SKILL.md +36 -0
- package/skills/hexasync-connections/references/INDEX.md +33 -0
- package/skills/hexasync-connections/references/INSTALL.md +35 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.api-recovery.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.authentication-and-setup-steps.md +64 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.captured-call-and-authenticated-composition.md +96 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.compiled-connector-hooks.md +23 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-authentication.md +36 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-rate-limiting.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.fields.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.framework-understood-connection-option-catalogue.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.how-a-step-finds-its-connection.md +54 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.md +84 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.never-invent-a-systemcode.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.one-connection-one-credential-scope.md +16 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.related.md +9 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.resolution-and-transport-scope.md +8 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.the-self-connector.md +22 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-collection-both-accepted.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-provider-with-defined-precedence.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.unsupported-authentication.md +26 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.untyped-options-generic-validity-is-not-provider-completeness.md +192 -0
- package/skills/hexasync-error-handling/SKILL.md +47 -0
- package/skills/hexasync-error-handling/references/INDEX.md +22 -0
- package/skills/hexasync-error-handling/references/INSTALL.md +35 -0
- package/skills/hexasync-error-handling/references/routing.NEXT.md +246 -0
- package/skills/hexasync-error-handling/references/steps.EXCEPTION.md +139 -0
- package/skills/hexasync-error-handling/references/steps.Error.md +296 -0
- package/skills/hexasync-expressions/SKILL.md +53 -0
- package/skills/hexasync-expressions/references/INDEX.md +45 -0
- package/skills/hexasync-expressions/references/INSTALL.md +35 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md +41 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md +10 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md +89 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md +28 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md +47 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.md +21 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md +44 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.related.md +5 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +110 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-array-enum-item-and-numeric-functions.md +17 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-date-functions.md +19 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-object-functions.md +13 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-string-functions.md +45 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md +27 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md +15 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.standard-engine-versus-host-custom-functions.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.visibility-and-call-site-constraints.md +8 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.shared-stepiterator-roots.md +23 -0
- package/skills/hexasync-expressions/references/steps.JSONata.md +200 -0
- package/skills/hexasync-expressions/references/steps.Liquid.md +95 -0
- package/skills/hexasync-expressions/references/steps.Scriban.md +156 -0
- package/skills/hexasync-field-mapping/SKILL.md +60 -0
- package/skills/hexasync-field-mapping/references/INDEX.md +54 -0
- package/skills/hexasync-field-mapping/references/INSTALL.md +35 -0
- package/skills/hexasync-field-mapping/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.md +62 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-metrics-reports/SKILL.md +55 -0
- package/skills/hexasync-metrics-reports/references/INDEX.md +41 -0
- package/skills/hexasync-metrics-reports/references/INSTALL.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.best-practices.md +13 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.choosing-a-scoremode.md +44 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.common-metadata-properties.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.contract.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.digest-message-templates.md +31 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.facet-properties.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.fields.md +551 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.health-scores.md +69 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.md +20 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md +57 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-kinds-reference.md +574 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.related.md +9 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.sensible-configuration.md +30 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.severity-scoring.md +89 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.syntax.md +18 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.when-to-use.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.worked-example-from-rows-to-health-score.md +108 -0
- package/skills/hexasync-metrics-reports/references/reports.REPORTS.md +460 -0
- package/skills/hexasync-metrics-reports/references/steps.METRIC_QUERY.md +171 -0
- package/skills/hexasync-metrics-reports/references/steps.QUERY_METRICS.md +400 -0
- package/skills/hexasync-pullers/SKILL.md +44 -0
- package/skills/hexasync-pullers/references/INDEX.md +50 -0
- package/skills/hexasync-pullers/references/INSTALL.md +35 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.api-error-classification.md +26 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entity-classification.md +52 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entry-context-and-transitions.md +12 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.error-and-final-handling.md +10 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.generalisation.md +17 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.md +36 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.overview.md +77 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.page-termination-and-the-four-platform-guards.md +49 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.paging-is-the-authors-job.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md +23 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-afterpullsteps.md +56 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-beforepullsteps.md +43 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-contracts.md +6 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-finalsteps.md +48 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-onerrorsteps.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-pullsteps.md +66 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-steps.md +46 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.probe-discipline.md +13 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.property-reference.md +561 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.puller-completeness-contract.md +88 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.related.md +11 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.stamp--sweep.md +21 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.symptom--cause--rule.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-resume-computation.md +19 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-six-slot-specificity-checklist--once-per-endpoint.md +28 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.watermark-trustworthiness.md +15 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-legacy-paged-pull.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md +74 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-opaque-token-api.md +14 -0
- package/skills/hexasync-pullers/references/steps.PULLER.md +187 -0
- package/skills/hexasync-pushers/SKILL.md +60 -0
- package/skills/hexasync-pushers/references/INDEX.md +47 -0
- package/skills/hexasync-pushers/references/INSTALL.md +35 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.association-transform-routing.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.best-practices.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md +27 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.fields.md +332 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.four-step-phases.md +17 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.indirect-pushers.md +36 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.md +85 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.minimal-configuration.md +45 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.ordinary-result-contract.md +136 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-afterpushsteps.md +34 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-beforepushsteps.md +33 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-afterpushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-beforepushsteps.md +46 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-pushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-contracts.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-finalsteps.md +99 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-pushsteps.md +50 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.related.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md +56 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.the-two-identities-a-push-step-reads-off-the-item.md +18 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.troubleshooting.md +16 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-direct-push-with-dependency.md +66 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-indirect-push.md +35 -0
- package/skills/hexasync-pushers/references/steps.PUSHER.md +238 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_STATUS.md +201 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +359 -0
- package/skills/hexasync-query-dsl/SKILL.md +67 -0
- package/skills/hexasync-query-dsl/references/INDEX.md +60 -0
- package/skills/hexasync-query-dsl/references/INSTALL.md +35 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.best-practice.md +6 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md +48 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-quick-reference.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +123 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.md +25 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.query-arguments.md +80 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.value-binding-and-casts.md +54 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md +52 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.bitwise-predicates.md +60 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.md +16 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.membership-predicates.md +44 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md +87 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md +85 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.property-reference.md +428 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.quick-reference-syntax-variants-and-how-to-choose.md +363 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md +104 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.sensible-configuration.md +24 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md +57 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md +102 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.join-types.md +91 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.md +10 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +95 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +39 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.when-to-use.md +9 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.where-it-is-used.md +141 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_MANY.md +510 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_SINGLE.md +491 -0
- package/skills/hexasync-query-dsl/references/steps.SQL.md +362 -0
- package/skills/hexasync-query-dsl/references/steps.SQL_PROXY.md +315 -0
- package/skills/hexasync-startup-tasks-scheduling/SKILL.md +44 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INDEX.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +35 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.contract.md +6 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.legacy-target-tasks.md +124 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.md +15 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.metric-defaults.md +73 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md +9 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.scheduler-metadata.md +324 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.sensible-configuration.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.shape.md +108 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.syntax.md +33 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.when-to-use.md +10 -0
- package/skills/hexasync-startup-tasks-scheduling/references/steps.ENQUEUER.md +234 -0
- package/skills/hexasync-steps-api-http/SKILL.md +61 -0
- package/skills/hexasync-steps-api-http/references/INDEX.md +73 -0
- package/skills/hexasync-steps-api-http/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.exact-authored-shape.md +37 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md +13 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.field-contract.md +60 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.md +49 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.members-encoded-inside-yaml-expression-strings.md +18 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parsejson-boundary.md +14 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-examples.md +77 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-groups.md +203 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md +80 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.status-narrowing.md +29 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.the-eight-parser-ids.md +17 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.troubleshooting.md +13 -0
- package/skills/hexasync-steps-api-http/references/routing.NEXT.md +246 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-pagination.md +44 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-parsing-and-outputs.md +43 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-status.md +37 -0
- package/skills/hexasync-steps-api-http/references/steps.API.best-practices.md +14 -0
- package/skills/hexasync-steps-api-http/references/steps.API.contract.md +64 -0
- package/skills/hexasync-steps-api-http/references/steps.API.curl-request-intake.md +31 -0
- package/skills/hexasync-steps-api-http/references/steps.API.failure-handling.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.API.fields.md +457 -0
- package/skills/hexasync-steps-api-http/references/steps.API.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.API.public-webhook-binding.md +17 -0
- package/skills/hexasync-steps-api-http/references/steps.API.related.md +12 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-builders.md +206 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-pipeline-and-precedence.md +13 -0
- package/skills/hexasync-steps-api-http/references/steps.API.sensitive-headers-and-diagnostic-trail.md +25 -0
- package/skills/hexasync-steps-api-http/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md +103 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.connection-binding.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.cross-cutting-step-flags.md +76 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.execution-budgets.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-results-graceful-returns-and-run-error-data.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.flow-entry.md +8 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.md +22 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.one-canonical-workflow-component.md +79 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.payload-selection-and-thrown-error-routing.md +19 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.shape.md +300 -0
- package/skills/hexasync-steps-control-data/SKILL.md +59 -0
- package/skills/hexasync-steps-control-data/references/INDEX.md +133 -0
- package/skills/hexasync-steps-control-data/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-control-data/references/steps.BASE64_TO_MIME_TYPE.md +101 -0
- package/skills/hexasync-steps-control-data/references/steps.Begin.md +80 -0
- package/skills/hexasync-steps-control-data/references/steps.CACHE.md +221 -0
- package/skills/hexasync-steps-control-data/references/steps.Composite.md +87 -0
- package/skills/hexasync-steps-control-data/references/steps.DIRECT_INDEX.md +303 -0
- package/skills/hexasync-steps-control-data/references/steps.DOWNLOAD_CSV.md +475 -0
- package/skills/hexasync-steps-control-data/references/steps.EXCEL_READER.md +323 -0
- package/skills/hexasync-steps-control-data/references/steps.End.md +100 -0
- package/skills/hexasync-steps-control-data/references/steps.GET_KEY_VALUE.md +167 -0
- package/skills/hexasync-steps-control-data/references/steps.GraphQL.md +88 -0
- package/skills/hexasync-steps-control-data/references/steps.IF.md +284 -0
- package/skills/hexasync-steps-control-data/references/steps.IGNORE_ITEM.md +170 -0
- package/skills/hexasync-steps-control-data/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-control-data/references/steps.INVALIDATE_CACHE.md +175 -0
- package/skills/hexasync-steps-control-data/references/steps.LOOKUP_STEP.md +146 -0
- package/skills/hexasync-steps-control-data/references/steps.OData.md +133 -0
- package/skills/hexasync-steps-control-data/references/steps.PUBLISH_EVENT.md +274 -0
- package/skills/hexasync-steps-control-data/references/steps.QueryDSL.md +126 -0
- package/skills/hexasync-steps-control-data/references/steps.REMOVE_DATA.md +264 -0
- package/skills/hexasync-steps-control-data/references/steps.RESET_ITEM.md +164 -0
- package/skills/hexasync-steps-control-data/references/steps.RESOLVE_RAW_DATA.md +180 -0
- package/skills/hexasync-steps-control-data/references/steps.Restful.md +124 -0
- package/skills/hexasync-steps-control-data/references/steps.SEED_DATA.md +255 -0
- package/skills/hexasync-steps-control-data/references/steps.SET_KEY_VALUE.md +168 -0
- package/skills/hexasync-steps-control-data/references/steps.SLEEP.md +207 -0
- package/skills/hexasync-steps-control-data/references/steps.SWITCH.md +194 -0
- package/skills/hexasync-steps-control-data/references/steps.TRACK_FOR_REMOVAL.md +253 -0
- package/skills/hexasync-steps-control-data/references/steps.UPDATE_TASK_DATA_STATUS.md +247 -0
- package/skills/hexasync-steps-control-data/references/steps.VALUES.md +149 -0
- package/skills/hexasync-steps-control-data/references/steps.VERIFY_CACHED.md +172 -0
- package/skills/hexasync-steps-control-data/references/steps.cURL.md +78 -0
- package/skills/hexasync-tables-tasks-objects/SKILL.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/INDEX.md +78 -0
- package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.authoring-dependencies.md +80 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.best-practices-and-pitfalls.md +22 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.fields.md +430 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.related.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.using-resolved-prerequisite-data.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/objectAssociations.OBJECT-ASSOCIATIONS.md +340 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.best-practices-and-pitfalls.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dataprocessing.md +88 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dependencies.md +27 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.description.md +37 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.enqueue.md +179 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.fromconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.id.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignorechange.md +31 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignoreremoval.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.integrationtype.md +26 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.isdirtyremovable.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.md +52 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metricgroups.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metrics.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.name.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.newtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.oldtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.priority.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.puller.md +55 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.pusher.md +24 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.queuer.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.toconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.type.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.valuetablename.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.viewname.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.visible.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.md +64 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.minimal-declaration.md +32 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.related.md +8 -0
- package/skills/hexasync-tables-tasks-objects/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.md +62 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.fields.md +357 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.md +14 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.related.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.status-and-row-clocks.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.system-column-contract.md +44 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.systemcolumns-presentation.md +99 -0
- package/skills/hexasync-templates/SKILL.md +67 -0
- package/skills/hexasync-templates/references/AI-INDEX.md +125 -0
- package/skills/hexasync-templates/references/INDEX.md +73 -0
- package/skills/hexasync-templates/references/INSTALL.md +35 -0
- package/skills/hexasync-templates/references/KB-INDEX.md +128 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composed-and-render-only-metadata.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composition-fields.md +44 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.deployment-descriptor-retirement-and-current-composition.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.md +32 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.minimal-worker-facing-profile.md +34 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-references.md +54 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.author.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connector-definition-document.md +356 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connectors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.contributors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.creationsteps.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.databasename.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.dependencies.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.description.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.externals.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.browser.md +101 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form-field-fields.md +238 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form.md +65 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.get_local_storage--set_local_storage.md +114 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.health_check_worker.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.if--switch.md +148 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.integration_app_management.md +115 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.jsonata--liquid.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +109 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.nextbranch-fields.md +93 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.output-fields.md +82 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.read_queries.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.redirect.md +80 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.select_google_drive.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.show_info.md +65 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.single_choice_form--multiple_choice_form.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +233 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.wait.md +79 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.id.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.legacy-roots--do-not-author.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.metricgroups.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.name.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.noschedules.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objectassociations.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objects.md +23 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pullers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pushers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.recommendations.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.reports.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.startuptasks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.tables.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.thumbnail.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.transformations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.validations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.variables.md +16 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.webhooks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.recommendation-selection.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.reference-composition-across-run-and-render-scope.md +29 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md +21 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.related.md +5 -0
- package/skills/hexasync-transformations/SKILL.md +51 -0
- package/skills/hexasync-transformations/references/INDEX.md +40 -0
- package/skills/hexasync-transformations/references/INSTALL.md +35 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-validations/SKILL.md +52 -0
- package/skills/hexasync-validations/references/INDEX.md +27 -0
- package/skills/hexasync-validations/references/INSTALL.md +35 -0
- package/skills/hexasync-validations/references/steps.CHECK_FORMAT.md +196 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.authoring-validations.md +5 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.best-practices.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.composing-rules.md +37 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.example-required-text-plus-a-numeric-range.md +33 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.fields.md +118 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md +27 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.md +57 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.metadata-members.md +134 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.not-the-query-dsl.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.operators.md +406 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.troubleshooting.md +13 -0
- package/skills/hexasync-webhooks/SKILL.md +62 -0
- package/skills/hexasync-webhooks/references/INDEX.md +46 -0
- package/skills/hexasync-webhooks/references/INSTALL.md +35 -0
- package/skills/hexasync-webhooks/references/steps.FORWARD.md +130 -0
- package/skills/hexasync-webhooks/references/steps.WEBHOOK_FORWARD.md +259 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.best-practices.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.gateway-mcp-webhook-workflow.md +206 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.md +62 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.message-shape.md +29 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-finalsteps.md +59 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-pullsteps.md +72 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.related.md +10 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.routing-and-boundary-ownership.md +30 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.shape.md +37 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.autoenqueue.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.datafilter.md +68 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.dataparser.md +268 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.id-target.md +21 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchfilter-and-matchpattern.md +77 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchremovefilter-and-matchremovepattern.md +41 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.md +20 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectid-deprecated.md +25 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectids.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.options.md +67 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.pullsteps.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.rejected-target-fields-finalsteps-and-responsefilters.md +8 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.troubleshooting.md +17 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.webhook-properties.md +117 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.worked-example-webhook-direct-index-plus-steps.md +71 -0
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
# `CHECK_FORMAT` — Check Format
|
|
2
|
+
|
|
3
|
+
> Addressable through MCP as **`hexasync://docs/steps/CHECK_FORMAT`**.
|
|
4
|
+
|
|
5
|
+
## Contract
|
|
6
|
+
|
|
7
|
+
`CHECK_FORMAT` evaluates a response-filter map against the current context after checking that three named Scriban filters — `__idx`, `item_id` and `is_ignore` — have non-blank expressions. It returns the evaluated filter results at `_outputs.<KEY>`. It decides nothing by itself: it does not validate IDs, change item status or stop the flow; later steps or routing must consume the results. Place it in a workflow `steps` list; shared envelope behavior is described in [the step envelope](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component).
|
|
8
|
+
|
|
9
|
+
### Syntax
|
|
10
|
+
|
|
11
|
+
```yaml
|
|
12
|
+
steps:
|
|
13
|
+
- key: CHECK_ROW
|
|
14
|
+
displayType: CHECK_FORMAT
|
|
15
|
+
data:
|
|
16
|
+
responseFilters: # required
|
|
17
|
+
scriban: # required
|
|
18
|
+
__idx: {expression: <scriban>} # required, non-blank
|
|
19
|
+
item_id: {expression: <scriban>} # required, non-blank
|
|
20
|
+
is_ignore: {expression: <scriban>} # required, non-blank
|
|
21
|
+
<otherName>: {expression: <scriban>} # optional extra filters
|
|
22
|
+
jsonata: # optional; other parser sections follow the shared response-filter grammar
|
|
23
|
+
<name>: {expression: <jsonata>}
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### When to use
|
|
27
|
+
|
|
28
|
+
- Use when a workflow needs a standard trio of values per record — a position/existence marker, a record identity and an ignore decision — computed in one place for later steps to branch on.
|
|
29
|
+
- Do not use it for profile or field validation rules; use [validations](validations.VALIDATIONS.md).
|
|
30
|
+
- Do not use it when you only need to compute values; a plain [Scriban](hexasync://docs/steps/Scriban#contract) or [JSONata](hexasync://docs/steps/JSONata#contract) step is simpler and returns typed values.
|
|
31
|
+
|
|
32
|
+
### Sensible configuration
|
|
33
|
+
|
|
34
|
+
Compute each value from earlier outputs, then compare `is_ignore` explicitly in the next step, because Scriban filter results are strings.
|
|
35
|
+
|
|
36
|
+
```yaml
|
|
37
|
+
steps:
|
|
38
|
+
- key: LOAD_ORDER
|
|
39
|
+
rootStep: true
|
|
40
|
+
displayType: VALUES
|
|
41
|
+
data:
|
|
42
|
+
values: [{orderId: A-1, valid: true}]
|
|
43
|
+
next: CHECK_ROW
|
|
44
|
+
- key: CHECK_ROW
|
|
45
|
+
displayType: CHECK_FORMAT
|
|
46
|
+
data:
|
|
47
|
+
responseFilters:
|
|
48
|
+
scriban:
|
|
49
|
+
__idx: {expression: '0'}
|
|
50
|
+
item_id: {expression: '{{ _outputs.LOAD_ORDER.items[0].orderId }}'}
|
|
51
|
+
is_ignore: {expression: '{{ !_outputs.LOAD_ORDER.items[0].valid }}'}
|
|
52
|
+
next: DECIDE
|
|
53
|
+
- key: DECIDE
|
|
54
|
+
displayType: JSONata
|
|
55
|
+
data:
|
|
56
|
+
ignore: {expression: '_outputs.CHECK_ROW.is_ignore = "true"'}
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Fields
|
|
60
|
+
|
|
61
|
+
### `data.responseFilters`
|
|
62
|
+
|
|
63
|
+
Syntax: `responseFilters: <object>`
|
|
64
|
+
|
|
65
|
+
`responseFilters: <object>` — required; no default.
|
|
66
|
+
|
|
67
|
+
The named filters to evaluate, using the shared [response-filter grammar](hexasync://docs/responseFilters/RESPONSE-FILTERS/exact-authored-shape): parser sections (`scriban`, `jsonata`, …) mapping result names to `{expression: ...}`. Every section is evaluated; the `scriban` section is evaluated last, so a Scriban result overwrites a same-named result from another section.
|
|
68
|
+
|
|
69
|
+
Variant 1 — required Scriban section only:
|
|
70
|
+
|
|
71
|
+
```yaml
|
|
72
|
+
steps:
|
|
73
|
+
- key: CHECK_ROW
|
|
74
|
+
displayType: CHECK_FORMAT
|
|
75
|
+
data:
|
|
76
|
+
responseFilters: # required; no default
|
|
77
|
+
scriban:
|
|
78
|
+
__idx: {expression: '0'}
|
|
79
|
+
item_id: {expression: A-1}
|
|
80
|
+
is_ignore: {expression: 'false'}
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Variant 2 — with an extra JSONata section for a typed value:
|
|
84
|
+
|
|
85
|
+
```yaml
|
|
86
|
+
steps:
|
|
87
|
+
- key: CHECK_ROW
|
|
88
|
+
displayType: CHECK_FORMAT
|
|
89
|
+
data:
|
|
90
|
+
responseFilters:
|
|
91
|
+
jsonata:
|
|
92
|
+
isValid: {expression: '_outputs.LOAD_ORDER.items[0].valid'}
|
|
93
|
+
scriban:
|
|
94
|
+
__idx: {expression: '0'}
|
|
95
|
+
item_id: {expression: '{{ _outputs.LOAD_ORDER.items[0].orderId }}'}
|
|
96
|
+
is_ignore: {expression: '{{ !_outputs.LOAD_ORDER.items[0].valid }}'}
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Choose Scriban-only when string results are enough; add a JSONata section when a later step needs a real boolean or number.
|
|
100
|
+
|
|
101
|
+
### `data.responseFilters.scriban`
|
|
102
|
+
|
|
103
|
+
`scriban: <object>` — required; no default. Must contain the three filters below; may contain more named filters. Results are rendered strings (`"false"`, not `false`).
|
|
104
|
+
|
|
105
|
+
```yaml
|
|
106
|
+
steps:
|
|
107
|
+
- key: CHECK_ROW
|
|
108
|
+
displayType: CHECK_FORMAT
|
|
109
|
+
data:
|
|
110
|
+
responseFilters:
|
|
111
|
+
scriban:
|
|
112
|
+
__idx: {expression: '0'}
|
|
113
|
+
item_id: {expression: A-1}
|
|
114
|
+
is_ignore: {expression: 'false'}
|
|
115
|
+
source: {expression: source-system}
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### `data.responseFilters.scriban.__idx`
|
|
119
|
+
|
|
120
|
+
`__idx: {expression: <scriban>}` — required; expression must be non-blank.
|
|
121
|
+
|
|
122
|
+
A position or existence marker for the record, as you define it. Only presence is checked; any value is accepted.
|
|
123
|
+
|
|
124
|
+
```yaml
|
|
125
|
+
steps:
|
|
126
|
+
- key: CHECK_ROW
|
|
127
|
+
displayType: CHECK_FORMAT
|
|
128
|
+
data:
|
|
129
|
+
responseFilters:
|
|
130
|
+
scriban:
|
|
131
|
+
__idx: {expression: '{{ _inputs.index }}'}
|
|
132
|
+
item_id: {expression: A-1}
|
|
133
|
+
is_ignore: {expression: 'false'}
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### `data.responseFilters.scriban.item_id`
|
|
137
|
+
|
|
138
|
+
`item_id: {expression: <scriban>}` — required; expression must be non-blank.
|
|
139
|
+
|
|
140
|
+
The identity of the record. The value is not checked for format or uniqueness.
|
|
141
|
+
|
|
142
|
+
```yaml
|
|
143
|
+
steps:
|
|
144
|
+
- key: CHECK_ROW
|
|
145
|
+
displayType: CHECK_FORMAT
|
|
146
|
+
data:
|
|
147
|
+
responseFilters:
|
|
148
|
+
scriban:
|
|
149
|
+
__idx: {expression: '0'}
|
|
150
|
+
item_id: {expression: '{{ _outputs.LOAD_ORDER.items[0].orderId }}'}
|
|
151
|
+
is_ignore: {expression: 'false'}
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### `data.responseFilters.scriban.is_ignore`
|
|
155
|
+
|
|
156
|
+
`is_ignore: {expression: <scriban>}` — required; expression must be non-blank.
|
|
157
|
+
|
|
158
|
+
Whether the record should be skipped, rendered as the string `"true"` or `"false"`. The step does not act on it; a later step or route must.
|
|
159
|
+
|
|
160
|
+
```yaml
|
|
161
|
+
steps:
|
|
162
|
+
- key: CHECK_ROW
|
|
163
|
+
displayType: CHECK_FORMAT
|
|
164
|
+
data:
|
|
165
|
+
responseFilters:
|
|
166
|
+
scriban:
|
|
167
|
+
__idx: {expression: '0'}
|
|
168
|
+
item_id: {expression: A-1}
|
|
169
|
+
is_ignore: {expression: '{{ !_outputs.LOAD_ORDER.items[0].valid }}'}
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
## Output
|
|
173
|
+
|
|
174
|
+
`_outputs.<KEY>` is a flat object with one entry per filter name, e.g. `{__idx: "0", item_id: "A-1", is_ignore: "false"}`. Scriban values are strings; values from other parser sections keep their evaluated type. Read them as `_outputs.<KEY>.is_ignore` and compare to `"true"` explicitly.
|
|
175
|
+
|
|
176
|
+
## Failure behavior
|
|
177
|
+
|
|
178
|
+
| Situation | Effect | Fix |
|
|
179
|
+
| --- | --- | --- |
|
|
180
|
+
| `responseFilters` missing | Fails with `ResponseFilter --> Must provide responseFilters.` | Add the map. |
|
|
181
|
+
| `scriban` section missing | The step fails before evaluation. | Add the `scriban` section. |
|
|
182
|
+
| `__idx`, `item_id` or `is_ignore` missing or blank | Fails with `ResponseFilter --> Must provide <name> ...`, checked in that order. | Add the filter with a non-blank expression. |
|
|
183
|
+
| Expression is non-blank but renders empty (e.g. reads a missing field) | No error; the result is `""`. | Check that the referenced context exists. |
|
|
184
|
+
|
|
185
|
+
## Best practices
|
|
186
|
+
|
|
187
|
+
- Compare string results explicitly (`= "true"`) rather than relying on truthiness, because the non-empty string `"false"` is truthy.
|
|
188
|
+
- Avoid the result name `outputs`, because it is reserved for the step output envelope.
|
|
189
|
+
- Keep the ignore decision in the expression and the action in a separate step or route, so the rule is visible and testable on its own.
|
|
190
|
+
|
|
191
|
+
## Related
|
|
192
|
+
|
|
193
|
+
- [Response filters](hexasync://docs/responseFilters/RESPONSE-FILTERS/exact-authored-shape)
|
|
194
|
+
- [Validations](validations.VALIDATIONS.md)
|
|
195
|
+
- [Workflow and step envelope](hexasync://docs/steps/STEP-ENVELOPE)
|
|
196
|
+
- [All step types](hexasync://docs/steps/INDEX)
|
package/skills/hexasync-validations/references/validations.VALIDATIONS.authoring-validations.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
> Part of [Field validations](validations.VALIDATIONS.md).
|
|
2
|
+
|
|
3
|
+
## Authoring: validations
|
|
4
|
+
|
|
5
|
+
Start from [Fields](validations.VALIDATIONS.fields.md), choose an operator from [Operators](validations.VALIDATIONS.operators.md), compose sibling rules as in [Composing rules](validations.VALIDATIONS.composing-rules.md), and check the [best practices](validations.VALIDATIONS.best-practices.md).
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
> Part of [Field validations](validations.VALIDATIONS.md).
|
|
2
|
+
|
|
3
|
+
## Best practices
|
|
4
|
+
|
|
5
|
+
- **Prefer `NOT_EMPTY` over `NOT_NULL` for text** because it also rejects blank strings.
|
|
6
|
+
- **Pair comparisons with `NOT_NULL`** on required columns, because comparisons return *unknown* on null and the row is then neither valid nor counted as invalid.
|
|
7
|
+
- **Set `data_type: Numeric` for numeric ordering and ranges**, because the default text ordering puts `"10"` before `"9"`.
|
|
8
|
+
- **Prefer `IN`/`NOT_IN` over chains of `EQUAL`/`NOT_EQUAL`**, because one list rule is clearer and handles null predictably.
|
|
9
|
+
- **Prefer `REGEX` over affix rules when the pattern contains `%` or `_`**, because `START_WITH`/`END_WITH` treat those as wildcards in the stored check.
|
|
10
|
+
- **Keep values trimmed and canonical in the column** (via a transformation), because the stored check compares untrimmed values while diagnostics trim.
|
|
11
|
+
- **Avoid `case_sensitive: false` with pattern characters**, because the stored check then interprets them as wildcards or regex.
|
|
12
|
+
- **Use date-only values for `DateTime`**, because the stored check compares at date precision.
|
|
13
|
+
- **Give every rule a unique `id`, a distinct `index` and an actionable `description`.**
|
|
14
|
+
- **Rebuild validations after changing rules** on an existing object.
|
|
15
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
> Part of [Field validations](validations.VALIDATIONS.md).
|
|
2
|
+
|
|
3
|
+
## Composing rules
|
|
4
|
+
|
|
5
|
+
Rules on one object always combine with AND. A typical required, bounded column uses a presence rule plus a value rule, each with its own `id` and `index`:
|
|
6
|
+
|
|
7
|
+
```yaml
|
|
8
|
+
validations:
|
|
9
|
+
"11111111-1111-4111-8111-111111111111":
|
|
10
|
+
- id: "22222222-2222-4222-8222-222222222401"
|
|
11
|
+
index: 0
|
|
12
|
+
name: Quantity present
|
|
13
|
+
type: NOT_NULL
|
|
14
|
+
metadata:
|
|
15
|
+
field_name: quantity
|
|
16
|
+
- id: "22222222-2222-4222-8222-222222222402"
|
|
17
|
+
index: 1
|
|
18
|
+
name: Quantity in range
|
|
19
|
+
description: "Quantity must be between 1 and 999."
|
|
20
|
+
type: BETWEEN
|
|
21
|
+
metadata:
|
|
22
|
+
field_name: quantity
|
|
23
|
+
from_value: "1"
|
|
24
|
+
to_value: "999"
|
|
25
|
+
data_type: Numeric
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
| Stored `quantity` | Stored flag | Item detail |
|
|
29
|
+
| --- | --- | --- |
|
|
30
|
+
| `5` | true | no failures |
|
|
31
|
+
| `0` | false | BETWEEN fails |
|
|
32
|
+
| null | false | NOT_NULL and BETWEEN fail |
|
|
33
|
+
|
|
34
|
+
Without the `NOT_NULL` rule, a null quantity would store `NULL` instead of `false`.
|
|
35
|
+
|
|
36
|
+
**Invalid example (do not copy):** a grouping rule such as `type: OR` with child rules, or `validations:` written as a root list, is rejected — rules are flat entries under the object's GUID.
|
|
37
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
> Part of [Field validations](validations.VALIDATIONS.md).
|
|
2
|
+
|
|
3
|
+
## Example: required text plus a numeric range
|
|
4
|
+
|
|
5
|
+
An object stores text `sku` and numeric `quantity`. Two rules require a non-blank SKU and a quantity from 0 to 10:
|
|
6
|
+
|
|
7
|
+
```yaml
|
|
8
|
+
validations:
|
|
9
|
+
"11111111-1111-4111-8111-111111111111":
|
|
10
|
+
- id: "22222222-2222-4222-8222-222222222501"
|
|
11
|
+
index: 0
|
|
12
|
+
type: NOT_EMPTY
|
|
13
|
+
metadata:
|
|
14
|
+
field_name: sku
|
|
15
|
+
- id: "22222222-2222-4222-8222-222222222502"
|
|
16
|
+
index: 1
|
|
17
|
+
type: BETWEEN
|
|
18
|
+
metadata:
|
|
19
|
+
field_name: quantity
|
|
20
|
+
from_value: "0"
|
|
21
|
+
to_value: "10"
|
|
22
|
+
data_type: Numeric
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
| Saved row | Stored flag | Item detail |
|
|
26
|
+
| --- | --- | --- |
|
|
27
|
+
| `{sku: "AB12", quantity: 5}` | true | no failures |
|
|
28
|
+
| `{sku: "", quantity: 5}` | false | NOT_EMPTY fails |
|
|
29
|
+
| `{sku: null, quantity: 11}` | false | NOT_EMPTY and BETWEEN fail |
|
|
30
|
+
| `{sku: "AB12", quantity: null}` | NULL | BETWEEN fails (`The field quantity is empty.`) |
|
|
31
|
+
|
|
32
|
+
Add `NOT_NULL` on `quantity` to make the last row `false`. Only rows with flag `true` are enqueued; the others stay saved.
|
|
33
|
+
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
> Part of [Field validations](validations.VALIDATIONS.md).
|
|
2
|
+
|
|
3
|
+
## Fields
|
|
4
|
+
|
|
5
|
+
### validations
|
|
6
|
+
|
|
7
|
+
**Syntax:** `validations: { <objectId>: [<rule>] }`
|
|
8
|
+
|
|
9
|
+
The key is the GUID of the owning object (`objects[].id`), written exactly as it is declared there. Rules placed inside `objects[]` or as a root list are not read. See [object model](hexasync://docs/objects/object) and [profile root](hexasync://docs/PROFILE-ROOT).
|
|
10
|
+
|
|
11
|
+
```yaml
|
|
12
|
+
validations:
|
|
13
|
+
"11111111-1111-4111-8111-111111111111":
|
|
14
|
+
- id: "22222222-2222-4222-8222-222222222201"
|
|
15
|
+
index: 0
|
|
16
|
+
type: NOT_NULL
|
|
17
|
+
metadata:
|
|
18
|
+
field_name: sku
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Rule fields
|
|
22
|
+
|
|
23
|
+
| Field | Syntax | Meaning | Default |
|
|
24
|
+
| --- | --- | --- | --- |
|
|
25
|
+
| `id` | `id: <uuid>` | Unique identity of the rule; links item-detail results to the rule. | none; required |
|
|
26
|
+
| `type` | `type: <TYPE>` | Which check to run; exact uppercase name from the [operator list](validations.VALIDATIONS.operators.md). | none; required |
|
|
27
|
+
| `metadata` | `metadata: { field_name: ..., ... }` | Type-specific settings, all snake_case literals. | none; required |
|
|
28
|
+
| `index` | `index: <integer>` | Distinguishes the rule's generated parameters; not an execution order. | `0` |
|
|
29
|
+
| `name` | `name: <string>` | Human label shown in flow views. | none |
|
|
30
|
+
| `description` | `description: <markdown or null>` | Explanation shown under a failed rule in item detail. | none |
|
|
31
|
+
| `kind` | `kind: Pulled \| Transformed` | Declared stage label; does not change when or on what the rule runs. | `Pulled` |
|
|
32
|
+
|
|
33
|
+
### id
|
|
34
|
+
|
|
35
|
+
**Syntax:** `id: <uuid>` — required. Use a fresh GUID per rule and never reuse one across rules; item detail matches each result to its rule by this value.
|
|
36
|
+
|
|
37
|
+
```yaml
|
|
38
|
+
id: "22222222-2222-4222-8222-222222222202" # required, no default
|
|
39
|
+
type: NOT_NULL
|
|
40
|
+
metadata:
|
|
41
|
+
field_name: sku
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### type
|
|
45
|
+
|
|
46
|
+
**Syntax:** `type: <TYPE>` — required; one of the 23 names in [Operators](validations.VALIDATIONS.operators.md), uppercase and exact. Lowercase spellings and look-alikes (`CONTAINS`, `STARTS_WITH`, `NULL`) are rejected at runtime. Choose the narrowest operator that expresses the requirement (for example `IN` for an allowed list rather than several `EQUAL` rules, which could never all pass).
|
|
47
|
+
|
|
48
|
+
```yaml
|
|
49
|
+
id: "22222222-2222-4222-8222-222222222203"
|
|
50
|
+
type: IN # required, no default
|
|
51
|
+
metadata:
|
|
52
|
+
field_name: status
|
|
53
|
+
values: ["active", "draft"]
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### metadata
|
|
57
|
+
|
|
58
|
+
**Syntax:** `metadata: { field_name: <column>, ...type members }` — required object. Members are snake_case (`field_name`, not `fieldName`); members the chosen type does not use are ignored. Each operator section lists its members.
|
|
59
|
+
|
|
60
|
+
```yaml
|
|
61
|
+
id: "22222222-2222-4222-8222-222222222204"
|
|
62
|
+
type: BETWEEN
|
|
63
|
+
metadata: # required, no default
|
|
64
|
+
field_name: quantity
|
|
65
|
+
from_value: "0"
|
|
66
|
+
to_value: "100"
|
|
67
|
+
data_type: Numeric
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### index
|
|
71
|
+
|
|
72
|
+
**Syntax:** `index: <integer>` — optional, defaults to `0`. Names the SQL parameters the rule generates. Rules that carry a comparison value need distinct, non-negative indexes within one object; duplicates or negative numbers break generation of the stored flag. Presence-only rules (`NOT_NULL`, `IS_NULL`, `NOT_EMPTY`, `IS_EMPTY`) generate no parameters. It does not order execution — prefer numbering every rule `0, 1, 2…` in list order anyway, so the convention is uniform.
|
|
73
|
+
|
|
74
|
+
```yaml
|
|
75
|
+
id: "22222222-2222-4222-8222-222222222205"
|
|
76
|
+
index: 1 # defaults to 0
|
|
77
|
+
type: EQUAL
|
|
78
|
+
metadata:
|
|
79
|
+
field_name: status
|
|
80
|
+
value: "active"
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### name
|
|
84
|
+
|
|
85
|
+
**Syntax:** `name: <string>` — optional label for flow views. It does not change the check or the failure message.
|
|
86
|
+
|
|
87
|
+
```yaml
|
|
88
|
+
id: "22222222-2222-4222-8222-222222222206"
|
|
89
|
+
name: SKU present # optional, no default
|
|
90
|
+
type: NOT_NULL
|
|
91
|
+
metadata:
|
|
92
|
+
field_name: sku
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### description
|
|
96
|
+
|
|
97
|
+
**Syntax:** `description: <markdown> | null` — optional. When a rule fails, item detail shows the validator's message as the title and this Markdown as the explanation. Write it for the operator: what is wrong and how to fix the source data. An empty string or `null` shows no explanation.
|
|
98
|
+
|
|
99
|
+
```yaml
|
|
100
|
+
id: "22222222-2222-4222-8222-222222222207"
|
|
101
|
+
type: NOT_EMPTY
|
|
102
|
+
description: "The product has no SKU. Add a SKU in the source system and pull again." # optional, no default
|
|
103
|
+
metadata:
|
|
104
|
+
field_name: sku
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### kind
|
|
108
|
+
|
|
109
|
+
**Syntax:** `kind: Pulled | Transformed` — optional, defaults to `Pulled`. Both values behave identically: every rule checks the stored column, whether that column was pulled or produced by a transformation. Leave it unset.
|
|
110
|
+
|
|
111
|
+
```yaml
|
|
112
|
+
id: "22222222-2222-4222-8222-222222222208"
|
|
113
|
+
type: NOT_NULL
|
|
114
|
+
kind: Pulled # defaults to Pulled; Transformed behaves the same
|
|
115
|
+
metadata:
|
|
116
|
+
field_name: sku
|
|
117
|
+
```
|
|
118
|
+
|
package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
> Part of [Field validations](validations.VALIDATIONS.md).
|
|
2
|
+
|
|
3
|
+
## How validations behave
|
|
4
|
+
|
|
5
|
+
### Stored validity and item diagnostics
|
|
6
|
+
|
|
7
|
+
| Aspect | Stored validity (`__is_valid`) | Item diagnostics (item detail view) |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| When it runs | Computed by the database whenever a row is inserted or updated | When an item's detail or validation is requested |
|
|
10
|
+
| What it returns | One flag per row: the AND of every rule | One pass/fail result per rule, with a message |
|
|
11
|
+
| Effect | Gates enqueue/push eligibility | Explains failures; never changes the stored flag |
|
|
12
|
+
| Values compared | The stored column as-is (no trimming), typed by `data_type` | The item value converted to text and trimmed |
|
|
13
|
+
|
|
14
|
+
Because the two evaluations compare values slightly differently, they can disagree on edge cases (padded text, case, wildcard characters). The stored flag is what decides eligibility.
|
|
15
|
+
|
|
16
|
+
### Null results
|
|
17
|
+
|
|
18
|
+
Most comparison rules evaluate to SQL *unknown* when the column is null. An unknown rule makes the stored flag `NULL`: the row is not eligible, but it is also not counted as invalid by failure counts. Prefer an explicit [NOT_NULL](validations.VALIDATIONS.operators.md#not_null) rule next to any comparison on a required column, so a missing value produces a definite `false`. The negative text operators (`NOT_START_WITH`, `NOT_END_WITH`, `NOT_CONTAIN`, `NOT_IN`) deliberately **pass** on null.
|
|
19
|
+
|
|
20
|
+
### Changing rules on an existing object
|
|
21
|
+
|
|
22
|
+
The stored flag is created together with the task table. Editing, adding or removing rules later does not rewrite it automatically — run the object's validation rebuild so existing and new rows are evaluated against the new rules. See [task tables](hexasync://docs/tasks/TASKS-AND-TABLES) and [pusher lifecycle](hexasync://docs/pushers/PUSHERS).
|
|
23
|
+
|
|
24
|
+
### No nesting, no expressions
|
|
25
|
+
|
|
26
|
+
Rules are flat siblings; there is no `AND`/`OR`/`NOT` grouping, no field-to-field comparison and no `EMAIL`/`PHONE_NUMBER` type. Metadata values are literals: `value: "{{ item.limit }}"` is compared as that literal text. Express OR or cross-field logic by computing a flag column with a [transformation](hexasync://docs/transformations/TRANSFORMATIONS) and validating that column.
|
|
27
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Field validations
|
|
2
|
+
|
|
3
|
+
> MCP resource: `hexasync://docs/validations/VALIDATIONS`.
|
|
4
|
+
|
|
5
|
+
**Syntax:** `validations: { <objectId>: [ <rule>, ... ] }` — a root map keyed by an object's GUID; each value is a flat list of rules.
|
|
6
|
+
|
|
7
|
+
```yaml
|
|
8
|
+
validations: # <map: object GUID → list of rules>; optional; absent = no rules
|
|
9
|
+
"11111111-1111-4111-8111-111111111111": # <objects[].id GUID>
|
|
10
|
+
- id: "22222222-2222-4222-8222-222222222201" # <uuid>; required; no default
|
|
11
|
+
type: IN # <one of the operator names>; required; no default
|
|
12
|
+
metadata: # <object>; required; snake_case literal members
|
|
13
|
+
field_name: status # <column name>; required
|
|
14
|
+
values: ["active", "draft"] # type-specific member
|
|
15
|
+
index: 1 # <integer>; defaults to 0
|
|
16
|
+
name: Allowed status # <string>; optional; no default
|
|
17
|
+
description: Set the status to active or draft in the source. # <markdown | null>; optional; no default
|
|
18
|
+
kind: Pulled # <Pulled | Transformed>; defaults to Pulled
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
**Purpose:** a validation rule checks one stored column of an object's task table. All rules of an object combine with **AND** into the row's stored validity flag (`__is_valid`). Only rows whose flag is `true` are eligible for later enqueue/push; failing rows stay saved but are held back. Each rule is also evaluated separately when you open an item's detail, so you can see which rule failed and why.
|
|
22
|
+
|
|
23
|
+
**When to use:** to stop incomplete or malformed rows from being pushed to a destination — required identifiers, allowed status values, numeric ranges, text shapes. Validation does not change data, route a workflow, or abort the step that saved the row; use a [transformation](hexasync://docs/transformations/TRANSFORMATIONS) to fix or derive values first, then validate the stored result.
|
|
24
|
+
|
|
25
|
+
**Sensible configuration:**
|
|
26
|
+
|
|
27
|
+
```yaml
|
|
28
|
+
validations:
|
|
29
|
+
"11111111-1111-4111-8111-111111111111":
|
|
30
|
+
- id: "22222222-2222-4222-8222-222222222201"
|
|
31
|
+
index: 0
|
|
32
|
+
name: SKU required
|
|
33
|
+
type: NOT_NULL
|
|
34
|
+
metadata: { field_name: sku }
|
|
35
|
+
description: Every row needs a SKU; fill it in the source system and re-pull.
|
|
36
|
+
- id: "22222222-2222-4222-8222-222222222202"
|
|
37
|
+
index: 1
|
|
38
|
+
name: Allowed status
|
|
39
|
+
type: IN
|
|
40
|
+
metadata: { field_name: status, values: ["active", "draft"] }
|
|
41
|
+
description: Set the status to active or draft in the source system.
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
One rule per business requirement, each on a real lowercase column, with a unique GUID `id`, a distinct non-negative `index`, a short `name` and a `description` that tells an operator how to fix the row. Pair any rule that should also reject missing values with [NOT_NULL](validations.VALIDATIONS.operators.md#not_null).
|
|
45
|
+
|
|
46
|
+
This page is served as 10 separate resources. Read the one you need:
|
|
47
|
+
|
|
48
|
+
- [How validations behave](validations.VALIDATIONS.how-validations-behave.md) — Because the two evaluations compare values slightly differently, they can disagree on edge cases (padded text, case, wildcard characters).
|
|
49
|
+
- [Fields](validations.VALIDATIONS.fields.md) — Syntax: validations: { <objectId>: [<rule>] }
|
|
50
|
+
- [Metadata members](validations.VALIDATIONS.metadata-members.md) — Syntax: field_name: <column> — required for every type.
|
|
51
|
+
- [Operators](validations.VALIDATIONS.operators.md) — f is the column in field_name.
|
|
52
|
+
- [Composing rules](validations.VALIDATIONS.composing-rules.md) — Rules on one object always combine with AND.
|
|
53
|
+
- [Best practices](validations.VALIDATIONS.best-practices.md)
|
|
54
|
+
- [Troubleshooting](validations.VALIDATIONS.troubleshooting.md)
|
|
55
|
+
- [Not the Query DSL](validations.VALIDATIONS.not-the-query-dsl.md) — Validation type names differ from Query DSL operators; do not mix them.
|
|
56
|
+
- [Example: required text plus a numeric range](validations.VALIDATIONS.example-required-text-plus-a-numeric-range.md) — An object stores text sku and numeric quantity.
|
|
57
|
+
- [Authoring: validations](validations.VALIDATIONS.authoring-validations.md) — Start from Fields, choose an operator from Operators, compose sibling rules as in Composing rules, and check the best practices.
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
> Part of [Field validations](validations.VALIDATIONS.md).
|
|
2
|
+
|
|
3
|
+
## Metadata members
|
|
4
|
+
|
|
5
|
+
### field_name
|
|
6
|
+
|
|
7
|
+
**Syntax:** `field_name: <column>` — required for every type. The bare name of a real column in the object's task table: not a nested path (`address.city`), expression or Query DSL operand. The name is used unquoted, so use the lowercase column name exactly as stored. `REGEX` additionally restricts it to letters, digits and `_`.
|
|
8
|
+
|
|
9
|
+
```yaml
|
|
10
|
+
id: "22222222-2222-4222-8222-222222222209"
|
|
11
|
+
type: NOT_NULL
|
|
12
|
+
metadata:
|
|
13
|
+
field_name: customer_code # required, no default
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
### value
|
|
17
|
+
|
|
18
|
+
**Syntax:** `value: <string>` for comparison, prefix, suffix and substring types; `value: <integer>` for `LENGTH`, `MIN_LENGTH`, `MAX_LENGTH`. Required where listed. A literal — never interpolated. Prefer quoted strings even for numbers and dates (`"10"`, `"2026-01-31"`) so the text is exactly what you intend. Numbers and booleans are accepted and read as text.
|
|
19
|
+
|
|
20
|
+
```yaml
|
|
21
|
+
id: "22222222-2222-4222-8222-222222222210"
|
|
22
|
+
index: 1
|
|
23
|
+
type: GREATER_THAN
|
|
24
|
+
metadata:
|
|
25
|
+
field_name: quantity
|
|
26
|
+
value: "0" # required, no default
|
|
27
|
+
data_type: Numeric
|
|
28
|
+
---
|
|
29
|
+
id: "22222222-2222-4222-8222-222222222211"
|
|
30
|
+
index: 2
|
|
31
|
+
type: MAX_LENGTH
|
|
32
|
+
metadata:
|
|
33
|
+
field_name: sku
|
|
34
|
+
value: 32 # integer for length types; required, no default
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### values
|
|
38
|
+
|
|
39
|
+
**Syntax:** `values: [<string>, ...]` — required, non-empty, for `IN` and `NOT_IN`. Each entry is a literal compared to the whole column value. Write entries exactly as stored (no padding); item diagnostics trim the item value but not the list entries.
|
|
40
|
+
|
|
41
|
+
```yaml
|
|
42
|
+
id: "22222222-2222-4222-8222-222222222212"
|
|
43
|
+
index: 1
|
|
44
|
+
type: IN
|
|
45
|
+
metadata:
|
|
46
|
+
field_name: status
|
|
47
|
+
values: ["active", "draft", "archived"] # required, at least one entry
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### case_sensitive
|
|
51
|
+
|
|
52
|
+
**Syntax:** `case_sensitive: <boolean>` — optional, defaults to `true`. Used by `EQUAL`, `NOT_EQUAL`, `START_WITH`, `NOT_START_WITH`, `END_WITH`, `NOT_END_WITH`, `CONTAIN`, `NOT_CONTAIN`, `IN`, `NOT_IN`.
|
|
53
|
+
|
|
54
|
+
- `true` — exact case.
|
|
55
|
+
- `false` — ignore case. In the stored check this switches the comparison: `EQUAL`/`NOT_EQUAL` use `ILIKE`, so `%` and `_` in `value` become wildcards; `CONTAIN`/`NOT_CONTAIN` treat `value` as a regular expression; `IN`/`NOT_IN` lowercase the column, so the column must be text.
|
|
56
|
+
|
|
57
|
+
Prefer `false` only with plain letters/digits in `value`; avoid it when the value contains `%`, `_`, `.`, `[` or other pattern characters, because the stored check and item diagnostics will disagree.
|
|
58
|
+
|
|
59
|
+
```yaml
|
|
60
|
+
id: "22222222-2222-4222-8222-222222222213"
|
|
61
|
+
index: 1
|
|
62
|
+
type: EQUAL
|
|
63
|
+
metadata:
|
|
64
|
+
field_name: status
|
|
65
|
+
value: "active"
|
|
66
|
+
case_sensitive: false # defaults to true
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### data_type
|
|
70
|
+
|
|
71
|
+
**Syntax:** `data_type: String | Numeric | DateTime | Boolean` — optional, defaults to `String`. Used by `EQUAL`, `NOT_EQUAL`, the four ordering types, `BETWEEN`, `IN` and `NOT_IN`. Declares how the stored check types the configured value(s):
|
|
72
|
+
|
|
73
|
+
| Variant | Meaning | Choose when |
|
|
74
|
+
| --- | --- | --- |
|
|
75
|
+
| `String` | Text comparison (lexical order: `"10"` < `"9"`). | Codes, statuses, any text. |
|
|
76
|
+
| `Numeric` | Number comparison; the column is cast to numeric. | Quantities, prices, counts — always for ordering/ranges on numbers. |
|
|
77
|
+
| `DateTime` | Date comparison at **date precision** (time of day may be dropped). | Date columns; pair with `format`. |
|
|
78
|
+
| `Boolean` | Boolean literal. | Equality on boolean columns only; not meaningful for ordering. |
|
|
79
|
+
|
|
80
|
+
Item diagnostics compare `EQUAL`/`NOT_EQUAL`/`IN`/`NOT_IN` as text whatever the type, so write values in the same text form the column stores (`"1"`, not `"01"`).
|
|
81
|
+
|
|
82
|
+
```yaml
|
|
83
|
+
id: "22222222-2222-4222-8222-222222222214"
|
|
84
|
+
index: 1
|
|
85
|
+
type: LESS_THAN_OR_EQUAL
|
|
86
|
+
metadata:
|
|
87
|
+
field_name: discount_percent
|
|
88
|
+
value: "100"
|
|
89
|
+
data_type: Numeric # defaults to String
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### format
|
|
93
|
+
|
|
94
|
+
**Syntax:** `format: <date format>` — optional, no default. Used only by item diagnostics of the ordering types and `BETWEEN`, as a .NET-style date pattern such as `yyyy-MM-dd`; the stored check ignores it. Set it together with `data_type: DateTime` and make it match both the stored text and the configured value exactly. Avoid setting it on non-date rules: date-like configured values are reformatted with it before comparing, which can change the result.
|
|
95
|
+
|
|
96
|
+
```yaml
|
|
97
|
+
id: "22222222-2222-4222-8222-222222222215"
|
|
98
|
+
index: 1
|
|
99
|
+
type: GREATER_THAN_OR_EQUAL
|
|
100
|
+
metadata:
|
|
101
|
+
field_name: received_date
|
|
102
|
+
value: "2026-01-01"
|
|
103
|
+
data_type: DateTime
|
|
104
|
+
format: "yyyy-MM-dd" # no default; diagnostics need it for DateTime
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### from_value and to_value
|
|
108
|
+
|
|
109
|
+
**Syntax:** `from_value: <string>` and `to_value: <string>` — both required for `BETWEEN`. Inclusive lower and upper bounds. Always put the smaller bound in `from_value`: the stored check accepts reversed bounds, but item diagnostics do not and will report every value as failing.
|
|
110
|
+
|
|
111
|
+
```yaml
|
|
112
|
+
id: "22222222-2222-4222-8222-222222222216"
|
|
113
|
+
index: 1
|
|
114
|
+
type: BETWEEN
|
|
115
|
+
metadata:
|
|
116
|
+
field_name: quantity
|
|
117
|
+
from_value: "1" # required, inclusive lower bound
|
|
118
|
+
to_value: "999" # required, inclusive upper bound
|
|
119
|
+
data_type: Numeric
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### expression
|
|
123
|
+
|
|
124
|
+
**Syntax:** `expression: <regex>` — required, non-blank, for `REGEX`. Always matched case-insensitively, by the database regex engine in the stored check and the .NET engine in diagnostics. Prefer anchored patterns using common syntax (`^`, `$`, character classes, `{n,m}` quantifiers) that both engines read the same way. Quote the pattern in YAML.
|
|
125
|
+
|
|
126
|
+
```yaml
|
|
127
|
+
id: "22222222-2222-4222-8222-222222222217"
|
|
128
|
+
index: 1
|
|
129
|
+
type: REGEX
|
|
130
|
+
metadata:
|
|
131
|
+
field_name: sku
|
|
132
|
+
expression: "^[a-z]{2}[0-9]{4}$" # required, no default
|
|
133
|
+
```
|
|
134
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
> Part of [Field validations](validations.VALIDATIONS.md).
|
|
2
|
+
|
|
3
|
+
## Not the Query DSL
|
|
4
|
+
|
|
5
|
+
Validation `type` names differ from [Query DSL operators](hexasync://docs/query-dsl/QUERY-DSL/runtime-rules-and-authoring-shape); do not mix them.
|
|
6
|
+
|
|
7
|
+
| Concept | Validation `type` | Query DSL `op` |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| Substring | `CONTAIN`, `NOT_CONTAIN` | `CONTAINS`, `NOT_CONTAINS` |
|
|
10
|
+
| Prefix / suffix | `START_WITH`, `END_WITH` | `STARTS_WITH`, `ENDS_WITH` |
|
|
11
|
+
| Equality | `EQUAL`, `NOT_EQUAL` | `=`, `!=`, `<>` |
|
|
12
|
+
| Order | `GREATER_THAN`, `LESS_THAN_OR_EQUAL`, … | `>`, `>=`, `<`, `<=` |
|
|
13
|
+
|
|
14
|
+
Validation metadata names a bare `field_name`; Query DSL uses typed operands. Neither page's syntax works in the other's placement.
|
|
15
|
+
|