@fern-api/fern-api-dev 5.23.3-947-ga9032a3d959 → 5.23.3-956-g7bc562f3f7a

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.
Files changed (2) hide show
  1. package/cli.cjs +66 -9
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -116508,6 +116508,7 @@ __export(DocsYmlSchemas_exports, {
116508
116508
  BodyThemeConfig: () => BodyThemeConfig,
116509
116509
  ChangelogConfiguration: () => ChangelogConfiguration,
116510
116510
  ChangelogFolderRelativePath: () => ChangelogFolderRelativePath,
116511
+ ChangelogLayout: () => ChangelogLayout,
116511
116512
  CheckConfig: () => CheckConfig,
116512
116513
  CheckRuleSeverity: () => CheckRuleSeverity,
116513
116514
  CheckRulesConfig: () => CheckRulesConfig,
@@ -116634,7 +116635,7 @@ function normalizeTranslationConfig(config5) {
116634
116635
  }
116635
116636
  return config5;
116636
116637
  }
116637
- var TabId, ChangelogFolderRelativePath, AudienceId, RoleId, LibraryName, ProgrammingLanguage, Language, PageActionOption, AIChatLocation, AIChatModel, EditThisPageLaunch, Availability2, VersionAvailability, TitleSource, LibraryLanguage, FontStyle, FontDisplay, SearchbarPlacement, TabsPlacement, SwitcherPlacement, ContentAlignment, HeaderPosition, ProductSwitcherThemeConfig, LanguageSwitcherThemeConfig, FooterNavThemeConfig, TabsThemeConfig, BodyThemeConfig, SidebarThemeConfig, PageActionsThemeConfig, HttpSnippetLanguage, Target, TwitterCardSetting, JsScriptStrategy, FontWeight, ColorThemedConfig, ColorConfig, Audience, Role, CustomDomain, HttpSnippetsConfig, BackgroundImageThemedConfig, BackgroundImageConfiguration, CssConfig, CollapsedStringValue, CollapsedValue, WithPermissions, FeatureFlag, FeatureFlagConfiguration, WithFeatureFlags, WithViewers, SegmentConfig, FullStoryAnalyticsConfig, IntercomConfig, PostHogConfig, GTMConfig, GoogleAnalytics4Config, AnalyticsConfig, AiExamplesConfig, AIChatWebsiteDatasource, AIChatDatasource, PageDescriptionSource, AgentsConfig, AIChatConfig, FontConfigVariant, FontConfigPath, FontConfig, DocsTypographyConfig, ThemeConfig, LayoutConfig, SearchSettingsConfig, DocsSettingsConfig, ColorsConfiguration, CustomPageAction, PageActionOptions, PageActionsConfig, GithubEditThisPageConfig, EditThisPageConfig, DocsInstance, LogoConfiguration, LinkConfiguration, VersionedSnippetLanguageConfiguration, SnippetLanguageConfiguration, SnippetsConfiguration, PlaygroundButtonSettings, PlaygroundSettings, AnnouncementConfig, NavbarLinkConfig, NavbarGithubConfigWithOptions, NavbarGithubConfig, NavbarDropdownConfig, NavbarLink, FooterLinksConfig, JsFileConfigSettings, JsFileConfig, JsRemoteConfig, JsConfigOptions, JsConfig, MetadataConfig, RedirectConfig, CheckRuleSeverity, CheckRulesConfig, CheckConfig, IntegrationsConfig, ExperimentalConfig, GitLibraryInputSchema, PathLibraryInputSchema, LibraryInputConfiguration, LibraryOutputConfiguration, LibraryConfiguration, PageConfiguration, ChangelogConfiguration, LibraryReferenceConfiguration, FolderConfiguration, ApiReferenceEndpointConfiguration, ApiReferenceOperationConfiguration, ApiReferenceLayoutItem, ApiReferenceSectionConfiguration, ApiReferencePackageConfigurationWithOptions, ApiReferencePackageConfiguration, ApiReferenceConfiguration, NavigationItem, SectionConfiguration, UntabbedNavigationConfig, TabVariant, TabbedNavigationItemWithLayout, TabbedNavigationItemWithVariants, TabbedNavigationItem, TabbedNavigationConfig, NavigationConfig, TabConfig, VersionConfig, VersionFileConfig, ProductConfigBase, InternalProduct, ExternalProduct, ProductConfig, RelativeProductPath, AbsoluteProductPath, ProductPath, ProductFileConfig, TranslationConfigObject, TranslationConfig, DocsConfiguration;
116638
+ var TabId, ChangelogFolderRelativePath, AudienceId, RoleId, LibraryName, ProgrammingLanguage, Language, PageActionOption, AIChatLocation, AIChatModel, EditThisPageLaunch, Availability2, VersionAvailability, TitleSource, LibraryLanguage, FontStyle, FontDisplay, SearchbarPlacement, TabsPlacement, SwitcherPlacement, ContentAlignment, HeaderPosition, ChangelogLayout, ProductSwitcherThemeConfig, LanguageSwitcherThemeConfig, FooterNavThemeConfig, TabsThemeConfig, BodyThemeConfig, SidebarThemeConfig, PageActionsThemeConfig, HttpSnippetLanguage, Target, TwitterCardSetting, JsScriptStrategy, FontWeight, ColorThemedConfig, ColorConfig, Audience, Role, CustomDomain, HttpSnippetsConfig, BackgroundImageThemedConfig, BackgroundImageConfiguration, CssConfig, CollapsedStringValue, CollapsedValue, WithPermissions, FeatureFlag, FeatureFlagConfiguration, WithFeatureFlags, WithViewers, SegmentConfig, FullStoryAnalyticsConfig, IntercomConfig, PostHogConfig, GTMConfig, GoogleAnalytics4Config, AnalyticsConfig, AiExamplesConfig, AIChatWebsiteDatasource, AIChatDatasource, PageDescriptionSource, AgentsConfig, AIChatConfig, FontConfigVariant, FontConfigPath, FontConfig, DocsTypographyConfig, ThemeConfig, LayoutConfig, SearchSettingsConfig, DocsSettingsConfig, ColorsConfiguration, CustomPageAction, PageActionOptions, PageActionsConfig, GithubEditThisPageConfig, EditThisPageConfig, DocsInstance, LogoConfiguration, LinkConfiguration, VersionedSnippetLanguageConfiguration, SnippetLanguageConfiguration, SnippetsConfiguration, PlaygroundButtonSettings, PlaygroundSettings, AnnouncementConfig, NavbarLinkConfig, NavbarGithubConfigWithOptions, NavbarGithubConfig, NavbarDropdownConfig, NavbarLink, FooterLinksConfig, JsFileConfigSettings, JsFileConfig, JsRemoteConfig, JsConfigOptions, JsConfig, MetadataConfig, RedirectConfig, CheckRuleSeverity, CheckRulesConfig, CheckConfig, IntegrationsConfig, ExperimentalConfig, GitLibraryInputSchema, PathLibraryInputSchema, LibraryInputConfiguration, LibraryOutputConfiguration, LibraryConfiguration, PageConfiguration, ChangelogConfiguration, LibraryReferenceConfiguration, FolderConfiguration, ApiReferenceEndpointConfiguration, ApiReferenceOperationConfiguration, ApiReferenceLayoutItem, ApiReferenceSectionConfiguration, ApiReferencePackageConfigurationWithOptions, ApiReferencePackageConfiguration, ApiReferenceConfiguration, NavigationItem, SectionConfiguration, UntabbedNavigationConfig, TabVariant, TabbedNavigationItemWithLayout, TabbedNavigationItemWithVariants, TabbedNavigationItem, TabbedNavigationConfig, NavigationConfig, TabConfig, VersionConfig, VersionFileConfig, ProductConfigBase, InternalProduct, ExternalProduct, ProductConfig, RelativeProductPath, AbsoluteProductPath, ProductPath, ProductFileConfig, TranslationConfigObject, TranslationConfig, DocsConfiguration;
116638
116639
  var init_DocsYmlSchemas = __esm({
116639
116640
  "../configuration/lib/docs-yml/DocsYmlSchemas.js"() {
116640
116641
  "use strict";
@@ -116694,6 +116695,7 @@ var init_DocsYmlSchemas = __esm({
116694
116695
  SwitcherPlacement = external_exports.enum(["header", "sidebar"]);
116695
116696
  ContentAlignment = external_exports.enum(["center", "left"]);
116696
116697
  HeaderPosition = external_exports.enum(["fixed", "static"]);
116698
+ ChangelogLayout = external_exports.enum(["timeline", "classic"]);
116697
116699
  ProductSwitcherThemeConfig = external_exports.enum(["default", "toggle", "tabs"]);
116698
116700
  LanguageSwitcherThemeConfig = external_exports.enum(["default", "minimal"]);
116699
116701
  FooterNavThemeConfig = external_exports.enum(["default", "minimal"]);
@@ -116843,7 +116845,8 @@ var init_DocsYmlSchemas = __esm({
116843
116845
  "disable-header": external_exports.boolean().optional(),
116844
116846
  "hide-nav-links": external_exports.boolean().optional(),
116845
116847
  "hide-feedback": external_exports.boolean().optional(),
116846
- "mobile-toc": external_exports.boolean().optional()
116848
+ "mobile-toc": external_exports.boolean().optional(),
116849
+ "changelog-layout": ChangelogLayout.optional()
116847
116850
  });
116848
116851
  SearchSettingsConfig = external_exports.object({
116849
116852
  "prioritize-current-product": external_exports.boolean().optional(),
@@ -117580,6 +117583,18 @@ var init_ChangelogFolderRelativePath = __esm({
117580
117583
  }
117581
117584
  });
117582
117585
 
117586
+ // ../configuration/lib/docs-yml/schemas/sdk/api/resources/docs/types/ChangelogLayout.js
117587
+ var ChangelogLayout2;
117588
+ var init_ChangelogLayout = __esm({
117589
+ "../configuration/lib/docs-yml/schemas/sdk/api/resources/docs/types/ChangelogLayout.js"() {
117590
+ "use strict";
117591
+ ChangelogLayout2 = {
117592
+ Timeline: "timeline",
117593
+ Classic: "classic"
117594
+ };
117595
+ }
117596
+ });
117597
+
117583
117598
  // ../configuration/lib/docs-yml/schemas/sdk/api/resources/docs/types/CheckConfig.js
117584
117599
  var init_CheckConfig = __esm({
117585
117600
  "../configuration/lib/docs-yml/schemas/sdk/api/resources/docs/types/CheckConfig.js"() {
@@ -118689,6 +118704,7 @@ var init_types96 = __esm({
118689
118704
  init_BodyThemeConfig();
118690
118705
  init_ChangelogConfiguration();
118691
118706
  init_ChangelogFolderRelativePath();
118707
+ init_ChangelogLayout();
118692
118708
  init_CheckConfig();
118693
118709
  init_CheckRuleSeverity();
118694
118710
  init_CheckRulesConfig();
@@ -118826,6 +118842,7 @@ __export(docs_exports, {
118826
118842
  AiChatModel: () => AiChatModel,
118827
118843
  Availability: () => Availability3,
118828
118844
  BodyThemeConfig: () => BodyThemeConfig2,
118845
+ ChangelogLayout: () => ChangelogLayout2,
118829
118846
  CheckRuleSeverity: () => CheckRuleSeverity2,
118830
118847
  CollapsedStringValue: () => CollapsedStringValue2,
118831
118848
  ContentAlignment: () => ContentAlignment2,
@@ -118879,6 +118896,7 @@ __export(api_exports2, {
118879
118896
  AiChatModel: () => AiChatModel,
118880
118897
  Availability: () => Availability3,
118881
118898
  BodyThemeConfig: () => BodyThemeConfig2,
118899
+ ChangelogLayout: () => ChangelogLayout2,
118882
118900
  CheckRuleSeverity: () => CheckRuleSeverity2,
118883
118901
  CollapsedStringValue: () => CollapsedStringValue2,
118884
118902
  ContentAlignment: () => ContentAlignment2,
@@ -121801,6 +121819,16 @@ var init_ChangelogConfiguration2 = __esm({
121801
121819
  }
121802
121820
  });
121803
121821
 
121822
+ // ../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/ChangelogLayout.js
121823
+ var ChangelogLayout3;
121824
+ var init_ChangelogLayout2 = __esm({
121825
+ "../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/ChangelogLayout.js"() {
121826
+ "use strict";
121827
+ init_core5();
121828
+ ChangelogLayout3 = schemas_exports6.enum_(["timeline", "classic"]);
121829
+ }
121830
+ });
121831
+
121804
121832
  // ../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/CheckRuleSeverity.js
121805
121833
  var CheckRuleSeverity3;
121806
121834
  var init_CheckRuleSeverity2 = __esm({
@@ -122388,6 +122416,7 @@ var init_LayoutConfig2 = __esm({
122388
122416
  "../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/LayoutConfig.js"() {
122389
122417
  "use strict";
122390
122418
  init_core5();
122419
+ init_ChangelogLayout2();
122391
122420
  init_ContentAlignment2();
122392
122421
  init_HeaderPosition2();
122393
122422
  init_SearchbarPlacement2();
@@ -122406,7 +122435,8 @@ var init_LayoutConfig2 = __esm({
122406
122435
  disableHeader: schemas_exports6.property("disable-header", schemas_exports6.boolean().optional()),
122407
122436
  hideNavLinks: schemas_exports6.property("hide-nav-links", schemas_exports6.boolean().optional()),
122408
122437
  hideFeedback: schemas_exports6.property("hide-feedback", schemas_exports6.boolean().optional()),
122409
- mobileToc: schemas_exports6.property("mobile-toc", schemas_exports6.boolean().optional())
122438
+ mobileToc: schemas_exports6.property("mobile-toc", schemas_exports6.boolean().optional()),
122439
+ changelogLayout: schemas_exports6.property("changelog-layout", ChangelogLayout3.optional())
122410
122440
  });
122411
122441
  }
122412
122442
  });
@@ -123486,6 +123516,7 @@ var init_types97 = __esm({
123486
123516
  init_BodyThemeConfig2();
123487
123517
  init_ChangelogConfiguration2();
123488
123518
  init_ChangelogFolderRelativePath2();
123519
+ init_ChangelogLayout2();
123489
123520
  init_CheckConfig2();
123490
123521
  init_CheckRuleSeverity2();
123491
123522
  init_CheckRulesConfig2();
@@ -123644,6 +123675,7 @@ __export(docs_exports2, {
123644
123675
  BodyThemeConfig: () => BodyThemeConfig3,
123645
123676
  ChangelogConfiguration: () => ChangelogConfiguration2,
123646
123677
  ChangelogFolderRelativePath: () => ChangelogFolderRelativePath2,
123678
+ ChangelogLayout: () => ChangelogLayout3,
123647
123679
  CheckConfig: () => CheckConfig2,
123648
123680
  CheckRuleSeverity: () => CheckRuleSeverity3,
123649
123681
  CheckRulesConfig: () => CheckRulesConfig2,
@@ -123816,6 +123848,7 @@ __export(serialization_exports3, {
123816
123848
  BodyThemeConfig: () => BodyThemeConfig3,
123817
123849
  ChangelogConfiguration: () => ChangelogConfiguration2,
123818
123850
  ChangelogFolderRelativePath: () => ChangelogFolderRelativePath2,
123851
+ ChangelogLayout: () => ChangelogLayout3,
123819
123852
  CheckConfig: () => CheckConfig2,
123820
123853
  CheckRuleSeverity: () => CheckRuleSeverity3,
123821
123854
  CheckRulesConfig: () => CheckRulesConfig2,
@@ -123970,6 +124003,7 @@ __export(schemas_exports7, {
123970
124003
  AiChatModel: () => AiChatModel,
123971
124004
  Availability: () => Availability3,
123972
124005
  BodyThemeConfig: () => BodyThemeConfig2,
124006
+ ChangelogLayout: () => ChangelogLayout2,
123973
124007
  CheckRuleSeverity: () => CheckRuleSeverity2,
123974
124008
  CollapsedStringValue: () => CollapsedStringValue2,
123975
124009
  ContentAlignment: () => ContentAlignment2,
@@ -232197,6 +232231,11 @@ function convertLayoutConfig(layout, themeTabsAlignment, themeTabsPlacement) {
232197
232231
  hideNavLinks: layout.hideNavLinks ?? false,
232198
232232
  hideFeedback: layout.hideFeedback ?? false,
232199
232233
  mobileToc: layout.mobileToc ?? false,
232234
+ // Passed through as-is (no default): omitted renders the searchable
232235
+ // timeline, "classic" renders the legacy stacked layout. Resolved by the
232236
+ // fern-platform companion PR. Part of the `as unknown as` cast below
232237
+ // until the published FDR SDK adds `changelogLayout`.
232238
+ changelogLayout: layout.changelogLayout,
232200
232239
  tabsAlignment: resolvedTabsAlignment
232201
232240
  };
232202
232241
  }
@@ -686643,7 +686682,7 @@ var AccessTokenPosthogManager = class {
686643
686682
  properties: {
686644
686683
  ...event,
686645
686684
  ...event.properties,
686646
- version: "5.23.3-947-ga9032a3d959",
686685
+ version: "5.23.3-956-g7bc562f3f7a",
686647
686686
  usingAccessToken: true,
686648
686687
  ...getRunIdProperties()
686649
686688
  }
@@ -686709,7 +686748,7 @@ var UserPosthogManager = class {
686709
686748
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
686710
686749
  event: "CLI",
686711
686750
  properties: {
686712
- version: "5.23.3-947-ga9032a3d959",
686751
+ version: "5.23.3-956-g7bc562f3f7a",
686713
686752
  ...event,
686714
686753
  ...event.properties,
686715
686754
  usingAccessToken: false,
@@ -867771,7 +867810,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
867771
867810
  var LOGS_FOLDER_NAME = "logs";
867772
867811
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
867773
867812
  function getCliSource() {
867774
- const version7 = "5.23.3-947-ga9032a3d959";
867813
+ const version7 = "5.23.3-956-g7bc562f3f7a";
867775
867814
  return `cli@${version7}`;
867776
867815
  }
867777
867816
  var DebugLogger = class {
@@ -895500,6 +895539,13 @@ og:description, headline, excerpt).`
895500
895539
  "static"
895501
895540
  ]
895502
895541
  },
895542
+ "docs.ChangelogLayout": {
895543
+ type: "string",
895544
+ enum: [
895545
+ "timeline",
895546
+ "classic"
895547
+ ]
895548
+ },
895503
895549
  "docs.LayoutConfig": {
895504
895550
  type: "object",
895505
895551
  properties: {
@@ -895645,6 +895691,17 @@ og:description, headline, excerpt).`
895645
895691
  }
895646
895692
  ],
895647
895693
  description: "If `mobile-toc` is set to true, a sticky collapsible table of contents bar will be shown on mobile viewports for guide and overview layout pages."
895694
+ },
895695
+ "changelog-layout": {
895696
+ oneOf: [
895697
+ {
895698
+ $ref: "#/definitions/docs.ChangelogLayout"
895699
+ },
895700
+ {
895701
+ type: "null"
895702
+ }
895703
+ ],
895704
+ 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."
895648
895705
  }
895649
895706
  },
895650
895707
  additionalProperties: false
@@ -899959,7 +900016,7 @@ var LegacyDocsPublisher = class {
899959
900016
  previewId,
899960
900017
  disableTemplates: void 0,
899961
900018
  skipUpload,
899962
- cliVersion: "5.23.3-947-ga9032a3d959",
900019
+ cliVersion: "5.23.3-956-g7bc562f3f7a",
899963
900020
  loginCommand: "fern auth login"
899964
900021
  });
899965
900022
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -966150,7 +966207,7 @@ function getAutomationContextFromEnv() {
966150
966207
  config_branch: process.env.FERN_CONFIG_BRANCH,
966151
966208
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
966152
966209
  trigger: process.env.GITHUB_EVENT_NAME,
966153
- cli_version: "5.23.3-947-ga9032a3d959"
966210
+ cli_version: "5.23.3-956-g7bc562f3f7a"
966154
966211
  };
966155
966212
  }
966156
966213
  function isAutomationMode() {
@@ -966982,7 +967039,7 @@ var CliContext = class _CliContext {
966982
967039
  if (false) {
966983
967040
  this.logger.error("CLI_VERSION is not defined");
966984
967041
  }
966985
- return "5.23.3-947-ga9032a3d959";
967042
+ return "5.23.3-956-g7bc562f3f7a";
966986
967043
  }
966987
967044
  getCliName() {
966988
967045
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.23.3-947-ga9032a3d959",
2
+ "version": "5.23.3-956-g7bc562f3f7a",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",