@claritylabs/cl-sdk 3.0.12 → 3.0.13
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/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9773,6 +9773,7 @@ function shouldRunOutlineCleanup(sourceTree) {
|
|
|
9773
9773
|
const hasDeclarations = topLevel.some((node) => node.title === "Declarations");
|
|
9774
9774
|
const hasPolicyForm = topLevel.some((node) => node.title === "Policy Form");
|
|
9775
9775
|
const hasEndorsements = topLevel.some((node) => node.title === "Endorsements");
|
|
9776
|
+
if (hasDeclarations && hasPolicyForm && hasEndorsements) return false;
|
|
9776
9777
|
return genericPages.length > 0 || topLevel.length > 6 || !hasDeclarations || !hasPolicyForm || !hasEndorsements;
|
|
9777
9778
|
}
|
|
9778
9779
|
function buildOutlineCleanupPrompt(sourceTree) {
|