fern-api 0.33.5 → 0.33.6-rc0

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/bundle.cjs +12 -5
  2. package/package.json +1 -1
package/bundle.cjs CHANGED
@@ -24404,7 +24404,8 @@ var init_ExperimentalConfig = __esm({
24404
24404
  "pnp:/home/runner/work/fern/fern/packages/cli/configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/ExperimentalConfig.js"() {
24405
24405
  init_core();
24406
24406
  ExperimentalConfig = schemas_exports.object({
24407
- mdxComponents: schemas_exports.property("mdx-components", schemas_exports.list(schemas_exports.string()).optional())
24407
+ mdxComponents: schemas_exports.property("mdx-components", schemas_exports.list(schemas_exports.string()).optional()),
24408
+ disableStreamToggle: schemas_exports.property("disable-stream-toggle", schemas_exports.boolean().optional())
24408
24409
  });
24409
24410
  }
24410
24411
  });
@@ -1164535,7 +1164536,7 @@ var AccessTokenPosthogManager = class {
1164535
1164536
  properties: {
1164536
1164537
  ...event,
1164537
1164538
  ...event.properties,
1164538
- version: "0.33.5",
1164539
+ version: "0.33.6-rc0",
1164539
1164540
  usingAccessToken: true
1164540
1164541
  }
1164541
1164542
  });
@@ -1164597,7 +1164598,7 @@ var UserPosthogManager = class {
1164597
1164598
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
1164598
1164599
  event: "CLI",
1164599
1164600
  properties: {
1164600
- version: "0.33.5",
1164601
+ version: "0.33.6-rc0",
1164601
1164602
  ...event,
1164602
1164603
  ...event.properties
1164603
1164604
  }
@@ -1192635,10 +1192636,10 @@ var CliContext = class {
1192635
1192636
  return "fern-api";
1192636
1192637
  }
1192637
1192638
  getPackageVersion() {
1192638
- if ("0.33.5" == null) {
1192639
+ if ("0.33.6-rc0" == null) {
1192639
1192640
  this.logger.error("CLI_VERSION is not defined");
1192640
1192641
  }
1192641
- return "0.33.5";
1192642
+ return "0.33.6-rc0";
1192642
1192643
  }
1192643
1192644
  getCliName() {
1192644
1192645
  if ("fern" == null) {
@@ -1200755,11 +1200756,14 @@ var ApiReferenceNodeConverter = class {
1200755
1200756
  __privateAdd(this, _children, []);
1200756
1200757
  __privateAdd(this, _overviewPageId, void 0);
1200757
1200758
  __privateAdd(this, _slug, void 0);
1200759
+ __publicField(this, "disableEndpointPairs");
1200760
+ var _a5;
1200758
1200761
  this.apiSection = apiSection;
1200759
1200762
  this.workspace = workspace;
1200760
1200763
  this.docsWorkspace = docsWorkspace;
1200761
1200764
  this.taskContext = taskContext;
1200762
1200765
  this.markdownFilesToFullSlugs = markdownFilesToFullSlugs;
1200766
+ this.disableEndpointPairs = ((_a5 = docsWorkspace.config.experimental) == null ? void 0 : _a5.disableStreamToggle) ?? false;
1200763
1200767
  this.apiDefinitionId = navigation_exports2.ApiDefinitionId(api.id);
1200764
1200768
  __privateSet(this, _holder2, ApiDefinitionHolder2.create(api, taskContext));
1200765
1200769
  const idgen = NodeIdGenerator2.init(this.apiDefinitionId);
@@ -1200800,6 +1200804,9 @@ var ApiReferenceNodeConverter = class {
1200800
1200804
  };
1200801
1200805
  }
1200802
1200806
  mergeEndpointPairs(children2) {
1200807
+ if (this.disableEndpointPairs) {
1200808
+ return children2;
1200809
+ }
1200803
1200810
  const toRet = [];
1200804
1200811
  const methodAndPathToEndpointNode = /* @__PURE__ */ new Map();
1200805
1200812
  children2.forEach((child) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fern-api",
3
- "version": "0.33.5",
3
+ "version": "0.33.6-rc0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",