@fern-api/fern-api-dev 3.31.2 → 3.32.0

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 +9 -5
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -1413665,7 +1413665,7 @@ var AccessTokenPosthogManager = class {
1413665
1413665
  properties: {
1413666
1413666
  ...event,
1413667
1413667
  ...event.properties,
1413668
- version: "3.31.2",
1413668
+ version: "3.32.0",
1413669
1413669
  usingAccessToken: true
1413670
1413670
  }
1413671
1413671
  });
@@ -1413764,7 +1413764,7 @@ var UserPosthogManager = class {
1413764
1413764
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
1413765
1413765
  event: "CLI",
1413766
1413766
  properties: {
1413767
- version: "3.31.2",
1413767
+ version: "3.32.0",
1413768
1413768
  ...event,
1413769
1413769
  ...event.properties,
1413770
1413770
  usingAccessToken: false,
@@ -1470874,6 +1470874,7 @@ var EnumType = schemas_exports5.objectWithoutOptionalProperties({
1470874
1470874
  var ObjectType = schemas_exports5.objectWithoutOptionalProperties({
1470875
1470875
  declaration: Declaration2,
1470876
1470876
  properties: schemas_exports5.list(NamedParameter),
1470877
+ extends: schemas_exports5.list(TypeId3).optional(),
1470877
1470878
  additionalProperties: schemas_exports5.boolean().optional()
1470878
1470879
  });
1470879
1470880
 
@@ -1493831,7 +1493832,7 @@ var CliContext = class {
1493831
1493832
  if (false) {
1493832
1493833
  this.logger.error("CLI_VERSION is not defined");
1493833
1493834
  }
1493834
- return "3.31.2";
1493835
+ return "3.32.0";
1493835
1493836
  }
1493836
1493837
  getCliName() {
1493837
1493838
  if (false) {
@@ -1567880,16 +1567881,19 @@ var DynamicSnippetsConverter = class {
1567880
1567881
  convertObject({ declaration, object: object8, typeId }) {
1567881
1567882
  const hasSelfInterface = this.extendedTypeIds.has(typeId);
1567882
1567883
  const properties7 = hasSelfInterface ? [...object8.properties, ...object8.extendedProperties ?? []] : [...object8.extendedProperties ?? [], ...object8.properties];
1567884
+ const extendsTypeIds = object8.extends.length > 0 ? object8.extends.map((ext2) => ext2.typeId) : void 0;
1567883
1567885
  return this.convertObjectProperties({
1567884
1567886
  declaration,
1567885
1567887
  properties: properties7,
1567888
+ extends_: extendsTypeIds,
1567886
1567889
  additionalProperties: object8.extraProperties
1567887
1567890
  });
1567888
1567891
  }
1567889
- convertObjectProperties({ declaration, properties: properties7, additionalProperties: additionalProperties7 }) {
1567892
+ convertObjectProperties({ declaration, properties: properties7, extends_, additionalProperties: additionalProperties7 }) {
1567890
1567893
  return dynamic_exports.NamedType.object({
1567891
1567894
  declaration,
1567892
1567895
  properties: this.convertBodyPropertiesToParameters({ properties: properties7 }),
1567896
+ extends: extends_,
1567893
1567897
  additionalProperties: additionalProperties7
1567894
1567898
  });
1567895
1567899
  }
@@ -1588688,7 +1588692,7 @@ var import_path35 = __toESM(require("path"), 1);
1588688
1588692
  var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
1588689
1588693
  var LOGS_FOLDER_NAME = "logs";
1588690
1588694
  function getCliSource() {
1588691
- const version6 = "3.31.2";
1588695
+ const version6 = "3.32.0";
1588692
1588696
  return `cli@${version6}`;
1588693
1588697
  }
1588694
1588698
  var DebugLogger = class {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.31.2",
2
+ "version": "3.32.0",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",