@fern-api/fern-api-dev 4.77.0-4-g23ada903e77 → 4.78.0-10-gbd76a27ad0c
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 +8 -7
- 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.
|
|
622192
|
+
version: "4.78.0-10-gbd76a27ad0c",
|
|
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.
|
|
622246
|
+
version: "4.78.0-10-gbd76a27ad0c",
|
|
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.
|
|
839473
|
+
const version7 = "4.78.0-10-gbd76a27ad0c";
|
|
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.
|
|
850792
|
+
cliVersion: "4.78.0-10-gbd76a27ad0c"
|
|
850793
850793
|
});
|
|
850794
850794
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
850795
850795
|
return { success: false };
|
|
@@ -886450,12 +886450,13 @@ var DynamicSnippetsGeneratorContext5 = class _DynamicSnippetsGeneratorContext ex
|
|
|
886450
886450
|
}
|
|
886451
886451
|
getDiscriminatedUnionVariantClassReference({ unionDeclaration, discriminantValue }) {
|
|
886452
886452
|
const unionClassName = this.getClassName(unionDeclaration.name);
|
|
886453
|
-
const
|
|
886453
|
+
const variantName = 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
|
-
|
|
886458
|
+
const name2 = this.customConfig.pydantic_config?.union_naming === "v1" ? `${variantName}${unionClassName}` : `${unionClassName}_${variantName}`;
|
|
886459
|
+
return python_exports2.reference({ name: name2, modulePath });
|
|
886459
886460
|
}
|
|
886460
886461
|
useTypedDictRequests() {
|
|
886461
886462
|
return this.customConfig.use_typeddict_requests === true;
|
|
@@ -925861,7 +925862,7 @@ var CliContext = class _CliContext {
|
|
|
925861
925862
|
if (false) {
|
|
925862
925863
|
this.logger.error("CLI_VERSION is not defined");
|
|
925863
925864
|
}
|
|
925864
|
-
return "4.
|
|
925865
|
+
return "4.78.0-10-gbd76a27ad0c";
|
|
925865
925866
|
}
|
|
925866
925867
|
getCliName() {
|
|
925867
925868
|
if (false) {
|
package/package.json
CHANGED