@fern-api/fern-api-dev 5.118.0 → 5.119.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 +23 -6
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -118484,6 +118484,7 @@ var init_DocsYmlSchemas = __esm({
|
|
|
118484
118484
|
"mobile-toc": external_exports.boolean().optional(),
|
|
118485
118485
|
"changelog-layout": ChangelogLayout.optional(),
|
|
118486
118486
|
"api-reference-layout": ApiReferenceLayout.optional(),
|
|
118487
|
+
"api-reference-expand-properties": external_exports.boolean().optional(),
|
|
118487
118488
|
"show-nav-availability-badges": external_exports.boolean().optional()
|
|
118488
118489
|
});
|
|
118489
118490
|
SearchSettingsConfig = external_exports.object({
|
|
@@ -124182,6 +124183,7 @@ var init_LayoutConfig2 = __esm({
|
|
|
124182
124183
|
mobileToc: schemas_exports6.property("mobile-toc", schemas_exports6.boolean().optional()),
|
|
124183
124184
|
changelogLayout: schemas_exports6.property("changelog-layout", ChangelogLayout3.optional()),
|
|
124184
124185
|
apiReferenceLayout: schemas_exports6.property("api-reference-layout", ApiReferenceLayout3.optional()),
|
|
124186
|
+
apiReferenceExpandProperties: schemas_exports6.property("api-reference-expand-properties", schemas_exports6.boolean().optional()),
|
|
124185
124187
|
showNavAvailabilityBadges: schemas_exports6.property("show-nav-availability-badges", schemas_exports6.boolean().optional())
|
|
124186
124188
|
});
|
|
124187
124189
|
}
|
|
@@ -238684,6 +238686,10 @@ function convertLayoutConfig(layout, themeTabsAlignment, themeTabsPlacement) {
|
|
|
238684
238686
|
// by the fern-platform companion PR. Part of the `as unknown as` cast
|
|
238685
238687
|
// below until the published FDR SDK adds `apiReferenceLayout`.
|
|
238686
238688
|
apiReferenceLayout: layout.apiReferenceLayout,
|
|
238689
|
+
// Opt-in (default off, resolved by the fern-platform companion PR): when
|
|
238690
|
+
// true the first level of nested API reference fields renders expanded.
|
|
238691
|
+
// Part of the `as unknown as` cast below until the published FDR SDK adds the field.
|
|
238692
|
+
apiReferenceExpandProperties: layout.apiReferenceExpandProperties,
|
|
238687
238693
|
// Opt-in (default off, resolved by the fern-platform companion PR):
|
|
238688
238694
|
// when true the sidebar renders inline availability badges. Part of the
|
|
238689
238695
|
// `as unknown as` cast below until the published FDR SDK adds the field.
|
|
@@ -465839,6 +465845,17 @@ og:description, headline, excerpt).`
|
|
|
465839
465845
|
],
|
|
465840
465846
|
description: "Sets how nested object fields are rendered in the API reference.\n\n@default: `indented`\n\n- `indented` renders each nested level as an indented branch with a connector line and a color-coded path breadcrumb.\n- `cards` renders each nested level as a bordered card."
|
|
465841
465847
|
},
|
|
465848
|
+
"api-reference-expand-properties": {
|
|
465849
|
+
oneOf: [
|
|
465850
|
+
{
|
|
465851
|
+
type: "boolean"
|
|
465852
|
+
},
|
|
465853
|
+
{
|
|
465854
|
+
type: "null"
|
|
465855
|
+
}
|
|
465856
|
+
],
|
|
465857
|
+
description: 'If `api-reference-expand-properties` is set to true, the first level of nested object\nand union fields in the API reference is expanded on page load instead of hidden behind\na "Show N properties" button. Deeper levels stay collapsed. Defaults to false.'
|
|
465858
|
+
},
|
|
465842
465859
|
"show-nav-availability-badges": {
|
|
465843
465860
|
oneOf: [
|
|
465844
465861
|
{
|
|
@@ -706693,7 +706710,7 @@ var AccessTokenPosthogManager = class {
|
|
|
706693
706710
|
properties: {
|
|
706694
706711
|
...event,
|
|
706695
706712
|
...event.properties,
|
|
706696
|
-
version: "5.
|
|
706713
|
+
version: "5.119.0",
|
|
706697
706714
|
usingAccessToken: true,
|
|
706698
706715
|
...getRunIdProperties()
|
|
706699
706716
|
}
|
|
@@ -706759,7 +706776,7 @@ var UserPosthogManager = class {
|
|
|
706759
706776
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
706760
706777
|
event: "CLI",
|
|
706761
706778
|
properties: {
|
|
706762
|
-
version: "5.
|
|
706779
|
+
version: "5.119.0",
|
|
706763
706780
|
...event,
|
|
706764
706781
|
...event.properties,
|
|
706765
706782
|
usingAccessToken: false,
|
|
@@ -888437,7 +888454,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
888437
888454
|
var LOGS_FOLDER_NAME = "logs";
|
|
888438
888455
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
888439
888456
|
function getCliSource() {
|
|
888440
|
-
const version7 = "5.
|
|
888457
|
+
const version7 = "5.119.0";
|
|
888441
888458
|
return `cli@${version7}`;
|
|
888442
888459
|
}
|
|
888443
888460
|
var DebugLogger = class {
|
|
@@ -915784,7 +915801,7 @@ var LegacyDocsPublisher = class {
|
|
|
915784
915801
|
previewId,
|
|
915785
915802
|
disableTemplates: void 0,
|
|
915786
915803
|
skipUpload,
|
|
915787
|
-
cliVersion: "5.
|
|
915804
|
+
cliVersion: "5.119.0",
|
|
915788
915805
|
loginCommand: "fern auth login"
|
|
915789
915806
|
});
|
|
915790
915807
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -983197,7 +983214,7 @@ function getAutomationContextFromEnv() {
|
|
|
983197
983214
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
983198
983215
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
983199
983216
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
983200
|
-
cli_version: "5.
|
|
983217
|
+
cli_version: "5.119.0"
|
|
983201
983218
|
};
|
|
983202
983219
|
}
|
|
983203
983220
|
function isAutomationMode() {
|
|
@@ -984029,7 +984046,7 @@ var CliContext = class _CliContext {
|
|
|
984029
984046
|
if (false) {
|
|
984030
984047
|
this.logger.error("CLI_VERSION is not defined");
|
|
984031
984048
|
}
|
|
984032
|
-
return "5.
|
|
984049
|
+
return "5.119.0";
|
|
984033
984050
|
}
|
|
984034
984051
|
getCliName() {
|
|
984035
984052
|
if (false) {
|
package/package.json
CHANGED