From 397954154c962e5db40147c810851a9c1dd3b184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Gorej?= Date: Mon, 12 Feb 2024 12:02:44 +0100 Subject: [PATCH] feat(ns-openapi-3-1): include hasElementSourceMap in toolbox (#3814) --- packages/apidom-ns-openapi-3-1/src/refractor/toolbox.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/apidom-ns-openapi-3-1/src/refractor/toolbox.ts b/packages/apidom-ns-openapi-3-1/src/refractor/toolbox.ts index 52245769e..232cea880 100644 --- a/packages/apidom-ns-openapi-3-1/src/refractor/toolbox.ts +++ b/packages/apidom-ns-openapi-3-1/src/refractor/toolbox.ts @@ -6,6 +6,7 @@ import { isMemberElement, createNamespace, includesClasses, + hasElementSourceMap, } from '@swagger-api/apidom-core'; import { isServersElement } from '@swagger-api/apidom-ns-openapi-3-0'; @@ -20,6 +21,7 @@ export type Predicates = typeof openApi3_1Predicates & { isMemberElement: typeof isMemberElement; isServersElement: typeof isServersElement; includesClasses: typeof includesClasses; + hasElementSourceMap: typeof hasElementSourceMap; }; const createToolbox = () => { @@ -33,6 +35,7 @@ const createToolbox = () => { isMemberElement, isServersElement, includesClasses, + hasElementSourceMap, }; return { predicates, namespace };