@fern-api/fern-api-dev 4.80.0 → 4.80.1-1-ga99fe29b19e

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 +13 -7
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -596568,12 +596568,13 @@ var OneOfSchemaConverter = class extends AbstractConverter {
596568
596568
  });
596569
596569
  const rawSchemaName = reference4.split("/").pop() ?? typeId;
596570
596570
  const schemaTitle = resolvedSchema.resolved ? resolvedSchema.value.title : void 0;
596571
+ const schemaDescription = resolvedSchema.resolved ? resolvedSchema.value.description : void 0;
596571
596572
  const variantDisplayName = schemaTitle ?? discriminant21 ?? rawSchemaName;
596572
596573
  if (convertedSchema.schema?.typeDeclaration != null && schemaTitle != null) {
596573
596574
  convertedSchema.schema.typeDeclaration.name.displayName = schemaTitle;
596574
596575
  }
596575
596576
  unionTypes.push({
596576
- docs: void 0,
596577
+ docs: schemaDescription,
596577
596578
  discriminantValue: nameAndWireValue,
596578
596579
  availability: convertedSchema.availability,
596579
596580
  displayName: variantDisplayName,
@@ -596685,9 +596686,14 @@ var OneOfSchemaConverter = class extends AbstractConverter {
596685
596686
  }
596686
596687
  }
596687
596688
  if (maybeTypeReference.ok) {
596689
+ const resolvedSchema = this.context.resolveReference({
596690
+ reference: subSchema,
596691
+ breadcrumbs: this.breadcrumbs
596692
+ });
596693
+ const schemaDescription = resolvedSchema.resolved ? resolvedSchema.value.description : void 0;
596688
596694
  unionTypes.push({
596689
596695
  type: maybeTypeReference.reference,
596690
- docs: subSchema.description
596696
+ docs: schemaDescription
596691
596697
  });
596692
596698
  }
596693
596699
  const typeId = this.context.getTypeIdFromSchemaReference(subSchema);
@@ -614276,7 +614282,7 @@ var AccessTokenPosthogManager = class {
614276
614282
  properties: {
614277
614283
  ...event,
614278
614284
  ...event.properties,
614279
- version: "4.80.0",
614285
+ version: "4.80.1-1-ga99fe29b19e",
614280
614286
  usingAccessToken: true
614281
614287
  }
614282
614288
  });
@@ -614330,7 +614336,7 @@ var UserPosthogManager = class {
614330
614336
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
614331
614337
  event: "CLI",
614332
614338
  properties: {
614333
- version: "4.80.0",
614339
+ version: "4.80.1-1-ga99fe29b19e",
614334
614340
  ...event,
614335
614341
  ...event.properties,
614336
614342
  usingAccessToken: false,
@@ -831611,7 +831617,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
831611
831617
  var LOGS_FOLDER_NAME = "logs";
831612
831618
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
831613
831619
  function getCliSource() {
831614
- const version7 = "4.80.0";
831620
+ const version7 = "4.80.1-1-ga99fe29b19e";
831615
831621
  return `cli@${version7}`;
831616
831622
  }
831617
831623
  var DebugLogger = class {
@@ -843125,7 +843131,7 @@ var LegacyDocsPublisher = class {
843125
843131
  previewId,
843126
843132
  disableTemplates: void 0,
843127
843133
  skipUpload,
843128
- cliVersion: "4.80.0"
843134
+ cliVersion: "4.80.1-1-ga99fe29b19e"
843129
843135
  });
843130
843136
  if (taskContext.getResult() === TaskResult.Failure) {
843131
843137
  return { success: false };
@@ -918206,7 +918212,7 @@ var CliContext = class _CliContext {
918206
918212
  if (false) {
918207
918213
  this.logger.error("CLI_VERSION is not defined");
918208
918214
  }
918209
- return "4.80.0";
918215
+ return "4.80.1-1-ga99fe29b19e";
918210
918216
  }
918211
918217
  getCliName() {
918212
918218
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.80.0",
2
+ "version": "4.80.1-1-ga99fe29b19e",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",