@fern-api/fdr-sdk 0.136.11-0060f6e4d → 0.136.12-2333528dc
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/dist/client/generated/api/resources/docs/resources/latest/resources/frontmatter/types/Frontmatter.d.ts +2 -0
- package/dist/client/generated/api/resources/docs/resources/latest/resources/frontmatter/types/Frontmatter.d.ts.map +1 -1
- package/dist/converters/db/convertAPIDefinitionToDb.js +1 -4
- package/dist/docs/frontmatter.d.ts.map +1 -1
- package/dist/docs/frontmatter.js +1 -0
- package/dist/navigation/versions/v1/followRedirect.d.ts.map +1 -1
- package/dist/navigation/versions/v1/followRedirect.js +2 -2
- package/package.json +3 -3
|
@@ -33,6 +33,8 @@ export interface Frontmatter extends FernRegistry.docs.latest.WithMetadataConfig
|
|
|
33
33
|
"force-toc": boolean | undefined;
|
|
34
34
|
/** Hides the (prev, next) navigation links at the bottom of the page. */
|
|
35
35
|
"hide-nav-links": boolean | undefined;
|
|
36
|
+
/** The maximum depth of the table of contents. */
|
|
37
|
+
"max-toc-depth": number | undefined;
|
|
36
38
|
/** Hides the feedback form at the bottom of the page */
|
|
37
39
|
"hide-feedback": boolean | undefined;
|
|
38
40
|
/** Disables click-to-zoom on all imgages on this page. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Frontmatter.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/client/generated/api/resources/docs/resources/latest/resources/frontmatter/types/Frontmatter.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,YAAY,MAAM,4BAA4B,CAAC;AAE3D,MAAM,WAAW,WACb,SAAQ,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,kBAAkB,EAC/C,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,qBAAqB;IAClD,4EAA4E;IAC5E,MAAM,EAAE,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC;IACpD,0HAA0H;IAC1H,IAAI,EAAE,YAAY,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,GAAG,SAAS,CAAC;IACtD;;;OAGG;IACH,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,+FAA+F;IAC/F,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,mGAAmG;IACnG,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;;OAGG;IACH,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,8BAA8B;IAC9B,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,GAAG,SAAS,CAAC;IAChD,6IAA6I;IAC7I,KAAK,EAAE,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,GAAG,SAAS,CAAC;IACxD,iEAAiE;IACjE,oBAAoB,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,mCAAmC;IACnC,UAAU,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,oFAAoF;IACpF,WAAW,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,yEAAyE;IACzE,gBAAgB,EAAE,OAAO,GAAG,SAAS,CAAC;IACtC,wDAAwD;IACxD,eAAe,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,0DAA0D;IAC1D,eAAe,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,yEAAyE;IACzE,UAAU,EAAE,YAAY,CAAC,UAAU,CAAC,MAAM,CAAC,cAAc,EAAE,GAAG,SAAS,CAAC;IACxE,4BAA4B;IAC5B,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,kGAAkG;IAClG,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC"}
|
|
1
|
+
{"version":3,"file":"Frontmatter.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/client/generated/api/resources/docs/resources/latest/resources/frontmatter/types/Frontmatter.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAA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,CAAC,cAAc,EAAE,GAAG,SAAS,CAAC;IACxE,4BAA4B;IAC5B,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,kGAAkG;IAClG,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC"}
|
|
@@ -534,10 +534,7 @@ function transformUnDiscriminatedVariant({ writeShape, }) {
|
|
|
534
534
|
availability: writeShape.availability,
|
|
535
535
|
// htmlDescription,
|
|
536
536
|
type: writeShape.type,
|
|
537
|
-
displayName: writeShape.displayName
|
|
538
|
-
(writeShape.typeName != null
|
|
539
|
-
? titleCase(writeShape.typeName)
|
|
540
|
-
: undefined),
|
|
537
|
+
displayName: writeShape.displayName,
|
|
541
538
|
// descriptionContainsMarkdown: true,
|
|
542
539
|
};
|
|
543
540
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontmatter.d.ts","sourceRoot":"","sources":["../../src/docs/frontmatter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,yDAAyD,CAAC;AAEtF,eAAO,MAAM,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"frontmatter.d.ts","sourceRoot":"","sources":["../../src/docs/frontmatter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,yDAAyD,CAAC;AAEtF,eAAO,MAAM,iBAAiB,EAAE,WAuC/B,CAAC"}
|
package/dist/docs/frontmatter.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"followRedirect.d.ts","sourceRoot":"","sources":["../../../../src/navigation/versions/v1/followRedirect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1C,wBAAgB,cAAc,CAC5B,YAAY,EAAE,cAAc,CAAC,EAAE,CAAC,cAAc,GAAG,SAAS,GACzD,cAAc,CAAC,EAAE,CAAC,IAAI,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"followRedirect.d.ts","sourceRoot":"","sources":["../../../../src/navigation/versions/v1/followRedirect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1C,wBAAgB,cAAc,CAC5B,YAAY,EAAE,cAAc,CAAC,EAAE,CAAC,cAAc,GAAG,SAAS,GACzD,cAAc,CAAC,EAAE,CAAC,IAAI,GAAG,SAAS,CA6CpC;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE,cAAc,CAAC,EAAE,CAAC,cAAc,EAAE,GACxC,cAAc,CAAC,EAAE,CAAC,IAAI,GAAG,SAAS,CAYpC"}
|
|
@@ -20,9 +20,9 @@ export function followRedirect(nodeToFollow) {
|
|
|
20
20
|
apiPackage: (node) => node.overviewPageId != null ? node.slug : followRedirects(node.children),
|
|
21
21
|
section: (node) => node.overviewPageId != null ? node.slug : followRedirects(node.children),
|
|
22
22
|
apiReference: (node) => node.overviewPageId != null ? node.slug : followRedirects(node.children),
|
|
23
|
-
// version is a special case where it should only consider it's first child (the first version)
|
|
24
23
|
product: (node) => followRedirect(node.child),
|
|
25
|
-
productgroup: (node) => followRedirect(node.children.filter((node) => !node.hidden)[0]),
|
|
24
|
+
productgroup: (node) => followRedirect(node.landingPage ?? node.children.filter((node) => !node.hidden)[0]),
|
|
25
|
+
// version is a special case where it should only consider it's first child (the first version)
|
|
26
26
|
versioned: (node) => followRedirect(node.children.filter((node) => !node.hidden)[0]),
|
|
27
27
|
unversioned: (node) => followRedirect(node.landingPage ?? node.child),
|
|
28
28
|
tabbed: (node) => followRedirects(node.children),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fern-api/fdr-sdk",
|
|
3
|
-
"version": "0.136.
|
|
3
|
+
"version": "0.136.12-2333528dc",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"test:update": "vitest --run --passWithNoTests --globals -u"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@fern-api/ui-core-utils": "0.136.
|
|
52
|
+
"@fern-api/ui-core-utils": "0.136.12-2333528dc*",
|
|
53
53
|
"@ungap/structured-clone": "^1.2.0",
|
|
54
54
|
"dayjs": "^1.11.11",
|
|
55
55
|
"es-toolkit": "^1.32.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@babel/core": "^7.26.9",
|
|
69
69
|
"@babel/preset-env": "^7.26.0",
|
|
70
70
|
"@babel/preset-typescript": "^7.26.0",
|
|
71
|
-
"@fern-platform/configs": "0.136.
|
|
71
|
+
"@fern-platform/configs": "0.136.12-2333528dc*",
|
|
72
72
|
"@types/node-fetch": "2.6.9",
|
|
73
73
|
"@types/qs": "6.9.14",
|
|
74
74
|
"@types/tinycolor2": "^1.4.6",
|