@redocly/openapi-language-server 0.7.0 → 0.7.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/lib/index.d.ts CHANGED
@@ -56,10 +56,10 @@ declare module '@redocly/openapi-language-server/esbuild' {
56
56
  declare module '@redocly/openapi-language-server/index' {
57
57
  import { CompletionItem, type CompletionParams, type DefinitionParams, type DidChangeWatchedFilesParams, Hover, HoverParams, LocationLink } from 'vscode-languageserver/browser';
58
58
  import { TextDocument } from 'vscode-languageserver-textdocument';
59
- import { loadOpenAPIConfig, isConfigFile, getConfigData } from '@redocly/openapi-language-server/server/openapi-config';
59
+ import { loadOpenAPIConfig, isConfigFile, isIgnoreFile, getConfigData } from '@redocly/openapi-language-server/server/openapi-config';
60
60
  import { isEntityFile } from '@redocly/openapi-language-server/server/documents';
61
61
  import { revalidateAllDocuments } from '@redocly/openapi-language-server/server/validation/index';
62
- export { revalidateAllDocuments, loadOpenAPIConfig, isConfigFile, getConfigData, isEntityFile };
62
+ export { revalidateAllDocuments, loadOpenAPIConfig, isConfigFile, isIgnoreFile, getConfigData, isEntityFile, };
63
63
  export { languageServerConfig } from '@redocly/openapi-language-server/config';
64
64
  export { getDocumentByURI, isYamlFile } from '@redocly/openapi-language-server/server/documents';
65
65
  export { getContextData, getSpecVersion } from '@redocly/openapi-language-server/server/context-core';
@@ -406,6 +406,7 @@ declare module '@redocly/openapi-language-server/server/openapi-config' {
406
406
  export function getConfigData(url?: string): Promise<Config>;
407
407
  export function isConfigFile(uri: string): Promise<boolean>;
408
408
  export function isRootConfigFile(uri: string): Promise<boolean>;
409
+ export function isIgnoreFile(uri: string): boolean;
409
410
 
410
411
  }
411
412
  declare module '@redocly/openapi-language-server/server/openapi-extensions' {
@@ -492,6 +493,7 @@ declare module '@redocly/openapi-language-server/server/path' {
492
493
  import { URI } from 'vscode-uri';
493
494
  export function arePathsEqual(path1: string, path2: string): boolean;
494
495
  export function parseUri(path: string): URI;
496
+ export function absPathToUri(absPath: string): string;
495
497
  export function uriToAbsFSPath(uri: DocumentUri): string;
496
498
  export function isHttpPath(path: string): boolean;
497
499
  export function uriBaseName(uri: DocumentUri): string;
@@ -633,7 +635,6 @@ declare module '@redocly/openapi-language-server/server/utils' {
633
635
  export function surroundByNodeQuotes(valueToSurround: string, options: Record<string, any> & {
634
636
  singleQuoted?: boolean;
635
637
  }): string;
636
- export function isAbsoluteUrl(ref: string): boolean;
637
638
  export {};
638
639
 
639
640
  }