@productbrain/mcp 0.0.1-beta.1810 → 0.0.1-beta.1815
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.
|
@@ -724,6 +724,7 @@ var GENERIC_PROFILE = {
|
|
|
724
724
|
COMMON_CHECKS.hasType
|
|
725
725
|
]
|
|
726
726
|
};
|
|
727
|
+
var NON_DATA_CRITERION_FIELDS = /* @__PURE__ */ new Set(["grounding", "governanceWhy", "governanceSteering"]);
|
|
727
728
|
function buildFieldQualityChecks(col) {
|
|
728
729
|
const checks = [];
|
|
729
730
|
const fields = col.fields ?? [];
|
|
@@ -764,6 +765,7 @@ function buildFieldQualityChecks(col) {
|
|
|
764
765
|
}
|
|
765
766
|
for (const criterion of col.qualityCriteria ?? []) {
|
|
766
767
|
if (criterion.active === false) continue;
|
|
768
|
+
if (NON_DATA_CRITERION_FIELDS.has(criterion.field)) continue;
|
|
767
769
|
const id = criterion.rule === "required" ? `field-${criterion.field}-required` : criterion.rule === "min_length" ? `field-${criterion.field}-min-length` : `quality-${criterion.field}-${criterion.rule}`;
|
|
768
770
|
addCheck({
|
|
769
771
|
id,
|
|
@@ -14709,4 +14711,4 @@ export {
|
|
|
14709
14711
|
createProductBrainServer,
|
|
14710
14712
|
initFeatureFlags
|
|
14711
14713
|
};
|
|
14712
|
-
//# sourceMappingURL=chunk-
|
|
14714
|
+
//# sourceMappingURL=chunk-VRAAJA3M.js.map
|