@fern-api/fern-api-dev 3.53.2 → 3.54.0-1-gcebacd6a60f
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 +96 -18
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -1315149,7 +1315149,7 @@ function sortBy(arr, criteria) {
|
|
|
1315149
1315149
|
return orderBy(arr, criteria, ["asc"]);
|
|
1315150
1315150
|
}
|
|
1315151
1315151
|
|
|
1315152
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1315152
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.145.2-f567255d0_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
|
|
1315153
1315153
|
var import_ts_essentials = __toESM(require_dist(), 1);
|
|
1315154
1315154
|
|
|
1315155
1315155
|
// ../../../node_modules/.pnpm/es-toolkit@1.43.0/node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
|
|
@@ -1315407,7 +1315407,7 @@ function camelCase3(str3) {
|
|
|
1315407
1315407
|
return `${first3.toLowerCase()}${rest.map((word) => capitalize2(word)).join("")}`;
|
|
1315408
1315408
|
}
|
|
1315409
1315409
|
|
|
1315410
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1315410
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.145.2-f567255d0_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
|
|
1315411
1315411
|
var import_qs = __toESM(require_lib2(), 1);
|
|
1315412
1315412
|
var import_ts_essentials2 = __toESM(require_dist(), 1);
|
|
1315413
1315413
|
var import_ts_essentials3 = __toESM(require_dist(), 1);
|
|
@@ -1321193,7 +1321193,7 @@ function kebabCase2(str3) {
|
|
|
1321193
1321193
|
return words$1.map((word) => word.toLowerCase()).join("-");
|
|
1321194
1321194
|
}
|
|
1321195
1321195
|
|
|
1321196
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1321196
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.145.2-f567255d0_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
|
|
1321197
1321197
|
var import_fast_deep_equal = __toESM(require_fast_deep_equal(), 1);
|
|
1321198
1321198
|
|
|
1321199
1321199
|
// ../../../node_modules/.pnpm/tinycolor2@1.6.0/node_modules/tinycolor2/esm/tinycolor.js
|
|
@@ -1322161,7 +1322161,7 @@ function validateWCAG2Parms(parms) {
|
|
|
1322161
1322161
|
};
|
|
1322162
1322162
|
}
|
|
1322163
1322163
|
|
|
1322164
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1322164
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.145.2-f567255d0_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
|
|
1322165
1322165
|
var import_ts_essentials4 = __toESM(require_dist(), 1);
|
|
1322166
1322166
|
var import_url_join2 = __toESM(require_url_join(), 1);
|
|
1322167
1322167
|
var import_ts_essentials5 = __toESM(require_dist(), 1);
|
|
@@ -1322184,7 +1322184,7 @@ function once(func2) {
|
|
|
1322184
1322184
|
};
|
|
1322185
1322185
|
}
|
|
1322186
1322186
|
|
|
1322187
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1322187
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.145.2-f567255d0_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
|
|
1322188
1322188
|
var import_ts_essentials6 = __toESM(require_dist(), 1);
|
|
1322189
1322189
|
var import_ts_essentials7 = __toESM(require_dist(), 1);
|
|
1322190
1322190
|
var import_url_join3 = __toESM(require_url_join(), 1);
|
|
@@ -1322414,7 +1322414,7 @@ var esm_default2 = typeof structuredClone === "function" ? (
|
|
|
1322414
1322414
|
(any9, options2) => options2 && ("json" in options2 || "lossy" in options2) ? deserialize(serialize(any9, options2)) : structuredClone(any9)
|
|
1322415
1322415
|
) : (any9, options2) => deserialize(serialize(any9, options2));
|
|
1322416
1322416
|
|
|
1322417
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.
|
|
1322417
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@0.145.2-f567255d0_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
|
|
1322418
1322418
|
var import_ts_essentials12 = __toESM(require_dist(), 1);
|
|
1322419
1322419
|
var __create2 = Object.create;
|
|
1322420
1322420
|
var __defProp2 = Object.defineProperty;
|
|
@@ -1373267,17 +1373267,27 @@ function isLikelyGeneratedSnippet(snippet2) {
|
|
|
1373267
1373267
|
}
|
|
1373268
1373268
|
return snippet2.name == null && snippet2.install == null && snippet2.description == null;
|
|
1373269
1373269
|
}
|
|
1373270
|
-
function shouldRegenerateCurlSnippet(existingSnippets, expectedHeaderName) {
|
|
1373270
|
+
function shouldRegenerateCurlSnippet(existingSnippets, expectedHeaderName, authScheme) {
|
|
1373271
1373271
|
if (existingSnippets == null || existingSnippets.length === 0) {
|
|
1373272
1373272
|
return true;
|
|
1373273
1373273
|
}
|
|
1373274
|
-
if (expectedHeaderName == null) {
|
|
1373275
|
-
return false;
|
|
1373276
|
-
}
|
|
1373277
1373274
|
const allLikelyGenerated = existingSnippets.every(isLikelyGeneratedSnippet);
|
|
1373278
1373275
|
if (!allLikelyGenerated) {
|
|
1373279
1373276
|
return false;
|
|
1373280
1373277
|
}
|
|
1373278
|
+
if (authScheme?.type === "basicAuth") {
|
|
1373279
|
+
const usesBasicAuthHeader = existingSnippets.some(
|
|
1373280
|
+
(s82) => s82.code.includes('-H "Authorization: Basic') || s82.code.includes("-H 'Authorization: Basic")
|
|
1373281
|
+
);
|
|
1373282
|
+
if (usesBasicAuthHeader) {
|
|
1373283
|
+
return true;
|
|
1373284
|
+
}
|
|
1373285
|
+
const usesUFlag = existingSnippets.some((s82) => s82.code.includes("-u "));
|
|
1373286
|
+
return !usesUFlag;
|
|
1373287
|
+
}
|
|
1373288
|
+
if (expectedHeaderName == null) {
|
|
1373289
|
+
return false;
|
|
1373290
|
+
}
|
|
1373281
1373291
|
const hasCorrectHeader = existingSnippets.some(
|
|
1373282
1373292
|
(s82) => s82.code.includes(`"${expectedHeaderName}:`) || s82.code.includes(`'${expectedHeaderName}:`)
|
|
1373283
1373293
|
);
|
|
@@ -1373448,7 +1373458,7 @@ async function generateHttpSnippets(apiDefinition, endpoint3, example, options2)
|
|
|
1373448
1373458
|
};
|
|
1373449
1373459
|
const authScheme = getFirstAuthScheme(endpoint3, apiDefinition.auths);
|
|
1373450
1373460
|
const expectedHeaderName = getAuthHeaderName(authScheme);
|
|
1373451
|
-
const needsCurlRegeneration = shouldRegenerateCurlSnippet(existingSnippets.curl, expectedHeaderName);
|
|
1373461
|
+
const needsCurlRegeneration = shouldRegenerateCurlSnippet(existingSnippets.curl, expectedHeaderName, authScheme);
|
|
1373452
1373462
|
if (needsCurlRegeneration && shouldIncludeLanguage("curl")) {
|
|
1373453
1373463
|
snippets.push(generateCurlSnippet(apiDefinition, endpoint3, example));
|
|
1373454
1373464
|
}
|
|
@@ -1374746,6 +1374756,7 @@ __export2(commons_exports6, {
|
|
|
1374746
1374756
|
ProductSwitcherConfig: () => ProductSwitcherConfig,
|
|
1374747
1374757
|
ProgrammingLanguage: () => ProgrammingLanguage,
|
|
1374748
1374758
|
SearchbarPlacement: () => SearchbarPlacement,
|
|
1374759
|
+
SwitcherPlacement: () => SwitcherPlacement,
|
|
1374749
1374760
|
TabsPlacement: () => TabsPlacement,
|
|
1374750
1374761
|
TwitterCardSetting: () => TwitterCardSetting2,
|
|
1374751
1374762
|
commons: () => commons_exports5
|
|
@@ -1374772,6 +1374783,7 @@ __export2(commons_exports5, {
|
|
|
1374772
1374783
|
ProductSwitcherConfig: () => ProductSwitcherConfig,
|
|
1374773
1374784
|
ProgrammingLanguage: () => ProgrammingLanguage,
|
|
1374774
1374785
|
SearchbarPlacement: () => SearchbarPlacement,
|
|
1374786
|
+
SwitcherPlacement: () => SwitcherPlacement,
|
|
1374775
1374787
|
TabsPlacement: () => TabsPlacement,
|
|
1374776
1374788
|
TwitterCardSetting: () => TwitterCardSetting2
|
|
1374777
1374789
|
});
|
|
@@ -1374905,6 +1374917,10 @@ var SearchbarPlacement = {
|
|
|
1374905
1374917
|
HeaderTabs: "HEADER_TABS",
|
|
1374906
1374918
|
Sidebar: "SIDEBAR"
|
|
1374907
1374919
|
};
|
|
1374920
|
+
var SwitcherPlacement = {
|
|
1374921
|
+
Header: "HEADER",
|
|
1374922
|
+
Sidebar: "SIDEBAR"
|
|
1374923
|
+
};
|
|
1374908
1374924
|
var TabsPlacement = {
|
|
1374909
1374925
|
Header: "HEADER",
|
|
1374910
1374926
|
Sidebar: "SIDEBAR"
|
|
@@ -1383288,6 +1383304,7 @@ __export2(DocsV1Db_exports, {
|
|
|
1383288
1383304
|
PropertyKey: () => PropertyKey,
|
|
1383289
1383305
|
RoleId: () => RoleId,
|
|
1383290
1383306
|
SearchbarPlacement: () => SearchbarPlacement,
|
|
1383307
|
+
SwitcherPlacement: () => SwitcherPlacement,
|
|
1383291
1383308
|
TabsPlacement: () => TabsPlacement,
|
|
1383292
1383309
|
TokenId: () => TokenId,
|
|
1383293
1383310
|
TwitterCardSetting: () => TwitterCardSetting2,
|
|
@@ -1383339,6 +1383356,7 @@ __export2(DocsV1Read_exports, {
|
|
|
1383339
1383356
|
PropertyKey: () => PropertyKey,
|
|
1383340
1383357
|
RoleId: () => RoleId,
|
|
1383341
1383358
|
SearchbarPlacement: () => SearchbarPlacement,
|
|
1383359
|
+
SwitcherPlacement: () => SwitcherPlacement,
|
|
1383342
1383360
|
TabsPlacement: () => TabsPlacement,
|
|
1383343
1383361
|
TokenId: () => TokenId,
|
|
1383344
1383362
|
TwitterCardSetting: () => TwitterCardSetting2,
|
|
@@ -1383394,6 +1383412,7 @@ __export2(DocsV1Write_exports, {
|
|
|
1383394
1383412
|
PropertyKey: () => PropertyKey,
|
|
1383395
1383413
|
RoleId: () => RoleId,
|
|
1383396
1383414
|
SearchbarPlacement: () => SearchbarPlacement,
|
|
1383415
|
+
SwitcherPlacement: () => SwitcherPlacement,
|
|
1383397
1383416
|
TabsPlacement: () => TabsPlacement,
|
|
1383398
1383417
|
TokenId: () => TokenId,
|
|
1383399
1383418
|
TwitterCardSetting: () => TwitterCardSetting2,
|
|
@@ -1389101,7 +1389120,25 @@ function findNode(root6, slug) {
|
|
|
1389101
1389120
|
}
|
|
1389102
1389121
|
return node3;
|
|
1389103
1389122
|
});
|
|
1389104
|
-
|
|
1389123
|
+
let currentTab = currentTabNode?.type === "tab" || currentTabNode?.type === "changelog" ? currentTabNode : void 0;
|
|
1389124
|
+
if (currentTab == null && tabbedNode != null) {
|
|
1389125
|
+
for (const tab2 of tabbedNode.children) {
|
|
1389126
|
+
if (tab2.type === "tab" && tab2.pointsTo === found.node.slug) {
|
|
1389127
|
+
currentTab = tab2;
|
|
1389128
|
+
break;
|
|
1389129
|
+
}
|
|
1389130
|
+
if (tab2.type === "changelog" && tab2.slug === found.node.slug) {
|
|
1389131
|
+
currentTab = tab2;
|
|
1389132
|
+
break;
|
|
1389133
|
+
}
|
|
1389134
|
+
}
|
|
1389135
|
+
if (currentTab == null && found.node.type === "landingPage") {
|
|
1389136
|
+
const firstTab = tabbedNode.children.find((tab2) => tab2.type === "tab" || tab2.type === "changelog");
|
|
1389137
|
+
if (firstTab != null && (firstTab.type === "tab" || firstTab.type === "changelog")) {
|
|
1389138
|
+
currentTab = firstTab;
|
|
1389139
|
+
}
|
|
1389140
|
+
}
|
|
1389141
|
+
}
|
|
1389105
1389142
|
const slugPrefix = currentVariant?.slug ?? (currentProduct?.type === "product" ? currentProduct.slug : void 0) ?? currentVersion?.slug ?? root6.slug;
|
|
1389106
1389143
|
const unversionedSlug = navigation_exports2.Slug(
|
|
1389107
1389144
|
found.node.slug.replace(new RegExp(`^${escapeRegExp(slugPrefix)}/`), "")
|
|
@@ -1422729,6 +1422766,7 @@ __export(schemas_exports6, {
|
|
|
1422729
1422766
|
SearchbarPlacement: () => SearchbarPlacement2,
|
|
1422730
1422767
|
Serializer: () => serialization_exports2,
|
|
1422731
1422768
|
SidebarThemeConfig: () => SidebarThemeConfig,
|
|
1422769
|
+
SwitcherPlacement: () => SwitcherPlacement2,
|
|
1422732
1422770
|
TabsPlacement: () => TabsPlacement2,
|
|
1422733
1422771
|
TabsThemeConfig: () => TabsThemeConfig,
|
|
1422734
1422772
|
Target: () => Target,
|
|
@@ -1422761,6 +1422799,7 @@ __export(api_exports5, {
|
|
|
1422761
1422799
|
ProgrammingLanguage: () => ProgrammingLanguage2,
|
|
1422762
1422800
|
SearchbarPlacement: () => SearchbarPlacement2,
|
|
1422763
1422801
|
SidebarThemeConfig: () => SidebarThemeConfig,
|
|
1422802
|
+
SwitcherPlacement: () => SwitcherPlacement2,
|
|
1422764
1422803
|
TabsPlacement: () => TabsPlacement2,
|
|
1422765
1422804
|
TabsThemeConfig: () => TabsThemeConfig,
|
|
1422766
1422805
|
Target: () => Target,
|
|
@@ -1422792,6 +1422831,7 @@ __export(docs_exports4, {
|
|
|
1422792
1422831
|
ProgrammingLanguage: () => ProgrammingLanguage2,
|
|
1422793
1422832
|
SearchbarPlacement: () => SearchbarPlacement2,
|
|
1422794
1422833
|
SidebarThemeConfig: () => SidebarThemeConfig,
|
|
1422834
|
+
SwitcherPlacement: () => SwitcherPlacement2,
|
|
1422795
1422835
|
TabsPlacement: () => TabsPlacement2,
|
|
1422796
1422836
|
TabsThemeConfig: () => TabsThemeConfig,
|
|
1422797
1422837
|
Target: () => Target,
|
|
@@ -1422957,6 +1422997,12 @@ var TabsPlacement2 = {
|
|
|
1422957
1422997
|
Sidebar: "sidebar"
|
|
1422958
1422998
|
};
|
|
1422959
1422999
|
|
|
1423000
|
+
// ../configuration/lib/docs-yml/schemas/sdk/api/resources/docs/types/SwitcherPlacement.js
|
|
1423001
|
+
var SwitcherPlacement2 = {
|
|
1423002
|
+
Header: "header",
|
|
1423003
|
+
Sidebar: "sidebar"
|
|
1423004
|
+
};
|
|
1423005
|
+
|
|
1422960
1423006
|
// ../configuration/lib/docs-yml/schemas/sdk/api/resources/docs/types/ContentAlignment.js
|
|
1422961
1423007
|
var ContentAlignment2 = {
|
|
1422962
1423008
|
Center: "center",
|
|
@@ -1423153,6 +1423199,7 @@ __export(serialization_exports2, {
|
|
|
1423153
1423199
|
SidebarThemeConfig: () => SidebarThemeConfig2,
|
|
1423154
1423200
|
SnippetLanguageConfiguration: () => SnippetLanguageConfiguration,
|
|
1423155
1423201
|
SnippetsConfiguration: () => SnippetsConfiguration,
|
|
1423202
|
+
SwitcherPlacement: () => SwitcherPlacement3,
|
|
1423156
1423203
|
TabConfig: () => TabConfig,
|
|
1423157
1423204
|
TabId: () => TabId3,
|
|
1423158
1423205
|
TabVariant: () => TabVariant,
|
|
@@ -1423282,6 +1423329,7 @@ __export(docs_exports5, {
|
|
|
1423282
1423329
|
SidebarThemeConfig: () => SidebarThemeConfig2,
|
|
1423283
1423330
|
SnippetLanguageConfiguration: () => SnippetLanguageConfiguration,
|
|
1423284
1423331
|
SnippetsConfiguration: () => SnippetsConfiguration,
|
|
1423332
|
+
SwitcherPlacement: () => SwitcherPlacement3,
|
|
1423285
1423333
|
TabConfig: () => TabConfig,
|
|
1423286
1423334
|
TabId: () => TabId3,
|
|
1423287
1423335
|
TabVariant: () => TabVariant,
|
|
@@ -1425129,6 +1425177,9 @@ var SearchbarPlacement3 = schemas_exports5.enum_(["header", "header-tabs", "side
|
|
|
1425129
1425177
|
// ../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/TabsPlacement.js
|
|
1425130
1425178
|
var TabsPlacement3 = schemas_exports5.enum_(["header", "sidebar"]);
|
|
1425131
1425179
|
|
|
1425180
|
+
// ../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/SwitcherPlacement.js
|
|
1425181
|
+
var SwitcherPlacement3 = schemas_exports5.enum_(["header", "sidebar"]);
|
|
1425182
|
+
|
|
1425132
1425183
|
// ../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/ContentAlignment.js
|
|
1425133
1425184
|
var ContentAlignment3 = schemas_exports5.enum_(["center", "left"]);
|
|
1425134
1425185
|
|
|
@@ -1425143,6 +1425194,7 @@ var LayoutConfig = schemas_exports5.object({
|
|
|
1425143
1425194
|
headerHeight: schemas_exports5.property("header-height", schemas_exports5.string().optional()),
|
|
1425144
1425195
|
searchbarPlacement: schemas_exports5.property("searchbar-placement", SearchbarPlacement3.optional()),
|
|
1425145
1425196
|
tabsPlacement: schemas_exports5.property("tabs-placement", TabsPlacement3.optional()),
|
|
1425197
|
+
switcherPlacement: schemas_exports5.property("switcher-placement", SwitcherPlacement3.optional()),
|
|
1425146
1425198
|
contentAlignment: schemas_exports5.property("content-alignment", ContentAlignment3.optional()),
|
|
1425147
1425199
|
headerPosition: schemas_exports5.property("header-position", HeaderPosition3.optional()),
|
|
1425148
1425200
|
disableHeader: schemas_exports5.property("disable-header", schemas_exports5.boolean().optional()),
|
|
@@ -1498371,6 +1498423,11 @@ var Generation = class {
|
|
|
1498371
1498423
|
origin: this.model.staticExplicit("JsonUtils"),
|
|
1498372
1498424
|
namespace: this.namespaces.core
|
|
1498373
1498425
|
}),
|
|
1498426
|
+
/** Test assertion helper for JSON comparison */
|
|
1498427
|
+
JsonAssert: () => this.csharp.classReference({
|
|
1498428
|
+
origin: this.model.staticExplicit("JsonAssert"),
|
|
1498429
|
+
namespace: this.namespaces.testUtils
|
|
1498430
|
+
}),
|
|
1498374
1498431
|
/** Factory for creating custom pagination instances */
|
|
1498375
1498432
|
CustomPagerFactory: () => this.csharp.classReference({
|
|
1498376
1498433
|
origin: this.model.staticExplicit(`${this.names.classes.customPager}Factory`),
|
|
@@ -1528503,6 +1528560,7 @@ function convertLayoutConfig(layout) {
|
|
|
1528503
1528560
|
sidebarWidth: parseSizeConfig(layout.sidebarWidth),
|
|
1528504
1528561
|
headerHeight: parseSizeConfig(layout.headerHeight),
|
|
1528505
1528562
|
searchbarPlacement: layout.searchbarPlacement === "header" ? FdrAPI_exports.docs.v1.commons.SearchbarPlacement.Header : layout.searchbarPlacement === "header-tabs" ? FdrAPI_exports.docs.v1.commons.SearchbarPlacement.HeaderTabs : FdrAPI_exports.docs.v1.commons.SearchbarPlacement.Sidebar,
|
|
1528563
|
+
switcherPlacement: layout.switcherPlacement === "header" ? FdrAPI_exports.docs.v1.commons.SwitcherPlacement.Header : FdrAPI_exports.docs.v1.commons.SwitcherPlacement.Sidebar,
|
|
1528506
1528564
|
tabsPlacement: layout.tabsPlacement === "header" ? FdrAPI_exports.docs.v1.commons.TabsPlacement.Header : FdrAPI_exports.docs.v1.commons.TabsPlacement.Sidebar,
|
|
1528507
1528565
|
contentAlignment: layout.contentAlignment === "left" ? FdrAPI_exports.docs.v1.commons.ContentAlignment.Left : FdrAPI_exports.docs.v1.commons.ContentAlignment.Center,
|
|
1528508
1528566
|
headerPosition: layout.headerPosition === "static" ? FdrAPI_exports.docs.v1.commons.HeaderPosition.Absolute : FdrAPI_exports.docs.v1.commons.HeaderPosition.Fixed,
|
|
@@ -1587286,6 +1587344,13 @@ var definitions4 = {
|
|
|
1587286
1587344
|
"sidebar"
|
|
1587287
1587345
|
]
|
|
1587288
1587346
|
},
|
|
1587347
|
+
"docs.SwitcherPlacement": {
|
|
1587348
|
+
type: "string",
|
|
1587349
|
+
enum: [
|
|
1587350
|
+
"header",
|
|
1587351
|
+
"sidebar"
|
|
1587352
|
+
]
|
|
1587353
|
+
},
|
|
1587289
1587354
|
"docs.ContentAlignment": {
|
|
1587290
1587355
|
type: "string",
|
|
1587291
1587356
|
enum: [
|
|
@@ -1587363,6 +1587428,16 @@ var definitions4 = {
|
|
|
1587363
1587428
|
}
|
|
1587364
1587429
|
]
|
|
1587365
1587430
|
},
|
|
1587431
|
+
"switcher-placement": {
|
|
1587432
|
+
oneOf: [
|
|
1587433
|
+
{
|
|
1587434
|
+
$ref: "#/definitions/docs.SwitcherPlacement"
|
|
1587435
|
+
},
|
|
1587436
|
+
{
|
|
1587437
|
+
type: "null"
|
|
1587438
|
+
}
|
|
1587439
|
+
]
|
|
1587440
|
+
},
|
|
1587366
1587441
|
"content-alignment": {
|
|
1587367
1587442
|
oneOf: [
|
|
1587368
1587443
|
{
|
|
@@ -1652497,7 +1652572,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1652497
1652572
|
properties: {
|
|
1652498
1652573
|
...event,
|
|
1652499
1652574
|
...event.properties,
|
|
1652500
|
-
version: "3.
|
|
1652575
|
+
version: "3.54.0-1-gcebacd6a60f",
|
|
1652501
1652576
|
usingAccessToken: true
|
|
1652502
1652577
|
}
|
|
1652503
1652578
|
});
|
|
@@ -1652547,7 +1652622,7 @@ var UserPosthogManager = class {
|
|
|
1652547
1652622
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1652548
1652623
|
event: "CLI",
|
|
1652549
1652624
|
properties: {
|
|
1652550
|
-
version: "3.
|
|
1652625
|
+
version: "3.54.0-1-gcebacd6a60f",
|
|
1652551
1652626
|
...event,
|
|
1652552
1652627
|
...event.properties,
|
|
1652553
1652628
|
usingAccessToken: false,
|
|
@@ -1685689,7 +1685764,7 @@ var CliContext = class {
|
|
|
1685689
1685764
|
if (false) {
|
|
1685690
1685765
|
this.logger.error("CLI_VERSION is not defined");
|
|
1685691
1685766
|
}
|
|
1685692
|
-
return "3.
|
|
1685767
|
+
return "3.54.0-1-gcebacd6a60f";
|
|
1685693
1685768
|
}
|
|
1685694
1685769
|
getCliName() {
|
|
1685695
1685770
|
if (false) {
|
|
@@ -1688802,7 +1688877,7 @@ var import_path54 = __toESM(require("path"), 1);
|
|
|
1688802
1688877
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
1688803
1688878
|
var LOGS_FOLDER_NAME = "logs";
|
|
1688804
1688879
|
function getCliSource() {
|
|
1688805
|
-
const version7 = "3.
|
|
1688880
|
+
const version7 = "3.54.0-1-gcebacd6a60f";
|
|
1688806
1688881
|
return `cli@${version7}`;
|
|
1688807
1688882
|
}
|
|
1688808
1688883
|
var DebugLogger = class {
|
|
@@ -1690652,6 +1690727,7 @@ async function getPreviewDocsDefinition({ domain: domain3, project, context: con
|
|
|
1690652
1690727
|
filesV2,
|
|
1690653
1690728
|
pages: dbDocsDefinition.pages,
|
|
1690654
1690729
|
jsFiles: dbDocsDefinition.jsFiles,
|
|
1690730
|
+
apiNameToId: {},
|
|
1690655
1690731
|
id: void 0
|
|
1690656
1690732
|
};
|
|
1690657
1690733
|
if (docsWorkspace.config.settings?.substituteEnvVars) {
|
|
@@ -1690759,7 +1690835,8 @@ var EMPTY_DOCS_DEFINITION = {
|
|
|
1690759
1690835
|
footer: void 0
|
|
1690760
1690836
|
},
|
|
1690761
1690837
|
jsFiles: void 0,
|
|
1690762
|
-
id: void 0
|
|
1690838
|
+
id: void 0,
|
|
1690839
|
+
apiNameToId: {}
|
|
1690763
1690840
|
};
|
|
1690764
1690841
|
var SlugChangeTracker = class {
|
|
1690765
1690842
|
context;
|
|
@@ -1691473,7 +1691550,8 @@ var EMPTY_DOCS_DEFINITION2 = {
|
|
|
1691473
1691550
|
footer: void 0
|
|
1691474
1691551
|
},
|
|
1691475
1691552
|
jsFiles: void 0,
|
|
1691476
|
-
id: void 0
|
|
1691553
|
+
id: void 0,
|
|
1691554
|
+
apiNameToId: {}
|
|
1691477
1691555
|
};
|
|
1691478
1691556
|
async function runPreviewServer({ initialProject, reloadProject, validateProject, context: context2, port, bundlePath }) {
|
|
1691479
1691557
|
if (bundlePath != null) {
|
package/package.json
CHANGED