• Parameters

    • __namedParameters: {
          absTsConfigPath: string;
          entrypoints: Record<string, string>;
          deprecatedNodeOnly?: string[];
          deprecatedOmitFromImportMap?: string[];
          extraImportMapEntries?: ExtraImportMapEntry[];
          packageSuffix?: string;
          requiresOptionalDependency?: string[];
          shouldTestExports?: boolean;
      }
      • absTsConfigPath: string

        The absolute path to the tsconfig.json file.

      • entrypoints: Record<string, string>

        This lists all the entrypoints for the library. Each key corresponds to an importable path, eg. import { AgentExecutor } from "langchain/agents". The value is the path to the file in src/ that exports the entrypoint. This is used to generate the exports field in package.json. Order is not important.

      • Optional deprecatedNodeOnly?: string[]

        Entrypoints in this list will

        1. Be excluded from the documentation
        2. Be only available in Node.js environments (for backwards compatibility)
      • Optional deprecatedOmitFromImportMap?: string[]

        Endpoints that are deprecated due to redundancy. Will not appear in the import map.

      • Optional extraImportMapEntries?: ExtraImportMapEntry[]

        Extra entries to add to the import map.

      • Optional packageSuffix?: string

        The suffix of the package. Eg. community for @langchain/community. Used in the generated import map.

      • Optional requiresOptionalDependency?: string[]

        Entrypoints in this list require an optional dependency to be installed. Therefore they are not tested in the generated test-exports-* packages.

      • Optional shouldTestExports?: boolean

        Whether or not to write to the test exports files. At the moment this only applies to the langchain package.

    Returns void

Generated using TypeDoc