@fern-api/fern-api-dev 3.54.0 → 3.54.1
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 +20 -4
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -1498423,6 +1498423,11 @@ var Generation = class {
|
|
|
1498423
1498423
|
origin: this.model.staticExplicit("JsonUtils"),
|
|
1498424
1498424
|
namespace: this.namespaces.core
|
|
1498425
1498425
|
}),
|
|
1498426
|
+
/** Test assertion helper for JSON comparison */
|
|
1498427
|
+
JsonAssert: () => this.csharp.classReference({
|
|
1498428
|
+
origin: this.model.staticExplicit("JsonAssert"),
|
|
1498429
|
+
namespace: this.namespaces.testUtils
|
|
1498430
|
+
}),
|
|
1498426
1498431
|
/** Factory for creating custom pagination instances */
|
|
1498427
1498432
|
CustomPagerFactory: () => this.csharp.classReference({
|
|
1498428
1498433
|
origin: this.model.staticExplicit(`${this.names.classes.customPager}Factory`),
|
|
@@ -1632565,6 +1632570,17 @@ https://buildwithfern.com/learn/docs/getting-started/project-structure#api-defin
|
|
|
1632565
1632570
|
context: this.taskContext,
|
|
1632566
1632571
|
sourceResolver: new SourceResolverImpl(this.taskContext, workspace)
|
|
1632567
1632572
|
});
|
|
1632573
|
+
} else if (Object.keys(snippetsConfig).length > 0) {
|
|
1632574
|
+
try {
|
|
1632575
|
+
workspace = await this.getFernWorkspaceForApiSection(item).toFernWorkspace({ context: this.taskContext }, {
|
|
1632576
|
+
enableUniqueErrorsPerEndpoint: true,
|
|
1632577
|
+
detectGlobalHeaders: false,
|
|
1632578
|
+
objectQueryParameters: true,
|
|
1632579
|
+
preserveSchemaIds: true
|
|
1632580
|
+
});
|
|
1632581
|
+
} catch (error49) {
|
|
1632582
|
+
this.taskContext.logger.debug(`Could not load workspace for dynamic snippets: ${error49}. Dynamic snippets may not be available.`);
|
|
1632583
|
+
}
|
|
1632568
1632584
|
}
|
|
1632569
1632585
|
if (this.docsWorkspace.config.settings?.substituteEnvVars) {
|
|
1632570
1632586
|
ir14 = replaceEnvVariables(ir14, {
|
|
@@ -1652567,7 +1652583,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1652567
1652583
|
properties: {
|
|
1652568
1652584
|
...event,
|
|
1652569
1652585
|
...event.properties,
|
|
1652570
|
-
version: "3.54.
|
|
1652586
|
+
version: "3.54.1",
|
|
1652571
1652587
|
usingAccessToken: true
|
|
1652572
1652588
|
}
|
|
1652573
1652589
|
});
|
|
@@ -1652617,7 +1652633,7 @@ var UserPosthogManager = class {
|
|
|
1652617
1652633
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1652618
1652634
|
event: "CLI",
|
|
1652619
1652635
|
properties: {
|
|
1652620
|
-
version: "3.54.
|
|
1652636
|
+
version: "3.54.1",
|
|
1652621
1652637
|
...event,
|
|
1652622
1652638
|
...event.properties,
|
|
1652623
1652639
|
usingAccessToken: false,
|
|
@@ -1685759,7 +1685775,7 @@ var CliContext = class {
|
|
|
1685759
1685775
|
if (false) {
|
|
1685760
1685776
|
this.logger.error("CLI_VERSION is not defined");
|
|
1685761
1685777
|
}
|
|
1685762
|
-
return "3.54.
|
|
1685778
|
+
return "3.54.1";
|
|
1685763
1685779
|
}
|
|
1685764
1685780
|
getCliName() {
|
|
1685765
1685781
|
if (false) {
|
|
@@ -1688872,7 +1688888,7 @@ var import_path54 = __toESM(require("path"), 1);
|
|
|
1688872
1688888
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
1688873
1688889
|
var LOGS_FOLDER_NAME = "logs";
|
|
1688874
1688890
|
function getCliSource() {
|
|
1688875
|
-
const version7 = "3.54.
|
|
1688891
|
+
const version7 = "3.54.1";
|
|
1688876
1688892
|
return `cli@${version7}`;
|
|
1688877
1688893
|
}
|
|
1688878
1688894
|
var DebugLogger = class {
|
package/package.json
CHANGED