@fern-api/fern-api-dev 4.63.2 → 4.63.3
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 +10 -7
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -520500,7 +520500,7 @@ function convertSchemaObject(schema2, wrapAsOptional, wrapAsNullable, context3,
|
|
|
520500
520500
|
}
|
|
520501
520501
|
if (schema2.type === "boolean") {
|
|
520502
520502
|
const literalValue = getExtension(schema2, FernOpenAPIExtension.BOOLEAN_LITERAL);
|
|
520503
|
-
const resolvedLiteral = literalValue ?? getSingleBooleanEnumValue(schema2, blockConstCoercionToLiteral);
|
|
520503
|
+
const resolvedLiteral = literalValue ?? getSingleBooleanEnumValue(schema2, blockConstCoercionToLiteral, context3.options.coerceEnumsToLiterals);
|
|
520504
520504
|
if (resolvedLiteral != null) {
|
|
520505
520505
|
return wrapLiteral({
|
|
520506
520506
|
nameOverride,
|
|
@@ -521245,10 +521245,13 @@ function convertSchemaObject(schema2, wrapAsOptional, wrapAsNullable, context3,
|
|
|
521245
521245
|
});
|
|
521246
521246
|
}
|
|
521247
521247
|
}
|
|
521248
|
-
function getSingleBooleanEnumValue(schema2, blockConstCoercionToLiteral) {
|
|
521248
|
+
function getSingleBooleanEnumValue(schema2, blockConstCoercionToLiteral, coerceEnumsToLiterals) {
|
|
521249
521249
|
if (blockConstCoercionToLiteral) {
|
|
521250
521250
|
return void 0;
|
|
521251
521251
|
}
|
|
521252
|
+
if (!coerceEnumsToLiterals) {
|
|
521253
|
+
return void 0;
|
|
521254
|
+
}
|
|
521252
521255
|
if (schema2.enum != null && schema2.enum.length === 1 && typeof schema2.enum[0] === "boolean") {
|
|
521253
521256
|
return schema2.enum[0];
|
|
521254
521257
|
}
|
|
@@ -603121,7 +603124,7 @@ var AccessTokenPosthogManager = class {
|
|
|
603121
603124
|
properties: {
|
|
603122
603125
|
...event,
|
|
603123
603126
|
...event.properties,
|
|
603124
|
-
version: "4.63.
|
|
603127
|
+
version: "4.63.3",
|
|
603125
603128
|
usingAccessToken: true
|
|
603126
603129
|
}
|
|
603127
603130
|
});
|
|
@@ -603172,7 +603175,7 @@ var UserPosthogManager = class {
|
|
|
603172
603175
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
603173
603176
|
event: "CLI",
|
|
603174
603177
|
properties: {
|
|
603175
|
-
version: "4.63.
|
|
603178
|
+
version: "4.63.3",
|
|
603176
603179
|
...event,
|
|
603177
603180
|
...event.properties,
|
|
603178
603181
|
usingAccessToken: false,
|
|
@@ -839766,7 +839769,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
839766
839769
|
var LOGS_FOLDER_NAME = "logs";
|
|
839767
839770
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
839768
839771
|
function getCliSource() {
|
|
839769
|
-
const version7 = "4.63.
|
|
839772
|
+
const version7 = "4.63.3";
|
|
839770
839773
|
return `cli@${version7}`;
|
|
839771
839774
|
}
|
|
839772
839775
|
var DebugLogger = class {
|
|
@@ -850964,7 +850967,7 @@ var LegacyDocsPublisher = class {
|
|
|
850964
850967
|
previewId,
|
|
850965
850968
|
disableTemplates: void 0,
|
|
850966
850969
|
skipUpload,
|
|
850967
|
-
cliVersion: "4.63.
|
|
850970
|
+
cliVersion: "4.63.3"
|
|
850968
850971
|
});
|
|
850969
850972
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
850970
850973
|
return { success: false };
|
|
@@ -924342,7 +924345,7 @@ var CliContext = class {
|
|
|
924342
924345
|
if (false) {
|
|
924343
924346
|
this.logger.error("CLI_VERSION is not defined");
|
|
924344
924347
|
}
|
|
924345
|
-
return "4.63.
|
|
924348
|
+
return "4.63.3";
|
|
924346
924349
|
}
|
|
924347
924350
|
getCliName() {
|
|
924348
924351
|
if (false) {
|
package/package.json
CHANGED