@fern-api/fern-api-dev 5.23.3-1602-g5e8cf8e3df4 → 5.23.3-1608-g4320479ff8d
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 +25 -8
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -117558,7 +117558,8 @@ var init_DocsYmlSchemas = __esm({
|
|
|
117558
117558
|
"hide-nav-links": external_exports.boolean().optional(),
|
|
117559
117559
|
"hide-feedback": external_exports.boolean().optional(),
|
|
117560
117560
|
"mobile-toc": external_exports.boolean().optional(),
|
|
117561
|
-
"changelog-layout": ChangelogLayout.optional()
|
|
117561
|
+
"changelog-layout": ChangelogLayout.optional(),
|
|
117562
|
+
"show-nav-availability-badges": external_exports.boolean().optional()
|
|
117562
117563
|
});
|
|
117563
117564
|
SearchSettingsConfig = external_exports.object({
|
|
117564
117565
|
"prioritize-current-product": external_exports.boolean().optional(),
|
|
@@ -123154,7 +123155,8 @@ var init_LayoutConfig2 = __esm({
|
|
|
123154
123155
|
hideNavLinks: schemas_exports6.property("hide-nav-links", schemas_exports6.boolean().optional()),
|
|
123155
123156
|
hideFeedback: schemas_exports6.property("hide-feedback", schemas_exports6.boolean().optional()),
|
|
123156
123157
|
mobileToc: schemas_exports6.property("mobile-toc", schemas_exports6.boolean().optional()),
|
|
123157
|
-
changelogLayout: schemas_exports6.property("changelog-layout", ChangelogLayout3.optional())
|
|
123158
|
+
changelogLayout: schemas_exports6.property("changelog-layout", ChangelogLayout3.optional()),
|
|
123159
|
+
showNavAvailabilityBadges: schemas_exports6.property("show-nav-availability-badges", schemas_exports6.boolean().optional())
|
|
123158
123160
|
});
|
|
123159
123161
|
}
|
|
123160
123162
|
});
|
|
@@ -233903,6 +233905,10 @@ function convertLayoutConfig(layout, themeTabsAlignment, themeTabsPlacement) {
|
|
|
233903
233905
|
// fern-platform companion PR. Part of the `as unknown as` cast below
|
|
233904
233906
|
// until the published FDR SDK adds `changelogLayout`.
|
|
233905
233907
|
changelogLayout: layout.changelogLayout,
|
|
233908
|
+
// Opt-in (default off, resolved by the fern-platform companion PR):
|
|
233909
|
+
// when true the sidebar renders inline availability badges. Part of the
|
|
233910
|
+
// `as unknown as` cast below until the published FDR SDK adds the field.
|
|
233911
|
+
showNavAvailabilityBadges: layout.showNavAvailabilityBadges,
|
|
233906
233912
|
tabsAlignment: resolvedTabsAlignment
|
|
233907
233913
|
};
|
|
233908
233914
|
}
|
|
@@ -691496,7 +691502,7 @@ var AccessTokenPosthogManager = class {
|
|
|
691496
691502
|
properties: {
|
|
691497
691503
|
...event,
|
|
691498
691504
|
...event.properties,
|
|
691499
|
-
version: "5.23.3-
|
|
691505
|
+
version: "5.23.3-1608-g4320479ff8d",
|
|
691500
691506
|
usingAccessToken: true,
|
|
691501
691507
|
...getRunIdProperties()
|
|
691502
691508
|
}
|
|
@@ -691562,7 +691568,7 @@ var UserPosthogManager = class {
|
|
|
691562
691568
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
691563
691569
|
event: "CLI",
|
|
691564
691570
|
properties: {
|
|
691565
|
-
version: "5.23.3-
|
|
691571
|
+
version: "5.23.3-1608-g4320479ff8d",
|
|
691566
691572
|
...event,
|
|
691567
691573
|
...event.properties,
|
|
691568
691574
|
usingAccessToken: false,
|
|
@@ -872668,7 +872674,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
872668
872674
|
var LOGS_FOLDER_NAME = "logs";
|
|
872669
872675
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
872670
872676
|
function getCliSource() {
|
|
872671
|
-
const version7 = "5.23.3-
|
|
872677
|
+
const version7 = "5.23.3-1608-g4320479ff8d";
|
|
872672
872678
|
return `cli@${version7}`;
|
|
872673
872679
|
}
|
|
872674
872680
|
var DebugLogger = class {
|
|
@@ -900888,6 +900894,17 @@ og:description, headline, excerpt).`
|
|
|
900888
900894
|
}
|
|
900889
900895
|
],
|
|
900890
900896
|
description: "Sets which layout to use for changelog pages.\n\n@default: `timeline`\n\n- `timeline` renders the searchable timeline-of-cards layout.\n- `classic` renders the legacy stacked-entries layout with a per-page table of contents."
|
|
900897
|
+
},
|
|
900898
|
+
"show-nav-availability-badges": {
|
|
900899
|
+
oneOf: [
|
|
900900
|
+
{
|
|
900901
|
+
type: "boolean"
|
|
900902
|
+
},
|
|
900903
|
+
{
|
|
900904
|
+
type: "null"
|
|
900905
|
+
}
|
|
900906
|
+
],
|
|
900907
|
+
description: "If `show-nav-availability-badges` is set to true, availability badges (Beta, Deprecated, etc.)\nare rendered inline next to navigation items in the sidebar. Defaults to false. The page-header\navailability badge is unaffected by this setting."
|
|
900891
900908
|
}
|
|
900892
900909
|
},
|
|
900893
900910
|
additionalProperties: false
|
|
@@ -905335,7 +905352,7 @@ var LegacyDocsPublisher = class {
|
|
|
905335
905352
|
previewId,
|
|
905336
905353
|
disableTemplates: void 0,
|
|
905337
905354
|
skipUpload,
|
|
905338
|
-
cliVersion: "5.23.3-
|
|
905355
|
+
cliVersion: "5.23.3-1608-g4320479ff8d",
|
|
905339
905356
|
loginCommand: "fern auth login"
|
|
905340
905357
|
});
|
|
905341
905358
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -972253,7 +972270,7 @@ function getAutomationContextFromEnv() {
|
|
|
972253
972270
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
972254
972271
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
972255
972272
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
972256
|
-
cli_version: "5.23.3-
|
|
972273
|
+
cli_version: "5.23.3-1608-g4320479ff8d"
|
|
972257
972274
|
};
|
|
972258
972275
|
}
|
|
972259
972276
|
function isAutomationMode() {
|
|
@@ -973085,7 +973102,7 @@ var CliContext = class _CliContext {
|
|
|
973085
973102
|
if (false) {
|
|
973086
973103
|
this.logger.error("CLI_VERSION is not defined");
|
|
973087
973104
|
}
|
|
973088
|
-
return "5.23.3-
|
|
973105
|
+
return "5.23.3-1608-g4320479ff8d";
|
|
973089
973106
|
}
|
|
973090
973107
|
getCliName() {
|
|
973091
973108
|
if (false) {
|
package/package.json
CHANGED