@fern-api/fern-api-dev 5.51.1 → 5.51.2
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.
- package/cli.cjs +9 -6
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -153498,6 +153498,9 @@ function convertSchemaObject(schema, wrapAsOptional, wrapAsNullable, context3, b
|
|
|
153498
153498
|
let groupName = (typeof mixedGroupName === "string" ? [mixedGroupName] : mixedGroupName) ?? [];
|
|
153499
153499
|
groupName = context3.resolveGroupName(groupName);
|
|
153500
153500
|
const generatedName = getGeneratedTypeName(breadcrumbs, context3.options.preserveSchemaIds);
|
|
153501
|
+
if (nameOverride != null) {
|
|
153502
|
+
breadcrumbs = [nameOverride];
|
|
153503
|
+
}
|
|
153501
153504
|
const title2 = schema.title;
|
|
153502
153505
|
const description = schema.description;
|
|
153503
153506
|
const availability = convertAvailability2(schema);
|
|
@@ -686381,7 +686384,7 @@ var AccessTokenPosthogManager = class {
|
|
|
686381
686384
|
properties: {
|
|
686382
686385
|
...event,
|
|
686383
686386
|
...event.properties,
|
|
686384
|
-
version: "5.51.
|
|
686387
|
+
version: "5.51.2",
|
|
686385
686388
|
usingAccessToken: true,
|
|
686386
686389
|
...getRunIdProperties()
|
|
686387
686390
|
}
|
|
@@ -686447,7 +686450,7 @@ var UserPosthogManager = class {
|
|
|
686447
686450
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
686448
686451
|
event: "CLI",
|
|
686449
686452
|
properties: {
|
|
686450
|
-
version: "5.51.
|
|
686453
|
+
version: "5.51.2",
|
|
686451
686454
|
...event,
|
|
686452
686455
|
...event.properties,
|
|
686453
686456
|
usingAccessToken: false,
|
|
@@ -867509,7 +867512,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
867509
867512
|
var LOGS_FOLDER_NAME = "logs";
|
|
867510
867513
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
867511
867514
|
function getCliSource() {
|
|
867512
|
-
const version7 = "5.51.
|
|
867515
|
+
const version7 = "5.51.2";
|
|
867513
867516
|
return `cli@${version7}`;
|
|
867514
867517
|
}
|
|
867515
867518
|
var DebugLogger = class {
|
|
@@ -899697,7 +899700,7 @@ var LegacyDocsPublisher = class {
|
|
|
899697
899700
|
previewId,
|
|
899698
899701
|
disableTemplates: void 0,
|
|
899699
899702
|
skipUpload,
|
|
899700
|
-
cliVersion: "5.51.
|
|
899703
|
+
cliVersion: "5.51.2",
|
|
899701
899704
|
loginCommand: "fern auth login"
|
|
899702
899705
|
});
|
|
899703
899706
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -965838,7 +965841,7 @@ function getAutomationContextFromEnv() {
|
|
|
965838
965841
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
965839
965842
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
965840
965843
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
965841
|
-
cli_version: "5.51.
|
|
965844
|
+
cli_version: "5.51.2"
|
|
965842
965845
|
};
|
|
965843
965846
|
}
|
|
965844
965847
|
function isAutomationMode() {
|
|
@@ -966670,7 +966673,7 @@ var CliContext = class _CliContext {
|
|
|
966670
966673
|
if (false) {
|
|
966671
966674
|
this.logger.error("CLI_VERSION is not defined");
|
|
966672
966675
|
}
|
|
966673
|
-
return "5.51.
|
|
966676
|
+
return "5.51.2";
|
|
966674
966677
|
}
|
|
966675
966678
|
getCliName() {
|
|
966676
966679
|
if (false) {
|
package/package.json
CHANGED