@fern-api/fern-api-dev 4.53.0 → 4.53.1-11-gb3c57b310a3

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 +55 -5
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -602380,7 +602380,7 @@ var AccessTokenPosthogManager = class {
602380
602380
  properties: {
602381
602381
  ...event,
602382
602382
  ...event.properties,
602383
- version: "4.53.0",
602383
+ version: "4.53.1-11-gb3c57b310a3",
602384
602384
  usingAccessToken: true
602385
602385
  }
602386
602386
  });
@@ -602431,7 +602431,7 @@ var UserPosthogManager = class {
602431
602431
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
602432
602432
  event: "CLI",
602433
602433
  properties: {
602434
- version: "4.53.0",
602434
+ version: "4.53.1-11-gb3c57b310a3",
602435
602435
  ...event,
602436
602436
  ...event.properties,
602437
602437
  usingAccessToken: false,
@@ -826304,7 +826304,7 @@ var import_path54 = __toESM(require("path"), 1);
826304
826304
  var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
826305
826305
  var LOGS_FOLDER_NAME = "logs";
826306
826306
  function getCliSource() {
826307
- const version7 = "4.53.0";
826307
+ const version7 = "4.53.1-11-gb3c57b310a3";
826308
826308
  return `cli@${version7}`;
826309
826309
  }
826310
826310
  var DebugLogger = class {
@@ -837316,7 +837316,7 @@ var LegacyDocsPublisher = class {
837316
837316
  previewId: void 0,
837317
837317
  disableTemplates: void 0,
837318
837318
  skipUpload,
837319
- cliVersion: "4.53.0"
837319
+ cliVersion: "4.53.1-11-gb3c57b310a3"
837320
837320
  });
837321
837321
  if (taskContext.getResult() === TaskResult.Failure) {
837322
837322
  return { success: false };
@@ -875310,6 +875310,28 @@ var RustFilenameRegistry = class _RustFilenameRegistry {
875310
875310
  baseTypeName
875311
875311
  ]);
875312
875312
  }
875313
+ /**
875314
+ * Register filename for bytes request body types
875315
+ * @param endpointId - Unique endpoint ID from IR
875316
+ * @param baseFilename - Base filename in snake_case (without .rs extension)
875317
+ * @returns The registered unique filename (without .rs extension)
875318
+ */
875319
+ registerBytesRequestFilename(endpointId, baseFilename) {
875320
+ return this.filenameRegistry.registerSymbol(this.getBytesRequestFilenameId(endpointId), [
875321
+ baseFilename,
875322
+ `${baseFilename}_request`,
875323
+ `${baseFilename}_bytes`
875324
+ ]);
875325
+ }
875326
+ /**
875327
+ * Register type name for bytes request body
875328
+ * @param endpointId - Unique endpoint ID from IR
875329
+ * @param baseTypeName - Base type name in PascalCase
875330
+ * @returns The registered unique type name
875331
+ */
875332
+ registerBytesRequestTypeName(endpointId, baseTypeName) {
875333
+ return this.typenameRegistry.registerSymbol(this.getBytesRequestTypeNameId(endpointId), [baseTypeName]);
875334
+ }
875313
875335
  /**
875314
875336
  * Register client name for a subpackage or root client
875315
875337
  * @param clientId - Unique identifier for the client (subpackage ID or "root")
@@ -875451,6 +875473,28 @@ var RustFilenameRegistry = class _RustFilenameRegistry {
875451
875473
  assertDefined(typename, `Type name not found for referenced request with query ${endpointId}`);
875452
875474
  return typename;
875453
875475
  }
875476
+ /**
875477
+ * Get registered filename for bytes request body
875478
+ * @param endpointId - Unique endpoint ID from IR
875479
+ * @returns Filename with .rs extension
875480
+ * @throws Error if filename not registered
875481
+ */
875482
+ getBytesRequestFilenameOrThrow(endpointId) {
875483
+ const filename = this.filenameRegistry.getSymbolNameById(this.getBytesRequestFilenameId(endpointId));
875484
+ assertDefined(filename, `Filename not found for bytes request ${endpointId}`);
875485
+ return `${filename}.rs`;
875486
+ }
875487
+ /**
875488
+ * Get registered type name for bytes request body
875489
+ * @param endpointId - Unique endpoint ID from IR
875490
+ * @returns The unique type name
875491
+ * @throws Error if type name not registered
875492
+ */
875493
+ getBytesRequestTypeNameOrThrow(endpointId) {
875494
+ const typename = this.typenameRegistry.getSymbolNameById(this.getBytesRequestTypeNameId(endpointId));
875495
+ assertDefined(typename, `Type name not found for bytes request ${endpointId}`);
875496
+ return typename;
875497
+ }
875454
875498
  // =====================================
875455
875499
  // Private Helper Methods
875456
875500
  // =====================================
@@ -875487,6 +875531,12 @@ var RustFilenameRegistry = class _RustFilenameRegistry {
875487
875531
  getReferencedRequestWithQueryTypeNameId(endpointId) {
875488
875532
  return `${TYPENAME_ID_PREFIX}referenced_request_with_query_${endpointId}`;
875489
875533
  }
875534
+ getBytesRequestFilenameId(endpointId) {
875535
+ return `${FILENAME_ID_PREFIX}bytes_request_${endpointId}`;
875536
+ }
875537
+ getBytesRequestTypeNameId(endpointId) {
875538
+ return `${TYPENAME_ID_PREFIX}bytes_request_${endpointId}`;
875539
+ }
875490
875540
  };
875491
875541
 
875492
875542
  // ../../../generators/rust/base/lib/utils/index.js
@@ -910436,7 +910486,7 @@ var CliContext = class {
910436
910486
  if (false) {
910437
910487
  this.logger.error("CLI_VERSION is not defined");
910438
910488
  }
910439
- return "4.53.0";
910489
+ return "4.53.1-11-gb3c57b310a3";
910440
910490
  }
910441
910491
  getCliName() {
910442
910492
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.53.0",
2
+ "version": "4.53.1-11-gb3c57b310a3",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",