@fern-api/fern-api-dev 4.46.5 → 4.46.6-1-g0b05d80f381

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.
Files changed (2) hide show
  1. package/cli.cjs +12 -11
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -601952,7 +601952,7 @@ var AccessTokenPosthogManager = class {
601952
601952
  properties: {
601953
601953
  ...event,
601954
601954
  ...event.properties,
601955
- version: "4.46.5",
601955
+ version: "4.46.6-1-g0b05d80f381",
601956
601956
  usingAccessToken: true
601957
601957
  }
601958
601958
  });
@@ -602003,7 +602003,7 @@ var UserPosthogManager = class {
602003
602003
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
602004
602004
  event: "CLI",
602005
602005
  properties: {
602006
- version: "4.46.5",
602006
+ version: "4.46.6-1-g0b05d80f381",
602007
602007
  ...event,
602008
602008
  ...event.properties,
602009
602009
  usingAccessToken: false,
@@ -780594,7 +780594,7 @@ var ApiReferenceNodeConverter = class {
780594
780594
  getTagDescriptionContent() {
780595
780595
  return this.#tagDescriptionContent;
780596
780596
  }
780597
- createTagDescriptionPageId(subpackage) {
780597
+ createTagDescriptionPageId(subpackage, packageLocator) {
780598
780598
  if (!this.apiSection.tagDescriptionPages || !this.openApiTags) {
780599
780599
  return void 0;
780600
780600
  }
@@ -780602,7 +780602,7 @@ var ApiReferenceNodeConverter = class {
780602
780602
  if (!subpackageName) {
780603
780603
  return void 0;
780604
780604
  }
780605
- const tagInfo = this.openApiTags[subpackageName];
780605
+ const tagInfo = this.openApiTags[subpackageName] ?? (packageLocator != null ? this.openApiTags[camelCase_default(packageLocator)] : void 0);
780606
780606
  if (!tagInfo || !tagInfo.description) {
780607
780607
  return void 0;
780608
780608
  }
@@ -780654,12 +780654,13 @@ ${tagInfo.description}`;
780654
780654
  });
780655
780655
  }
780656
780656
  #convertPackage(pkg2, parentSlug, parentAvailability) {
780657
- const overviewPageId = pkg2.overviewAbsolutePath != null ? navigation_exports2.V1.PageId(toRelativeFilepath(this.docsWorkspace, pkg2.overviewAbsolutePath)) : void 0;
780657
+ const explicitOverviewPageId = pkg2.overviewAbsolutePath != null ? navigation_exports2.V1.PageId(toRelativeFilepath(this.docsWorkspace, pkg2.overviewAbsolutePath)) : void 0;
780658
780658
  const maybeFullSlug = pkg2.overviewAbsolutePath != null ? this.markdownFilesToFullSlugs.get(pkg2.overviewAbsolutePath) : void 0;
780659
780659
  const pkgAvailability = pkg2.availability ?? parentAvailability;
780660
780660
  const subpackage = this.#holder.getSubpackageByIdOrLocator(pkg2.package);
780661
780661
  if (subpackage != null) {
780662
780662
  const subpackageId = ApiDefinitionHolder2.getSubpackageId(subpackage);
780663
+ const overviewPageId = explicitOverviewPageId ?? this.createTagDescriptionPageId(subpackage, pkg2.package);
780663
780664
  const subpackageNodeId = this.#idgen.get(overviewPageId ?? `${this.apiDefinitionId}:${subpackageId}`);
780664
780665
  if (this.#visitedSubpackages.has(subpackageId)) {
780665
780666
  this.taskContext.logger.warn(packageReuseError(pkg2.package));
@@ -780704,14 +780705,14 @@ ${tagInfo.description}`;
780704
780705
  });
780705
780706
  const convertedItems = this.#convertApiReferenceLayoutItems(pkg2.contents, void 0, slug, pkgAvailability);
780706
780707
  return {
780707
- id: this.#idgen.get(overviewPageId ?? `${this.apiDefinitionId}:${kebabCase_default(pkg2.package)}`),
780708
+ id: this.#idgen.get(explicitOverviewPageId ?? `${this.apiDefinitionId}:${kebabCase_default(pkg2.package)}`),
780708
780709
  type: "apiPackage",
780709
780710
  children: convertedItems,
780710
780711
  title: pkg2.title ?? pkg2.package,
780711
780712
  slug: slug.get(),
780712
780713
  icon: this.resolveIconFileId(pkg2.icon),
780713
780714
  hidden: this.hideChildren || pkg2.hidden,
780714
- overviewPageId,
780715
+ overviewPageId: explicitOverviewPageId,
780715
780716
  collapsible: void 0,
780716
780717
  collapsedByDefault: void 0,
780717
780718
  availability: pkgAvailability,
@@ -780799,7 +780800,7 @@ ${tagInfo.description}`;
780799
780800
  slug: slug.get(),
780800
780801
  icon: void 0,
780801
780802
  hidden: this.hideChildren,
780802
- overviewPageId: this.createTagDescriptionPageId(subpackage),
780803
+ overviewPageId: this.createTagDescriptionPageId(subpackage, unknownIdentifier),
780803
780804
  collapsible: void 0,
780804
780805
  collapsedByDefault: void 0,
780805
780806
  availability: parentAvailability,
@@ -825857,7 +825858,7 @@ var import_path54 = __toESM(require("path"), 1);
825857
825858
  var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
825858
825859
  var LOGS_FOLDER_NAME = "logs";
825859
825860
  function getCliSource() {
825860
- const version7 = "4.46.5";
825861
+ const version7 = "4.46.6-1-g0b05d80f381";
825861
825862
  return `cli@${version7}`;
825862
825863
  }
825863
825864
  var DebugLogger = class {
@@ -836824,7 +836825,7 @@ var LegacyDocsPublisher = class {
836824
836825
  previewId: void 0,
836825
836826
  disableTemplates: void 0,
836826
836827
  skipUpload,
836827
- cliVersion: "4.46.5"
836828
+ cliVersion: "4.46.6-1-g0b05d80f381"
836828
836829
  });
836829
836830
  if (taskContext.getResult() === TaskResult.Failure) {
836830
836831
  return { success: false };
@@ -909674,7 +909675,7 @@ var CliContext = class {
909674
909675
  if (false) {
909675
909676
  this.logger.error("CLI_VERSION is not defined");
909676
909677
  }
909677
- return "4.46.5";
909678
+ return "4.46.6-1-g0b05d80f381";
909678
909679
  }
909679
909680
  getCliName() {
909680
909681
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.46.5",
2
+ "version": "4.46.6-1-g0b05d80f381",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",