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