@decocms/blocks 7.84.0 → 7.84.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/cms/schema.ts +1 -1
package/package.json
CHANGED
package/src/cms/schema.ts
CHANGED
|
@@ -1280,7 +1280,7 @@ export function composeMeta(siteMeta: MetaResponse, options?: ComposeMetaOptions
|
|
|
1280
1280
|
// gap; only loaders are merged here (commerce SEO scope). Generalize if a
|
|
1281
1281
|
// matcher/action picker ever needs baked options.
|
|
1282
1282
|
const loaders = buildLoaderDefinitions();
|
|
1283
|
-
const siteLoaderRefs = (siteMeta.schema?.root?.loaders?.anyOf ?? []).filter(
|
|
1283
|
+
const siteLoaderRefs: { $ref: string }[] = (siteMeta.schema?.root?.loaders?.anyOf ?? []).filter(
|
|
1284
1284
|
(ref: any): ref is { $ref: string } => Boolean(ref) && typeof ref.$ref === "string",
|
|
1285
1285
|
);
|
|
1286
1286
|
const seenLoaderRefs = new Set<string>(loaders.loaderAnyOf.map((r: any) => r.$ref));
|