@fern-api/fern-api-dev 3.30.2 → 3.30.3-1-g1afe186e21
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 +90 -19
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -1305344,6 +1305344,7 @@ __export(schemas_exports2, {
|
|
|
1305344
1305344
|
LanguageSwitcherThemeConfig: () => LanguageSwitcherThemeConfig,
|
|
1305345
1305345
|
PageActionOption: () => PageActionOption,
|
|
1305346
1305346
|
PageActionsThemeConfig: () => PageActionsThemeConfig,
|
|
1305347
|
+
ProductSwitcherThemeConfig: () => ProductSwitcherThemeConfig,
|
|
1305347
1305348
|
ProgrammingLanguage: () => ProgrammingLanguage,
|
|
1305348
1305349
|
SearchbarPlacement: () => SearchbarPlacement,
|
|
1305349
1305350
|
Serializer: () => serialization_exports,
|
|
@@ -1305375,6 +1305376,7 @@ __export(api_exports, {
|
|
|
1305375
1305376
|
LanguageSwitcherThemeConfig: () => LanguageSwitcherThemeConfig,
|
|
1305376
1305377
|
PageActionOption: () => PageActionOption,
|
|
1305377
1305378
|
PageActionsThemeConfig: () => PageActionsThemeConfig,
|
|
1305379
|
+
ProductSwitcherThemeConfig: () => ProductSwitcherThemeConfig,
|
|
1305378
1305380
|
ProgrammingLanguage: () => ProgrammingLanguage,
|
|
1305379
1305381
|
SearchbarPlacement: () => SearchbarPlacement,
|
|
1305380
1305382
|
SidebarThemeConfig: () => SidebarThemeConfig,
|
|
@@ -1305404,6 +1305406,7 @@ __export(docs_exports, {
|
|
|
1305404
1305406
|
LanguageSwitcherThemeConfig: () => LanguageSwitcherThemeConfig,
|
|
1305405
1305407
|
PageActionOption: () => PageActionOption,
|
|
1305406
1305408
|
PageActionsThemeConfig: () => PageActionsThemeConfig,
|
|
1305409
|
+
ProductSwitcherThemeConfig: () => ProductSwitcherThemeConfig,
|
|
1305407
1305410
|
ProgrammingLanguage: () => ProgrammingLanguage,
|
|
1305408
1305411
|
SearchbarPlacement: () => SearchbarPlacement,
|
|
1305409
1305412
|
SidebarThemeConfig: () => SidebarThemeConfig,
|
|
@@ -1305497,6 +1305500,12 @@ var VersionAvailability = {
|
|
|
1305497
1305500
|
Beta: "beta"
|
|
1305498
1305501
|
};
|
|
1305499
1305502
|
|
|
1305503
|
+
// ../configuration/lib/docs-yml/schemas/sdk/api/resources/docs/types/ProductSwitcherThemeConfig.js
|
|
1305504
|
+
var ProductSwitcherThemeConfig = {
|
|
1305505
|
+
Default: "default",
|
|
1305506
|
+
Toggle: "toggle"
|
|
1305507
|
+
};
|
|
1305508
|
+
|
|
1305500
1305509
|
// ../configuration/lib/docs-yml/schemas/sdk/api/resources/docs/types/LanguageSwitcherThemeConfig.js
|
|
1305501
1305510
|
var LanguageSwitcherThemeConfig = {
|
|
1305502
1305511
|
Default: "default",
|
|
@@ -1305741,6 +1305750,7 @@ __export(serialization_exports, {
|
|
|
1305741
1305750
|
ProductConfigBase: () => ProductConfigBase,
|
|
1305742
1305751
|
ProductFileConfig: () => ProductFileConfig,
|
|
1305743
1305752
|
ProductPath: () => ProductPath,
|
|
1305753
|
+
ProductSwitcherThemeConfig: () => ProductSwitcherThemeConfig2,
|
|
1305744
1305754
|
ProgrammingLanguage: () => ProgrammingLanguage2,
|
|
1305745
1305755
|
RedirectConfig: () => RedirectConfig,
|
|
1305746
1305756
|
RelativeProductPath: () => RelativeProductPath,
|
|
@@ -1305866,6 +1305876,7 @@ __export(docs_exports2, {
|
|
|
1305866
1305876
|
ProductConfigBase: () => ProductConfigBase,
|
|
1305867
1305877
|
ProductFileConfig: () => ProductFileConfig,
|
|
1305868
1305878
|
ProductPath: () => ProductPath,
|
|
1305879
|
+
ProductSwitcherThemeConfig: () => ProductSwitcherThemeConfig2,
|
|
1305869
1305880
|
ProgrammingLanguage: () => ProgrammingLanguage2,
|
|
1305870
1305881
|
RedirectConfig: () => RedirectConfig,
|
|
1305871
1305882
|
RelativeProductPath: () => RelativeProductPath,
|
|
@@ -1307787,6 +1307798,9 @@ var FooterNavThemeConfig2 = schemas_exports.enum_(["default", "minimal"]);
|
|
|
1307787
1307798
|
// ../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/LanguageSwitcherThemeConfig.js
|
|
1307788
1307799
|
var LanguageSwitcherThemeConfig2 = schemas_exports.enum_(["default", "minimal"]);
|
|
1307789
1307800
|
|
|
1307801
|
+
// ../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/ProductSwitcherThemeConfig.js
|
|
1307802
|
+
var ProductSwitcherThemeConfig2 = schemas_exports.enum_(["default", "toggle"]);
|
|
1307803
|
+
|
|
1307790
1307804
|
// ../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/ThemeConfig.js
|
|
1307791
1307805
|
var ThemeConfig = schemas_exports.object({
|
|
1307792
1307806
|
sidebar: SidebarThemeConfig2.optional(),
|
|
@@ -1307794,7 +1307808,8 @@ var ThemeConfig = schemas_exports.object({
|
|
|
1307794
1307808
|
tabs: TabsThemeConfig2.optional(),
|
|
1307795
1307809
|
pageActions: schemas_exports.property("page-actions", PageActionsThemeConfig2.optional()),
|
|
1307796
1307810
|
footerNav: schemas_exports.property("footer-nav", FooterNavThemeConfig2.optional()),
|
|
1307797
|
-
languageSwitcher: schemas_exports.property("language-switcher", LanguageSwitcherThemeConfig2.optional())
|
|
1307811
|
+
languageSwitcher: schemas_exports.property("language-switcher", LanguageSwitcherThemeConfig2.optional()),
|
|
1307812
|
+
productSwitcher: schemas_exports.property("product-switcher", ProductSwitcherThemeConfig2.optional())
|
|
1307798
1307813
|
});
|
|
1307799
1307814
|
|
|
1307800
1307815
|
// ../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/IntegrationsConfig.js
|
|
@@ -1322289,7 +1322304,7 @@ function sortBy(arr, criteria) {
|
|
|
1322289
1322304
|
return orderBy(arr, criteria, ["asc"]);
|
|
1322290
1322305
|
}
|
|
1322291
1322306
|
|
|
1322292
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.142.
|
|
1322307
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.142.22-c021dd849_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
|
|
1322293
1322308
|
var import_ts_essentials = __toESM(require_dist(), 1);
|
|
1322294
1322309
|
|
|
1322295
1322310
|
// ../../../node_modules/.pnpm/es-toolkit@1.43.0/node_modules/es-toolkit/dist/object/mapValues.mjs
|
|
@@ -1322310,7 +1322325,7 @@ function words2(str3) {
|
|
|
1322310
1322325
|
return Array.from(str3.match(CASE_SPLIT_PATTERN) ?? []);
|
|
1322311
1322326
|
}
|
|
1322312
1322327
|
|
|
1322313
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.142.
|
|
1322328
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.142.22-c021dd849_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
|
|
1322314
1322329
|
var import_qs = __toESM(require_lib2(), 1);
|
|
1322315
1322330
|
var import_ts_essentials2 = __toESM(require_dist(), 1);
|
|
1322316
1322331
|
var import_ts_essentials3 = __toESM(require_dist(), 1);
|
|
@@ -1328051,7 +1328066,7 @@ function kebabCase2(str3) {
|
|
|
1328051
1328066
|
return words$1.map((word) => word.toLowerCase()).join("-");
|
|
1328052
1328067
|
}
|
|
1328053
1328068
|
|
|
1328054
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.142.
|
|
1328069
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.142.22-c021dd849_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
|
|
1328055
1328070
|
var import_fast_deep_equal = __toESM(require_fast_deep_equal(), 1);
|
|
1328056
1328071
|
var import_ts_essentials4 = __toESM(require_dist(), 1);
|
|
1328057
1328072
|
var import_url_join2 = __toESM(require_url_join(), 1);
|
|
@@ -1328070,7 +1328085,7 @@ function once(func) {
|
|
|
1328070
1328085
|
};
|
|
1328071
1328086
|
}
|
|
1328072
1328087
|
|
|
1328073
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.142.
|
|
1328088
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.142.22-c021dd849_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
|
|
1328074
1328089
|
var import_ts_essentials6 = __toESM(require_dist(), 1);
|
|
1328075
1328090
|
var import_ts_essentials7 = __toESM(require_dist(), 1);
|
|
1328076
1328091
|
var import_url_join3 = __toESM(require_url_join(), 1);
|
|
@@ -1328300,7 +1328315,7 @@ var esm_default = typeof structuredClone === "function" ? (
|
|
|
1328300
1328315
|
(any8, options2) => options2 && ("json" in options2 || "lossy" in options2) ? deserialize(serialize(any8, options2)) : structuredClone(any8)
|
|
1328301
1328316
|
) : (any8, options2) => deserialize(serialize(any8, options2));
|
|
1328302
1328317
|
|
|
1328303
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.142.
|
|
1328318
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.142.22-c021dd849_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
|
|
1328304
1328319
|
var import_ts_essentials12 = __toESM(require_dist(), 1);
|
|
1328305
1328320
|
var __create2 = Object.create;
|
|
1328306
1328321
|
var __defProp2 = Object.defineProperty;
|
|
@@ -1380029,6 +1380044,7 @@ __export2(commons_exports6, {
|
|
|
1380029
1380044
|
Language: () => Language5,
|
|
1380030
1380045
|
LanguageSwitcherConfig: () => LanguageSwitcherConfig,
|
|
1380031
1380046
|
PageActionOption: () => PageActionOption3,
|
|
1380047
|
+
ProductSwitcherConfig: () => ProductSwitcherConfig,
|
|
1380032
1380048
|
ProgrammingLanguage: () => ProgrammingLanguage3,
|
|
1380033
1380049
|
SearchbarPlacement: () => SearchbarPlacement3,
|
|
1380034
1380050
|
TabsPlacement: () => TabsPlacement3,
|
|
@@ -1380053,6 +1380069,7 @@ __export2(commons_exports5, {
|
|
|
1380053
1380069
|
Language: () => Language5,
|
|
1380054
1380070
|
LanguageSwitcherConfig: () => LanguageSwitcherConfig,
|
|
1380055
1380071
|
PageActionOption: () => PageActionOption3,
|
|
1380072
|
+
ProductSwitcherConfig: () => ProductSwitcherConfig,
|
|
1380056
1380073
|
ProgrammingLanguage: () => ProgrammingLanguage3,
|
|
1380057
1380074
|
SearchbarPlacement: () => SearchbarPlacement3,
|
|
1380058
1380075
|
TabsPlacement: () => TabsPlacement3,
|
|
@@ -1380156,6 +1380173,10 @@ var PageActionOption3 = {
|
|
|
1380156
1380173
|
Cursor: "cursor",
|
|
1380157
1380174
|
Vscode: "vscode"
|
|
1380158
1380175
|
};
|
|
1380176
|
+
var ProductSwitcherConfig = {
|
|
1380177
|
+
Default: "default",
|
|
1380178
|
+
Toggle: "toggle"
|
|
1380179
|
+
};
|
|
1380159
1380180
|
var ProgrammingLanguage3 = {
|
|
1380160
1380181
|
Typescript: "typescript",
|
|
1380161
1380182
|
Javascript: "javascript",
|
|
@@ -1380675,6 +1380696,11 @@ var Error25 = {
|
|
|
1380675
1380696
|
error: "UnauthorizedError"
|
|
1380676
1380697
|
};
|
|
1380677
1380698
|
},
|
|
1380699
|
+
cannotDeleteNonPreviewSiteError: () => {
|
|
1380700
|
+
return {
|
|
1380701
|
+
error: "CannotDeleteNonPreviewSiteError"
|
|
1380702
|
+
};
|
|
1380703
|
+
},
|
|
1380678
1380704
|
_unknown: (fetcherError) => {
|
|
1380679
1380705
|
return {
|
|
1380680
1380706
|
error: void 0,
|
|
@@ -1380687,6 +1380713,8 @@ var Error25 = {
|
|
|
1380687
1380713
|
return visitor.docsNotFoundError();
|
|
1380688
1380714
|
case "UnauthorizedError":
|
|
1380689
1380715
|
return visitor.unauthorizedError(value.content);
|
|
1380716
|
+
case "CannotDeleteNonPreviewSiteError":
|
|
1380717
|
+
return visitor.cannotDeleteNonPreviewSiteError();
|
|
1380690
1380718
|
default:
|
|
1380691
1380719
|
return visitor._other(value.content);
|
|
1380692
1380720
|
}
|
|
@@ -1384248,6 +1384276,8 @@ var WriteClient = class {
|
|
|
1384248
1384276
|
* js: undefined,
|
|
1384249
1384277
|
* aiChatConfig: undefined,
|
|
1384250
1384278
|
* pageActions: undefined,
|
|
1384279
|
+
* header: undefined,
|
|
1384280
|
+
* footer: undefined,
|
|
1384251
1384281
|
* backgroundImage: undefined,
|
|
1384252
1384282
|
* logoV2: undefined,
|
|
1384253
1384283
|
* logo: undefined,
|
|
@@ -1384709,7 +1384739,7 @@ var ReadClient3 = class {
|
|
|
1384709
1384739
|
return HttpResponsePromise.fromPromise(this.__listAllDocsUrls(request6, requestOptions));
|
|
1384710
1384740
|
}
|
|
1384711
1384741
|
async __listAllDocsUrls(request6 = {}, requestOptions) {
|
|
1384712
|
-
const { page, limit, custom: custom2 } = request6;
|
|
1384742
|
+
const { page, limit, custom: custom2, preview } = request6;
|
|
1384713
1384743
|
const _queryParams = {};
|
|
1384714
1384744
|
if (page != null) {
|
|
1384715
1384745
|
_queryParams.page = page.toString();
|
|
@@ -1384720,6 +1384750,9 @@ var ReadClient3 = class {
|
|
|
1384720
1384750
|
if (custom2 != null) {
|
|
1384721
1384751
|
_queryParams.custom = custom2.toString();
|
|
1384722
1384752
|
}
|
|
1384753
|
+
if (preview != null) {
|
|
1384754
|
+
_queryParams.preview = preview.toString();
|
|
1384755
|
+
}
|
|
1384723
1384756
|
const _headers = mergeHeaders(
|
|
1384724
1384757
|
this._options?.headers,
|
|
1384725
1384758
|
mergeOnlyDefinedHeaders({ Authorization: await this._getAuthorizationHeader() }),
|
|
@@ -1385166,6 +1385199,8 @@ var WriteClient2 = class {
|
|
|
1385166
1385199
|
* js: undefined,
|
|
1385167
1385200
|
* aiChatConfig: undefined,
|
|
1385168
1385201
|
* pageActions: undefined,
|
|
1385202
|
+
* header: undefined,
|
|
1385203
|
+
* footer: undefined,
|
|
1385169
1385204
|
* backgroundImage: undefined,
|
|
1385170
1385205
|
* logoV2: undefined,
|
|
1385171
1385206
|
* logo: undefined,
|
|
@@ -1385654,7 +1385689,7 @@ var WriteClient2 = class {
|
|
|
1385654
1385689
|
};
|
|
1385655
1385690
|
}
|
|
1385656
1385691
|
/**
|
|
1385657
|
-
* Delete a docs site
|
|
1385692
|
+
* Delete a preview docs site. Only preview sites can be deleted through this endpoint.
|
|
1385658
1385693
|
*
|
|
1385659
1385694
|
* @param {FernRegistry.docs.v2.write.DeleteDocsSiteRequest} request
|
|
1385660
1385695
|
* @param {WriteClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1385705,6 +1385740,7 @@ var WriteClient2 = class {
|
|
|
1385705
1385740
|
switch (_response.error.body?.error) {
|
|
1385706
1385741
|
case "DocsNotFoundError":
|
|
1385707
1385742
|
case "UnauthorizedError":
|
|
1385743
|
+
case "CannotDeleteNonPreviewSiteError":
|
|
1385708
1385744
|
return {
|
|
1385709
1385745
|
data: {
|
|
1385710
1385746
|
ok: false,
|
|
@@ -1388512,6 +1388548,7 @@ __export2(DocsV1Db_exports, {
|
|
|
1388512
1388548
|
OrgId: () => OrgId,
|
|
1388513
1388549
|
PageActionOption: () => PageActionOption3,
|
|
1388514
1388550
|
PageId: () => PageId,
|
|
1388551
|
+
ProductSwitcherConfig: () => ProductSwitcherConfig,
|
|
1388515
1388552
|
ProgrammingLanguage: () => ProgrammingLanguage3,
|
|
1388516
1388553
|
PropertyKey: () => PropertyKey,
|
|
1388517
1388554
|
RoleId: () => RoleId2,
|
|
@@ -1388560,6 +1388597,7 @@ __export2(DocsV1Read_exports, {
|
|
|
1388560
1388597
|
OrgId: () => OrgId,
|
|
1388561
1388598
|
PageActionOption: () => PageActionOption3,
|
|
1388562
1388599
|
PageId: () => PageId,
|
|
1388600
|
+
ProductSwitcherConfig: () => ProductSwitcherConfig,
|
|
1388563
1388601
|
ProgrammingLanguage: () => ProgrammingLanguage3,
|
|
1388564
1388602
|
PropertyKey: () => PropertyKey,
|
|
1388565
1388603
|
RoleId: () => RoleId2,
|
|
@@ -1388612,6 +1388650,7 @@ __export2(DocsV1Write_exports, {
|
|
|
1388612
1388650
|
OrgId: () => OrgId,
|
|
1388613
1388651
|
PageActionOption: () => PageActionOption3,
|
|
1388614
1388652
|
PageId: () => PageId,
|
|
1388653
|
+
ProductSwitcherConfig: () => ProductSwitcherConfig,
|
|
1388615
1388654
|
ProgrammingLanguage: () => ProgrammingLanguage3,
|
|
1388616
1388655
|
PropertyKey: () => PropertyKey,
|
|
1388617
1388656
|
RoleId: () => RoleId2,
|
|
@@ -1390014,7 +1390053,9 @@ function convertDocsDefinitionToDb({
|
|
|
1390014
1390053
|
analyticsConfig: writeShape.config.analyticsConfig,
|
|
1390015
1390054
|
announcement: writeShape.config.announcement,
|
|
1390016
1390055
|
aiChatConfig: writeShape.config.aiChatConfig,
|
|
1390017
|
-
pageActions: writeShape.config.pageActions
|
|
1390056
|
+
pageActions: writeShape.config.pageActions,
|
|
1390057
|
+
header: writeShape.config.header,
|
|
1390058
|
+
footer: writeShape.config.footer
|
|
1390018
1390059
|
},
|
|
1390019
1390060
|
pages: writeShape.pages,
|
|
1390020
1390061
|
jsFiles: writeShape.jsFiles
|
|
@@ -1390747,7 +1390788,9 @@ function convertDbDocsConfigToRead({ dbShape }) {
|
|
|
1390747
1390788
|
analyticsConfig: dbShape.analyticsConfig,
|
|
1390748
1390789
|
announcement: dbShape.announcement,
|
|
1390749
1390790
|
aiChatConfig: dbShape.aiChatConfig,
|
|
1390750
|
-
pageActions: dbShape.pageActions
|
|
1390791
|
+
pageActions: dbShape.pageActions,
|
|
1390792
|
+
header: dbShape.header,
|
|
1390793
|
+
footer: dbShape.footer
|
|
1390751
1390794
|
};
|
|
1390752
1390795
|
}
|
|
1390753
1390796
|
function transformFontConfigToV2(fontConfig) {
|
|
@@ -1394928,6 +1394971,8 @@ async function parseDocsConfiguration({ rawDocsConfiguration, absolutePathToFern
|
|
|
1394928
1394971
|
js: js4,
|
|
1394929
1394972
|
aiChatConfig: aiSearch ?? aiChat,
|
|
1394930
1394973
|
pageActions: convertPageActions(pageActions, absoluteFilepathToDocsConfig),
|
|
1394974
|
+
header: void 0,
|
|
1394975
|
+
footer: void 0,
|
|
1394931
1394976
|
experimental
|
|
1394932
1394977
|
};
|
|
1394933
1394978
|
}
|
|
@@ -1395053,7 +1395098,9 @@ function convertThemeConfig(theme) {
|
|
|
1395053
1395098
|
tabs: theme.tabs ?? "default",
|
|
1395054
1395099
|
body: theme.body ?? "default",
|
|
1395055
1395100
|
pageActions: theme.pageActions ?? "default",
|
|
1395056
|
-
footerNav: theme.footerNav ?? "default"
|
|
1395101
|
+
footerNav: theme.footerNav ?? "default",
|
|
1395102
|
+
languageSwitcher: theme.languageSwitcher ?? "default",
|
|
1395103
|
+
productSwitcher: theme.productSwitcher ?? "default"
|
|
1395057
1395104
|
};
|
|
1395058
1395105
|
}
|
|
1395059
1395106
|
function convertSettingsConfig(settings) {
|
|
@@ -1413617,7 +1413664,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1413617
1413664
|
properties: {
|
|
1413618
1413665
|
...event,
|
|
1413619
1413666
|
...event.properties,
|
|
1413620
|
-
version: "3.30.
|
|
1413667
|
+
version: "3.30.3-1-g1afe186e21",
|
|
1413621
1413668
|
usingAccessToken: true
|
|
1413622
1413669
|
}
|
|
1413623
1413670
|
});
|
|
@@ -1413716,7 +1413763,7 @@ var UserPosthogManager = class {
|
|
|
1413716
1413763
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1413717
1413764
|
event: "CLI",
|
|
1413718
1413765
|
properties: {
|
|
1413719
|
-
version: "3.30.
|
|
1413766
|
+
version: "3.30.3-1-g1afe186e21",
|
|
1413720
1413767
|
...event,
|
|
1413721
1413768
|
...event.properties,
|
|
1413722
1413769
|
usingAccessToken: false,
|
|
@@ -1493782,7 +1493829,7 @@ var CliContext = class {
|
|
|
1493782
1493829
|
if (false) {
|
|
1493783
1493830
|
this.logger.error("CLI_VERSION is not defined");
|
|
1493784
1493831
|
}
|
|
1493785
|
-
return "3.30.
|
|
1493832
|
+
return "3.30.3-1-g1afe186e21";
|
|
1493786
1493833
|
}
|
|
1493787
1493834
|
getCliName() {
|
|
1493788
1493835
|
if (false) {
|
|
@@ -1544634,6 +1544681,13 @@ var definitions4 = {
|
|
|
1544634
1544681
|
"minimal"
|
|
1544635
1544682
|
]
|
|
1544636
1544683
|
},
|
|
1544684
|
+
"docs.ProductSwitcherThemeConfig": {
|
|
1544685
|
+
type: "string",
|
|
1544686
|
+
enum: [
|
|
1544687
|
+
"default",
|
|
1544688
|
+
"toggle"
|
|
1544689
|
+
]
|
|
1544690
|
+
},
|
|
1544637
1544691
|
"docs.ThemeConfig": {
|
|
1544638
1544692
|
type: "object",
|
|
1544639
1544693
|
properties: {
|
|
@@ -1544696,6 +1544750,16 @@ var definitions4 = {
|
|
|
1544696
1544750
|
type: "null"
|
|
1544697
1544751
|
}
|
|
1544698
1544752
|
]
|
|
1544753
|
+
},
|
|
1544754
|
+
"product-switcher": {
|
|
1544755
|
+
oneOf: [
|
|
1544756
|
+
{
|
|
1544757
|
+
$ref: "#/definitions/docs.ProductSwitcherThemeConfig"
|
|
1544758
|
+
},
|
|
1544759
|
+
{
|
|
1544760
|
+
type: "null"
|
|
1544761
|
+
}
|
|
1544762
|
+
]
|
|
1544699
1544763
|
}
|
|
1544700
1544764
|
},
|
|
1544701
1544765
|
additionalProperties: false
|
|
@@ -1579136,7 +1579200,8 @@ var DocsDefinitionResolver = class {
|
|
|
1579136
1579200
|
tabs: this.parsedDocsConfig.theme.tabs,
|
|
1579137
1579201
|
"page-actions": this.parsedDocsConfig.theme.pageActions,
|
|
1579138
1579202
|
footerNav: this.parsedDocsConfig.theme.footerNav,
|
|
1579139
|
-
"language-switcher": this.parsedDocsConfig.theme.languageSwitcher
|
|
1579203
|
+
"language-switcher": this.parsedDocsConfig.theme.languageSwitcher,
|
|
1579204
|
+
"product-switcher": this.parsedDocsConfig.theme.productSwitcher
|
|
1579140
1579205
|
} : void 0,
|
|
1579141
1579206
|
// deprecated
|
|
1579142
1579207
|
logo: void 0,
|
|
@@ -1579144,7 +1579209,9 @@ var DocsDefinitionResolver = class {
|
|
|
1579144
1579209
|
colors: void 0,
|
|
1579145
1579210
|
colorsV2: void 0,
|
|
1579146
1579211
|
typography: void 0,
|
|
1579147
|
-
backgroundImage: void 0
|
|
1579212
|
+
backgroundImage: void 0,
|
|
1579213
|
+
header: void 0,
|
|
1579214
|
+
footer: void 0
|
|
1579148
1579215
|
};
|
|
1579149
1579216
|
return config2;
|
|
1579150
1579217
|
}
|
|
@@ -1588583,7 +1588650,7 @@ var import_path35 = __toESM(require("path"), 1);
|
|
|
1588583
1588650
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
1588584
1588651
|
var LOGS_FOLDER_NAME = "logs";
|
|
1588585
1588652
|
function getCliSource() {
|
|
1588586
|
-
const version6 = "3.30.
|
|
1588653
|
+
const version6 = "3.30.3-1-g1afe186e21";
|
|
1588587
1588654
|
return `cli@${version6}`;
|
|
1588588
1588655
|
}
|
|
1588589
1588656
|
var DebugLogger = class {
|
|
@@ -1590532,7 +1590599,9 @@ var EMPTY_DOCS_DEFINITION = {
|
|
|
1590532
1590599
|
css: void 0,
|
|
1590533
1590600
|
js: void 0,
|
|
1590534
1590601
|
pageActions: void 0,
|
|
1590535
|
-
theme: void 0
|
|
1590602
|
+
theme: void 0,
|
|
1590603
|
+
header: void 0,
|
|
1590604
|
+
footer: void 0
|
|
1590536
1590605
|
},
|
|
1590537
1590606
|
jsFiles: void 0,
|
|
1590538
1590607
|
id: void 0
|
|
@@ -1591243,7 +1591312,9 @@ var EMPTY_DOCS_DEFINITION2 = {
|
|
|
1591243
1591312
|
css: void 0,
|
|
1591244
1591313
|
js: void 0,
|
|
1591245
1591314
|
pageActions: void 0,
|
|
1591246
|
-
theme: void 0
|
|
1591315
|
+
theme: void 0,
|
|
1591316
|
+
header: void 0,
|
|
1591317
|
+
footer: void 0
|
|
1591247
1591318
|
},
|
|
1591248
1591319
|
jsFiles: void 0,
|
|
1591249
1591320
|
id: void 0
|
package/package.json
CHANGED