@fern-api/fern-api-dev 4.78.0-10-gbd76a27ad0c → 4.78.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 -8
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -622189,7 +622189,7 @@ var AccessTokenPosthogManager = class {
|
|
|
622189
622189
|
properties: {
|
|
622190
622190
|
...event,
|
|
622191
622191
|
...event.properties,
|
|
622192
|
-
version: "4.78.0
|
|
622192
|
+
version: "4.78.0",
|
|
622193
622193
|
usingAccessToken: true
|
|
622194
622194
|
}
|
|
622195
622195
|
});
|
|
@@ -622243,7 +622243,7 @@ var UserPosthogManager = class {
|
|
|
622243
622243
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
622244
622244
|
event: "CLI",
|
|
622245
622245
|
properties: {
|
|
622246
|
-
version: "4.78.0
|
|
622246
|
+
version: "4.78.0",
|
|
622247
622247
|
...event,
|
|
622248
622248
|
...event.properties,
|
|
622249
622249
|
usingAccessToken: false,
|
|
@@ -839470,7 +839470,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
839470
839470
|
var LOGS_FOLDER_NAME = "logs";
|
|
839471
839471
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
839472
839472
|
function getCliSource() {
|
|
839473
|
-
const version7 = "4.78.0
|
|
839473
|
+
const version7 = "4.78.0";
|
|
839474
839474
|
return `cli@${version7}`;
|
|
839475
839475
|
}
|
|
839476
839476
|
var DebugLogger = class {
|
|
@@ -850789,7 +850789,7 @@ var LegacyDocsPublisher = class {
|
|
|
850789
850789
|
previewId,
|
|
850790
850790
|
disableTemplates: void 0,
|
|
850791
850791
|
skipUpload,
|
|
850792
|
-
cliVersion: "4.78.0
|
|
850792
|
+
cliVersion: "4.78.0"
|
|
850793
850793
|
});
|
|
850794
850794
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
850795
850795
|
return { success: false };
|
|
@@ -886450,13 +886450,12 @@ var DynamicSnippetsGeneratorContext5 = class _DynamicSnippetsGeneratorContext ex
|
|
|
886450
886450
|
}
|
|
886451
886451
|
getDiscriminatedUnionVariantClassReference({ unionDeclaration, discriminantValue }) {
|
|
886452
886452
|
const unionClassName = this.getClassName(unionDeclaration.name);
|
|
886453
|
-
const
|
|
886453
|
+
const variantSuffix = discriminantValue.name.pascalCase.safeName;
|
|
886454
886454
|
const modulePath = [
|
|
886455
886455
|
...this.getRootModulePath(),
|
|
886456
886456
|
...unionDeclaration.fernFilepath.allParts.map((part) => part.snakeCase.safeName)
|
|
886457
886457
|
];
|
|
886458
|
-
|
|
886459
|
-
return python_exports2.reference({ name: name2, modulePath });
|
|
886458
|
+
return python_exports2.reference({ name: `${unionClassName}_${variantSuffix}`, modulePath });
|
|
886460
886459
|
}
|
|
886461
886460
|
useTypedDictRequests() {
|
|
886462
886461
|
return this.customConfig.use_typeddict_requests === true;
|
|
@@ -925862,7 +925861,7 @@ var CliContext = class _CliContext {
|
|
|
925862
925861
|
if (false) {
|
|
925863
925862
|
this.logger.error("CLI_VERSION is not defined");
|
|
925864
925863
|
}
|
|
925865
|
-
return "4.78.0
|
|
925864
|
+
return "4.78.0";
|
|
925866
925865
|
}
|
|
925867
925866
|
getCliName() {
|
|
925868
925867
|
if (false) {
|
package/package.json
CHANGED