@fern-api/fern-api-dev 4.46.2 → 4.46.3-6-gf5a6845b73d

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 +15 -8
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -509587,14 +509587,21 @@ function buildOneOfTypeDeclaration({ schema: schema2, context: context3, declara
509587
509587
  return {
509588
509588
  name: schema2.nameOverride ?? schema2.generatedName,
509589
509589
  schema: {
509590
- discriminant: schema2.discriminantPropertyNameOverride != null ? { name: schema2.discriminantPropertyNameOverride, value: schema2.discriminantProperty } : schema2.discriminantProperty,
509590
+ discriminant: schema2.discriminantPropertyNameOverride != null || schema2.discriminatorContext != null ? {
509591
+ ...schema2.discriminantPropertyNameOverride != null && {
509592
+ name: schema2.discriminantPropertyNameOverride
509593
+ },
509594
+ value: schema2.discriminantProperty,
509595
+ ...schema2.discriminatorContext != null && {
509596
+ context: schema2.discriminatorContext
509597
+ }
509598
+ } : schema2.discriminantProperty,
509591
509599
  "base-properties": baseProperties,
509592
509600
  docs: schema2.description ?? void 0,
509593
509601
  availability: schema2.availability != null ? convertAvailability(schema2.availability) : void 0,
509594
509602
  union: union21,
509595
509603
  encoding,
509596
- source: schema2.source != null ? convertToSourceSchema(schema2.source) : void 0,
509597
- ...schema2.discriminatorContext && { context: schema2.discriminatorContext }
509604
+ source: schema2.source != null ? convertToSourceSchema(schema2.source) : void 0
509598
509605
  }
509599
509606
  };
509600
509607
  }
@@ -601761,7 +601768,7 @@ var AccessTokenPosthogManager = class {
601761
601768
  properties: {
601762
601769
  ...event,
601763
601770
  ...event.properties,
601764
- version: "4.46.2",
601771
+ version: "4.46.3-6-gf5a6845b73d",
601765
601772
  usingAccessToken: true
601766
601773
  }
601767
601774
  });
@@ -601812,7 +601819,7 @@ var UserPosthogManager = class {
601812
601819
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
601813
601820
  event: "CLI",
601814
601821
  properties: {
601815
- version: "4.46.2",
601822
+ version: "4.46.3-6-gf5a6845b73d",
601816
601823
  ...event,
601817
601824
  ...event.properties,
601818
601825
  usingAccessToken: false,
@@ -825666,7 +825673,7 @@ var import_path54 = __toESM(require("path"), 1);
825666
825673
  var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
825667
825674
  var LOGS_FOLDER_NAME = "logs";
825668
825675
  function getCliSource() {
825669
- const version7 = "4.46.2";
825676
+ const version7 = "4.46.3-6-gf5a6845b73d";
825670
825677
  return `cli@${version7}`;
825671
825678
  }
825672
825679
  var DebugLogger = class {
@@ -836633,7 +836640,7 @@ var LegacyDocsPublisher = class {
836633
836640
  previewId: void 0,
836634
836641
  disableTemplates: void 0,
836635
836642
  skipUpload,
836636
- cliVersion: "4.46.2"
836643
+ cliVersion: "4.46.3-6-gf5a6845b73d"
836637
836644
  });
836638
836645
  if (taskContext.getResult() === TaskResult.Failure) {
836639
836646
  return { success: false };
@@ -909483,7 +909490,7 @@ var CliContext = class {
909483
909490
  if (false) {
909484
909491
  this.logger.error("CLI_VERSION is not defined");
909485
909492
  }
909486
- return "4.46.2";
909493
+ return "4.46.3-6-gf5a6845b73d";
909487
909494
  }
909488
909495
  getCliName() {
909489
909496
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.46.2",
2
+ "version": "4.46.3-6-gf5a6845b73d",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",