@fern-api/fern-api-dev 5.23.3-1955-ge2a4ebbe31e → 5.23.3-1956-g0f3bfaf198b

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 +64 -7
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -117909,6 +117909,7 @@ __export(DocsYmlSchemas_exports, {
117909
117909
  AnnouncementConfig: () => AnnouncementConfig,
117910
117910
  ApiReferenceConfiguration: () => ApiReferenceConfiguration,
117911
117911
  ApiReferenceEndpointConfiguration: () => ApiReferenceEndpointConfiguration,
117912
+ ApiReferenceLayout: () => ApiReferenceLayout,
117912
117913
  ApiReferenceLayoutItem: () => ApiReferenceLayoutItem,
117913
117914
  ApiReferenceOperationConfiguration: () => ApiReferenceOperationConfiguration,
117914
117915
  ApiReferencePackageConfiguration: () => ApiReferencePackageConfiguration,
@@ -118049,7 +118050,7 @@ function normalizeTranslationConfig(config5) {
118049
118050
  }
118050
118051
  return config5;
118051
118052
  }
118052
- 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;
118053
+ var TabId, ChangelogFolderRelativePath, AudienceId, RoleId, LibraryName, ProgrammingLanguage, Language, PageActionOption, AIChatLocation, AIChatModel, EditThisPageLaunch, Availability2, VersionAvailability, TitleSource, LibraryLanguage, FontStyle, FontDisplay, SearchbarPlacement, TabsPlacement, SwitcherPlacement, ContentAlignment, HeaderPosition, ChangelogLayout, ApiReferenceLayout, 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;
118053
118054
  var init_DocsYmlSchemas = __esm({
118054
118055
  "../configuration/lib/docs-yml/DocsYmlSchemas.js"() {
118055
118056
  "use strict";
@@ -118110,6 +118111,7 @@ var init_DocsYmlSchemas = __esm({
118110
118111
  ContentAlignment = external_exports.enum(["center", "left"]);
118111
118112
  HeaderPosition = external_exports.enum(["fixed", "static"]);
118112
118113
  ChangelogLayout = external_exports.enum(["timeline", "classic"]);
118114
+ ApiReferenceLayout = external_exports.enum(["indented", "cards"]);
118113
118115
  ProductSwitcherThemeConfig = external_exports.enum(["default", "toggle", "tabs"]);
118114
118116
  LanguageSwitcherThemeConfig = external_exports.enum(["default", "minimal"]);
118115
118117
  FooterNavThemeConfig = external_exports.enum(["default", "minimal"]);
@@ -118262,6 +118264,7 @@ var init_DocsYmlSchemas = __esm({
118262
118264
  "hide-feedback": external_exports.boolean().optional(),
118263
118265
  "mobile-toc": external_exports.boolean().optional(),
118264
118266
  "changelog-layout": ChangelogLayout.optional(),
118267
+ "api-reference-layout": ApiReferenceLayout.optional(),
118265
118268
  "show-nav-availability-badges": external_exports.boolean().optional()
118266
118269
  });
118267
118270
  SearchSettingsConfig = external_exports.object({
@@ -118897,6 +118900,18 @@ var init_ApiReferenceEndpointConfiguration = __esm({
118897
118900
  }
118898
118901
  });
118899
118902
 
118903
+ // ../configuration/lib/docs-yml/schemas/sdk/api/resources/docs/types/ApiReferenceLayout.js
118904
+ var ApiReferenceLayout2;
118905
+ var init_ApiReferenceLayout = __esm({
118906
+ "../configuration/lib/docs-yml/schemas/sdk/api/resources/docs/types/ApiReferenceLayout.js"() {
118907
+ "use strict";
118908
+ ApiReferenceLayout2 = {
118909
+ Indented: "indented",
118910
+ Cards: "cards"
118911
+ };
118912
+ }
118913
+ });
118914
+
118900
118915
  // ../configuration/lib/docs-yml/schemas/sdk/api/resources/docs/types/ApiReferenceLayoutItem.js
118901
118916
  var init_ApiReferenceLayoutItem = __esm({
118902
118917
  "../configuration/lib/docs-yml/schemas/sdk/api/resources/docs/types/ApiReferenceLayoutItem.js"() {
@@ -120113,6 +120128,7 @@ var init_types100 = __esm({
120113
120128
  init_AnnouncementConfig();
120114
120129
  init_ApiReferenceConfiguration();
120115
120130
  init_ApiReferenceEndpointConfiguration();
120131
+ init_ApiReferenceLayout();
120116
120132
  init_ApiReferenceLayoutItem();
120117
120133
  init_ApiReferenceOperationConfiguration();
120118
120134
  init_ApiReferencePackageConfiguration();
@@ -120262,6 +120278,7 @@ var docs_exports = {};
120262
120278
  __export(docs_exports, {
120263
120279
  AiChatLocation: () => AiChatLocation,
120264
120280
  AiChatModel: () => AiChatModel,
120281
+ ApiReferenceLayout: () => ApiReferenceLayout2,
120265
120282
  Availability: () => Availability3,
120266
120283
  BodyThemeConfig: () => BodyThemeConfig2,
120267
120284
  ChangelogLayout: () => ChangelogLayout2,
@@ -120316,6 +120333,7 @@ var api_exports2 = {};
120316
120333
  __export(api_exports2, {
120317
120334
  AiChatLocation: () => AiChatLocation,
120318
120335
  AiChatModel: () => AiChatModel,
120336
+ ApiReferenceLayout: () => ApiReferenceLayout2,
120319
120337
  Availability: () => Availability3,
120320
120338
  BodyThemeConfig: () => BodyThemeConfig2,
120321
120339
  ChangelogLayout: () => ChangelogLayout2,
@@ -123022,6 +123040,16 @@ var init_ApiReferenceEndpointConfiguration2 = __esm({
123022
123040
  }
123023
123041
  });
123024
123042
 
123043
+ // ../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/ApiReferenceLayout.js
123044
+ var ApiReferenceLayout3;
123045
+ var init_ApiReferenceLayout2 = __esm({
123046
+ "../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/ApiReferenceLayout.js"() {
123047
+ "use strict";
123048
+ init_core5();
123049
+ ApiReferenceLayout3 = schemas_exports6.enum_(["indented", "cards"]);
123050
+ }
123051
+ });
123052
+
123025
123053
  // ../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/ApiReferenceOperationConfiguration.js
123026
123054
  var ApiReferenceOperationConfiguration2;
123027
123055
  var init_ApiReferenceOperationConfiguration2 = __esm({
@@ -123842,6 +123870,7 @@ var init_LayoutConfig2 = __esm({
123842
123870
  "../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/LayoutConfig.js"() {
123843
123871
  "use strict";
123844
123872
  init_core5();
123873
+ init_ApiReferenceLayout2();
123845
123874
  init_ChangelogLayout2();
123846
123875
  init_ContentAlignment2();
123847
123876
  init_HeaderPosition2();
@@ -123863,6 +123892,7 @@ var init_LayoutConfig2 = __esm({
123863
123892
  hideFeedback: schemas_exports6.property("hide-feedback", schemas_exports6.boolean().optional()),
123864
123893
  mobileToc: schemas_exports6.property("mobile-toc", schemas_exports6.boolean().optional()),
123865
123894
  changelogLayout: schemas_exports6.property("changelog-layout", ChangelogLayout3.optional()),
123895
+ apiReferenceLayout: schemas_exports6.property("api-reference-layout", ApiReferenceLayout3.optional()),
123866
123896
  showNavAvailabilityBadges: schemas_exports6.property("show-nav-availability-badges", schemas_exports6.boolean().optional())
123867
123897
  });
123868
123898
  }
@@ -124933,6 +124963,7 @@ var init_types101 = __esm({
124933
124963
  init_AnnouncementConfig2();
124934
124964
  init_ApiReferenceConfiguration2();
124935
124965
  init_ApiReferenceEndpointConfiguration2();
124966
+ init_ApiReferenceLayout2();
124936
124967
  init_ApiReferenceLayoutItem2();
124937
124968
  init_ApiReferenceOperationConfiguration2();
124938
124969
  init_ApiReferencePackageConfiguration2();
@@ -125092,6 +125123,7 @@ __export(docs_exports2, {
125092
125123
  AnnouncementConfig: () => AnnouncementConfig2,
125093
125124
  ApiReferenceConfiguration: () => ApiReferenceConfiguration2,
125094
125125
  ApiReferenceEndpointConfiguration: () => ApiReferenceEndpointConfiguration2,
125126
+ ApiReferenceLayout: () => ApiReferenceLayout3,
125095
125127
  ApiReferenceLayoutItem: () => ApiReferenceLayoutItem2,
125096
125128
  ApiReferenceOperationConfiguration: () => ApiReferenceOperationConfiguration2,
125097
125129
  ApiReferencePackageConfiguration: () => ApiReferencePackageConfiguration2,
@@ -125265,6 +125297,7 @@ __export(serialization_exports3, {
125265
125297
  AnnouncementConfig: () => AnnouncementConfig2,
125266
125298
  ApiReferenceConfiguration: () => ApiReferenceConfiguration2,
125267
125299
  ApiReferenceEndpointConfiguration: () => ApiReferenceEndpointConfiguration2,
125300
+ ApiReferenceLayout: () => ApiReferenceLayout3,
125268
125301
  ApiReferenceLayoutItem: () => ApiReferenceLayoutItem2,
125269
125302
  ApiReferenceOperationConfiguration: () => ApiReferenceOperationConfiguration2,
125270
125303
  ApiReferencePackageConfiguration: () => ApiReferencePackageConfiguration2,
@@ -125431,6 +125464,7 @@ var schemas_exports7 = {};
125431
125464
  __export(schemas_exports7, {
125432
125465
  AiChatLocation: () => AiChatLocation,
125433
125466
  AiChatModel: () => AiChatModel,
125467
+ ApiReferenceLayout: () => ApiReferenceLayout2,
125434
125468
  Availability: () => Availability3,
125435
125469
  BodyThemeConfig: () => BodyThemeConfig2,
125436
125470
  ChangelogLayout: () => ChangelogLayout2,
@@ -237339,6 +237373,11 @@ function convertLayoutConfig(layout, themeTabsAlignment, themeTabsPlacement) {
237339
237373
  // fern-platform companion PR. Part of the `as unknown as` cast below
237340
237374
  // until the published FDR SDK adds `changelogLayout`.
237341
237375
  changelogLayout: layout.changelogLayout,
237376
+ // Passed through as-is (no default): omitted renders the indented
237377
+ // connector-line tree, "cards" renders the legacy nested cards. Resolved
237378
+ // by the fern-platform companion PR. Part of the `as unknown as` cast
237379
+ // below until the published FDR SDK adds `apiReferenceLayout`.
237380
+ apiReferenceLayout: layout.apiReferenceLayout,
237342
237381
  // Opt-in (default off, resolved by the fern-platform companion PR):
237343
237382
  // when true the sidebar renders inline availability badges. Part of the
237344
237383
  // `as unknown as` cast below until the published FDR SDK adds the field.
@@ -462890,6 +462929,13 @@ og:description, headline, excerpt).`
462890
462929
  "classic"
462891
462930
  ]
462892
462931
  },
462932
+ "docs.ApiReferenceLayout": {
462933
+ type: "string",
462934
+ enum: [
462935
+ "indented",
462936
+ "cards"
462937
+ ]
462938
+ },
462893
462939
  "docs.LayoutConfig": {
462894
462940
  type: "object",
462895
462941
  properties: {
@@ -463047,6 +463093,17 @@ og:description, headline, excerpt).`
463047
463093
  ],
463048
463094
  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."
463049
463095
  },
463096
+ "api-reference-layout": {
463097
+ oneOf: [
463098
+ {
463099
+ $ref: "#/definitions/docs.ApiReferenceLayout"
463100
+ },
463101
+ {
463102
+ type: "null"
463103
+ }
463104
+ ],
463105
+ 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."
463106
+ },
463050
463107
  "show-nav-availability-badges": {
463051
463108
  oneOf: [
463052
463109
  {
@@ -703257,7 +703314,7 @@ var AccessTokenPosthogManager = class {
703257
703314
  properties: {
703258
703315
  ...event,
703259
703316
  ...event.properties,
703260
- version: "5.23.3-1955-ge2a4ebbe31e",
703317
+ version: "5.23.3-1956-g0f3bfaf198b",
703261
703318
  usingAccessToken: true,
703262
703319
  ...getRunIdProperties()
703263
703320
  }
@@ -703323,7 +703380,7 @@ var UserPosthogManager = class {
703323
703380
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
703324
703381
  event: "CLI",
703325
703382
  properties: {
703326
- version: "5.23.3-1955-ge2a4ebbe31e",
703383
+ version: "5.23.3-1956-g0f3bfaf198b",
703327
703384
  ...event,
703328
703385
  ...event.properties,
703329
703386
  usingAccessToken: false,
@@ -884705,7 +884762,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
884705
884762
  var LOGS_FOLDER_NAME = "logs";
884706
884763
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
884707
884764
  function getCliSource() {
884708
- const version7 = "5.23.3-1955-ge2a4ebbe31e";
884765
+ const version7 = "5.23.3-1956-g0f3bfaf198b";
884709
884766
  return `cli@${version7}`;
884710
884767
  }
884711
884768
  var DebugLogger = class {
@@ -910625,7 +910682,7 @@ var LegacyDocsPublisher = class {
910625
910682
  previewId,
910626
910683
  disableTemplates: void 0,
910627
910684
  skipUpload,
910628
- cliVersion: "5.23.3-1955-ge2a4ebbe31e",
910685
+ cliVersion: "5.23.3-1956-g0f3bfaf198b",
910629
910686
  loginCommand: "fern auth login"
910630
910687
  });
910631
910688
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -977996,7 +978053,7 @@ function getAutomationContextFromEnv() {
977996
978053
  config_branch: process.env.FERN_CONFIG_BRANCH,
977997
978054
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
977998
978055
  trigger: process.env.GITHUB_EVENT_NAME,
977999
- cli_version: "5.23.3-1955-ge2a4ebbe31e"
978056
+ cli_version: "5.23.3-1956-g0f3bfaf198b"
978000
978057
  };
978001
978058
  }
978002
978059
  function isAutomationMode() {
@@ -978828,7 +978885,7 @@ var CliContext = class _CliContext {
978828
978885
  if (false) {
978829
978886
  this.logger.error("CLI_VERSION is not defined");
978830
978887
  }
978831
- return "5.23.3-1955-ge2a4ebbe31e";
978888
+ return "5.23.3-1956-g0f3bfaf198b";
978832
978889
  }
978833
978890
  getCliName() {
978834
978891
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.23.3-1955-ge2a4ebbe31e",
2
+ "version": "5.23.3-1956-g0f3bfaf198b",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",