@fern-api/fdr-sdk 0.145.11-d3f4174bc → 0.145.12-911e926cd

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.
@@ -127,8 +127,12 @@ var EMPTY_FRONTMATTER = {
127
127
  };
128
128
 
129
129
  // src/docs/s3-docs-definition.ts
130
- function getS3KeyForV1DocsDefinition(domain) {
130
+ function getS3KeyForV1DocsDefinition(domain, basepath) {
131
131
  const isLocalMode = process.env.LOCAL_MODE_OVERRIDE === "true";
132
+ if (basepath != null) {
133
+ const cleanBasepath = basepath.replace(/^\//, "");
134
+ return isLocalMode ? `${cleanBasepath}/v1/fdr.json` : `${domain}/${cleanBasepath}/v1/fdr.json`;
135
+ }
132
136
  return isLocalMode ? "v1/fdr.json" : `${domain}/v1/fdr.json`;
133
137
  }
134
138
  function getS3KeyForDynamicIr({
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/docs/index.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/commons/index.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/frontmatter/index.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/frontmatter/types/Layout.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/seo/index.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/seo/types/TwitterCardSetting.ts","../../../src/docs/frontmatter.ts","../../../src/docs/s3-docs-definition.ts"],"sourcesContent":["export * from \"../client/generated/api/resources/docs/resources/latest\";\nexport * from \"./frontmatter\";\nexport * from \"./s3-docs-definition\";\n","export * from \"./types/index.js\";\n","export * from \"./types/index.js\";\n","// This file was auto-generated by Fern from our API Definition.\n\nexport const Layout = {\n /**\n * Guides are typically long-form content, and are designed for readability. */\n Guide: \"guide\",\n /**\n * Overview pages are typically meant to be a landing page for a section of the documentation.\n * These pages are 50% wider than guide pages, but the table of contents is still visible. */\n Overview: \"overview\",\n /**\n * Reference pages are best used for API docs or other material that is meant to have a right-hand column.\n * This layout is not recommended for long-form content because they are 2x the width of guide pages and can be difficult to read.\n * Using an <Aside> component is recommended. It will generate a sticky right-hand column for the page, which is useful for code snippets.\n * <Aside> component is not available in guides and overview, and will automatically cause the layout to switch to reference.\n * Note: Table of contents are always hidden on reference pages. */\n Reference: \"reference\",\n /**\n * The layout used for full-width pages. This is useful for landing pages or other custom layouts.\n * Both the navigation sidebar and the table of contents are hidden.\n * The content will take up the full width of the page-width container, which is set by docs.yml. */\n Page: \"page\",\n /**\n * This layout takes over 100% of the viewport width, below the header.\n * Unlike PageLayout, the content will not be constrained to the page-width container, and does not render any padding. */\n Custom: \"custom\",\n} as const;\nexport type Layout = (typeof Layout)[keyof typeof Layout];\n","export * from \"./types/index.js\";\n","// This file was auto-generated by Fern from our API Definition.\n\nexport const TwitterCardSetting = {\n Summary: \"summary\",\n SummaryLargeImage: \"summary_large_image\",\n App: \"app\",\n Player: \"player\",\n} as const;\nexport type TwitterCardSetting = (typeof TwitterCardSetting)[keyof typeof TwitterCardSetting];\n","import type { Frontmatter } from \"../client/generated/api/resources/docs/resources/latest\";\n\nexport const EMPTY_FRONTMATTER: Frontmatter = {\n title: undefined,\n headline: undefined,\n description: undefined,\n subtitle: undefined,\n layout: undefined,\n slug: undefined,\n image: undefined,\n \"edit-this-page-url\": undefined,\n \"hide-toc\": undefined,\n \"force-toc\": undefined,\n \"max-toc-depth\": undefined,\n \"hide-nav-links\": undefined,\n \"hide-feedback\": undefined,\n \"hide-page-actions\": undefined,\n \"no-image-zoom\": undefined,\n breadcrumb: undefined,\n excerpt: undefined,\n \"canonical-url\": undefined,\n \"og:site_name\": undefined,\n \"og:title\": undefined,\n \"og:description\": undefined,\n \"og:url\": undefined,\n \"og:image\": undefined,\n \"og:image:width\": undefined,\n \"og:image:height\": undefined,\n \"og:locale\": undefined,\n \"og:logo\": undefined,\n \"twitter:title\": undefined,\n \"twitter:description\": undefined,\n \"twitter:handle\": undefined,\n \"twitter:image\": undefined,\n \"twitter:site\": undefined,\n \"twitter:url\": undefined,\n \"twitter:card\": undefined,\n noindex: undefined,\n nofollow: undefined,\n \"jsonld:breadcrumb\": undefined,\n keywords: undefined,\n logo: undefined,\n tags: undefined,\n \"last-updated\": undefined\n};\n","export function getS3KeyForV1DocsDefinition(domain: string): string {\n // In self-hosted mode, bucket name = domain, so don't duplicate domain in key\n // In cloud mode, we use a shared bucket, so we need domain prefix\n const isLocalMode = process.env.LOCAL_MODE_OVERRIDE === \"true\";\n return isLocalMode ? \"v1/fdr.json\" : `${domain}/v1/fdr.json`;\n}\n\nexport function getS3KeyForDynamicIr({\n orgName,\n apiName,\n language\n}: {\n orgName: string;\n apiName: string;\n language: string;\n}): string {\n return `${orgName}/${apiName}/${language}.json`;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;AAAA;AAAA;AAAA;;;ACEO,IAAM,SAAS;AAAA;AAAA;AAAA,EAGlB,OAAO;AAAA;AAAA;AAAA;AAAA,EAIP,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOV,WAAW;AAAA;AAAA;AAAA;AAAA;AAAA,EAKX,MAAM;AAAA;AAAA;AAAA;AAAA,EAIN,QAAQ;AACZ;;;AC1BA;AAAA;AAAA;AAAA;;;ACEO,IAAM,qBAAqB;AAAA,EAC9B,SAAS;AAAA,EACT,mBAAmB;AAAA,EACnB,KAAK;AAAA,EACL,QAAQ;AACZ;;;ACLO,IAAM,oBAAiC;AAAA,EAC1C,OAAO;AAAA,EACP,UAAU;AAAA,EACV,aAAa;AAAA,EACb,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,OAAO;AAAA,EACP,sBAAsB;AAAA,EACtB,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,qBAAqB;AAAA,EACrB,iBAAiB;AAAA,EACjB,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,YAAY;AAAA,EACZ,kBAAkB;AAAA,EAClB,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,kBAAkB;AAAA,EAClB,mBAAmB;AAAA,EACnB,aAAa;AAAA,EACb,WAAW;AAAA,EACX,iBAAiB;AAAA,EACjB,uBAAuB;AAAA,EACvB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,SAAS;AAAA,EACT,UAAU;AAAA,EACV,qBAAqB;AAAA,EACrB,UAAU;AAAA,EACV,MAAM;AAAA,EACN,MAAM;AAAA,EACN,gBAAgB;AACpB;;;AC5CO,SAAS,4BAA4B,QAAwB;AAGhE,QAAM,cAAc,QAAQ,IAAI,wBAAwB;AACxD,SAAO,cAAc,gBAAgB,GAAG,MAAM;AAClD;AAEO,SAAS,qBAAqB;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AACJ,GAIW;AACP,SAAO,GAAG,OAAO,IAAI,OAAO,IAAI,QAAQ;AAC5C;","names":[]}
1
+ {"version":3,"sources":["../../../src/docs/index.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/commons/index.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/frontmatter/index.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/frontmatter/types/Layout.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/seo/index.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/seo/types/TwitterCardSetting.ts","../../../src/docs/frontmatter.ts","../../../src/docs/s3-docs-definition.ts"],"sourcesContent":["export * from \"../client/generated/api/resources/docs/resources/latest\";\nexport * from \"./frontmatter\";\nexport * from \"./s3-docs-definition\";\n","export * from \"./types/index.js\";\n","export * from \"./types/index.js\";\n","// This file was auto-generated by Fern from our API Definition.\n\nexport const Layout = {\n /**\n * Guides are typically long-form content, and are designed for readability. */\n Guide: \"guide\",\n /**\n * Overview pages are typically meant to be a landing page for a section of the documentation.\n * These pages are 50% wider than guide pages, but the table of contents is still visible. */\n Overview: \"overview\",\n /**\n * Reference pages are best used for API docs or other material that is meant to have a right-hand column.\n * This layout is not recommended for long-form content because they are 2x the width of guide pages and can be difficult to read.\n * Using an <Aside> component is recommended. It will generate a sticky right-hand column for the page, which is useful for code snippets.\n * <Aside> component is not available in guides and overview, and will automatically cause the layout to switch to reference.\n * Note: Table of contents are always hidden on reference pages. */\n Reference: \"reference\",\n /**\n * The layout used for full-width pages. This is useful for landing pages or other custom layouts.\n * Both the navigation sidebar and the table of contents are hidden.\n * The content will take up the full width of the page-width container, which is set by docs.yml. */\n Page: \"page\",\n /**\n * This layout takes over 100% of the viewport width, below the header.\n * Unlike PageLayout, the content will not be constrained to the page-width container, and does not render any padding. */\n Custom: \"custom\",\n} as const;\nexport type Layout = (typeof Layout)[keyof typeof Layout];\n","export * from \"./types/index.js\";\n","// This file was auto-generated by Fern from our API Definition.\n\nexport const TwitterCardSetting = {\n Summary: \"summary\",\n SummaryLargeImage: \"summary_large_image\",\n App: \"app\",\n Player: \"player\",\n} as const;\nexport type TwitterCardSetting = (typeof TwitterCardSetting)[keyof typeof TwitterCardSetting];\n","import type { Frontmatter } from \"../client/generated/api/resources/docs/resources/latest\";\n\nexport const EMPTY_FRONTMATTER: Frontmatter = {\n title: undefined,\n headline: undefined,\n description: undefined,\n subtitle: undefined,\n layout: undefined,\n slug: undefined,\n image: undefined,\n \"edit-this-page-url\": undefined,\n \"hide-toc\": undefined,\n \"force-toc\": undefined,\n \"max-toc-depth\": undefined,\n \"hide-nav-links\": undefined,\n \"hide-feedback\": undefined,\n \"hide-page-actions\": undefined,\n \"no-image-zoom\": undefined,\n breadcrumb: undefined,\n excerpt: undefined,\n \"canonical-url\": undefined,\n \"og:site_name\": undefined,\n \"og:title\": undefined,\n \"og:description\": undefined,\n \"og:url\": undefined,\n \"og:image\": undefined,\n \"og:image:width\": undefined,\n \"og:image:height\": undefined,\n \"og:locale\": undefined,\n \"og:logo\": undefined,\n \"twitter:title\": undefined,\n \"twitter:description\": undefined,\n \"twitter:handle\": undefined,\n \"twitter:image\": undefined,\n \"twitter:site\": undefined,\n \"twitter:url\": undefined,\n \"twitter:card\": undefined,\n noindex: undefined,\n nofollow: undefined,\n \"jsonld:breadcrumb\": undefined,\n keywords: undefined,\n logo: undefined,\n tags: undefined,\n \"last-updated\": undefined\n};\n","export function getS3KeyForV1DocsDefinition(domain: string, basepath?: string): string {\n const isLocalMode = process.env.LOCAL_MODE_OVERRIDE === \"true\";\n if (basepath != null) {\n const cleanBasepath = basepath.replace(/^\\//, \"\");\n return isLocalMode ? `${cleanBasepath}/v1/fdr.json` : `${domain}/${cleanBasepath}/v1/fdr.json`;\n }\n return isLocalMode ? \"v1/fdr.json\" : `${domain}/v1/fdr.json`;\n}\n\nexport function getS3KeyForDynamicIr({\n orgName,\n apiName,\n language\n}: {\n orgName: string;\n apiName: string;\n language: string;\n}): string {\n return `${orgName}/${apiName}/${language}.json`;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;AAAA;AAAA;AAAA;;;ACEO,IAAM,SAAS;AAAA;AAAA;AAAA,EAGlB,OAAO;AAAA;AAAA;AAAA;AAAA,EAIP,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOV,WAAW;AAAA;AAAA;AAAA;AAAA;AAAA,EAKX,MAAM;AAAA;AAAA;AAAA;AAAA,EAIN,QAAQ;AACZ;;;AC1BA;AAAA;AAAA;AAAA;;;ACEO,IAAM,qBAAqB;AAAA,EAC9B,SAAS;AAAA,EACT,mBAAmB;AAAA,EACnB,KAAK;AAAA,EACL,QAAQ;AACZ;;;ACLO,IAAM,oBAAiC;AAAA,EAC1C,OAAO;AAAA,EACP,UAAU;AAAA,EACV,aAAa;AAAA,EACb,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,OAAO;AAAA,EACP,sBAAsB;AAAA,EACtB,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,qBAAqB;AAAA,EACrB,iBAAiB;AAAA,EACjB,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,YAAY;AAAA,EACZ,kBAAkB;AAAA,EAClB,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,kBAAkB;AAAA,EAClB,mBAAmB;AAAA,EACnB,aAAa;AAAA,EACb,WAAW;AAAA,EACX,iBAAiB;AAAA,EACjB,uBAAuB;AAAA,EACvB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,SAAS;AAAA,EACT,UAAU;AAAA,EACV,qBAAqB;AAAA,EACrB,UAAU;AAAA,EACV,MAAM;AAAA,EACN,MAAM;AAAA,EACN,gBAAgB;AACpB;;;AC5CO,SAAS,4BAA4B,QAAgB,UAA2B;AACnF,QAAM,cAAc,QAAQ,IAAI,wBAAwB;AACxD,MAAI,YAAY,MAAM;AAClB,UAAM,gBAAgB,SAAS,QAAQ,OAAO,EAAE;AAChD,WAAO,cAAc,GAAG,aAAa,iBAAiB,GAAG,MAAM,IAAI,aAAa;AAAA,EACpF;AACA,SAAO,cAAc,gBAAgB,GAAG,MAAM;AAClD;AAEO,SAAS,qBAAqB;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AACJ,GAIW;AACP,SAAO,GAAG,OAAO,IAAI,OAAO,IAAI,QAAQ;AAC5C;","names":[]}
@@ -100,8 +100,12 @@ var EMPTY_FRONTMATTER = {
100
100
  };
101
101
 
102
102
  // src/docs/s3-docs-definition.ts
103
- function getS3KeyForV1DocsDefinition(domain) {
103
+ function getS3KeyForV1DocsDefinition(domain, basepath) {
104
104
  const isLocalMode = process.env.LOCAL_MODE_OVERRIDE === "true";
105
+ if (basepath != null) {
106
+ const cleanBasepath = basepath.replace(/^\//, "");
107
+ return isLocalMode ? `${cleanBasepath}/v1/fdr.json` : `${domain}/${cleanBasepath}/v1/fdr.json`;
108
+ }
105
109
  return isLocalMode ? "v1/fdr.json" : `${domain}/v1/fdr.json`;
106
110
  }
107
111
  function getS3KeyForDynamicIr({
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/client/generated/api/resources/docs/resources/latest/resources/commons/index.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/frontmatter/index.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/frontmatter/types/Layout.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/seo/index.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/seo/types/TwitterCardSetting.ts","../../../src/docs/frontmatter.ts","../../../src/docs/s3-docs-definition.ts"],"sourcesContent":["export * from \"./types/index.js\";\n","export * from \"./types/index.js\";\n","// This file was auto-generated by Fern from our API Definition.\n\nexport const Layout = {\n /**\n * Guides are typically long-form content, and are designed for readability. */\n Guide: \"guide\",\n /**\n * Overview pages are typically meant to be a landing page for a section of the documentation.\n * These pages are 50% wider than guide pages, but the table of contents is still visible. */\n Overview: \"overview\",\n /**\n * Reference pages are best used for API docs or other material that is meant to have a right-hand column.\n * This layout is not recommended for long-form content because they are 2x the width of guide pages and can be difficult to read.\n * Using an <Aside> component is recommended. It will generate a sticky right-hand column for the page, which is useful for code snippets.\n * <Aside> component is not available in guides and overview, and will automatically cause the layout to switch to reference.\n * Note: Table of contents are always hidden on reference pages. */\n Reference: \"reference\",\n /**\n * The layout used for full-width pages. This is useful for landing pages or other custom layouts.\n * Both the navigation sidebar and the table of contents are hidden.\n * The content will take up the full width of the page-width container, which is set by docs.yml. */\n Page: \"page\",\n /**\n * This layout takes over 100% of the viewport width, below the header.\n * Unlike PageLayout, the content will not be constrained to the page-width container, and does not render any padding. */\n Custom: \"custom\",\n} as const;\nexport type Layout = (typeof Layout)[keyof typeof Layout];\n","export * from \"./types/index.js\";\n","// This file was auto-generated by Fern from our API Definition.\n\nexport const TwitterCardSetting = {\n Summary: \"summary\",\n SummaryLargeImage: \"summary_large_image\",\n App: \"app\",\n Player: \"player\",\n} as const;\nexport type TwitterCardSetting = (typeof TwitterCardSetting)[keyof typeof TwitterCardSetting];\n","import type { Frontmatter } from \"../client/generated/api/resources/docs/resources/latest\";\n\nexport const EMPTY_FRONTMATTER: Frontmatter = {\n title: undefined,\n headline: undefined,\n description: undefined,\n subtitle: undefined,\n layout: undefined,\n slug: undefined,\n image: undefined,\n \"edit-this-page-url\": undefined,\n \"hide-toc\": undefined,\n \"force-toc\": undefined,\n \"max-toc-depth\": undefined,\n \"hide-nav-links\": undefined,\n \"hide-feedback\": undefined,\n \"hide-page-actions\": undefined,\n \"no-image-zoom\": undefined,\n breadcrumb: undefined,\n excerpt: undefined,\n \"canonical-url\": undefined,\n \"og:site_name\": undefined,\n \"og:title\": undefined,\n \"og:description\": undefined,\n \"og:url\": undefined,\n \"og:image\": undefined,\n \"og:image:width\": undefined,\n \"og:image:height\": undefined,\n \"og:locale\": undefined,\n \"og:logo\": undefined,\n \"twitter:title\": undefined,\n \"twitter:description\": undefined,\n \"twitter:handle\": undefined,\n \"twitter:image\": undefined,\n \"twitter:site\": undefined,\n \"twitter:url\": undefined,\n \"twitter:card\": undefined,\n noindex: undefined,\n nofollow: undefined,\n \"jsonld:breadcrumb\": undefined,\n keywords: undefined,\n logo: undefined,\n tags: undefined,\n \"last-updated\": undefined\n};\n","export function getS3KeyForV1DocsDefinition(domain: string): string {\n // In self-hosted mode, bucket name = domain, so don't duplicate domain in key\n // In cloud mode, we use a shared bucket, so we need domain prefix\n const isLocalMode = process.env.LOCAL_MODE_OVERRIDE === \"true\";\n return isLocalMode ? \"v1/fdr.json\" : `${domain}/v1/fdr.json`;\n}\n\nexport function getS3KeyForDynamicIr({\n orgName,\n apiName,\n language\n}: {\n orgName: string;\n apiName: string;\n language: string;\n}): string {\n return `${orgName}/${apiName}/${language}.json`;\n}\n"],"mappings":";;;;;;;AAAA;;;ACAA;AAAA;AAAA;AAAA;;;ACEO,IAAM,SAAS;AAAA;AAAA;AAAA,EAGlB,OAAO;AAAA;AAAA;AAAA;AAAA,EAIP,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOV,WAAW;AAAA;AAAA;AAAA;AAAA;AAAA,EAKX,MAAM;AAAA;AAAA;AAAA;AAAA,EAIN,QAAQ;AACZ;;;AC1BA;AAAA;AAAA;AAAA;;;ACEO,IAAM,qBAAqB;AAAA,EAC9B,SAAS;AAAA,EACT,mBAAmB;AAAA,EACnB,KAAK;AAAA,EACL,QAAQ;AACZ;;;ACLO,IAAM,oBAAiC;AAAA,EAC1C,OAAO;AAAA,EACP,UAAU;AAAA,EACV,aAAa;AAAA,EACb,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,OAAO;AAAA,EACP,sBAAsB;AAAA,EACtB,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,qBAAqB;AAAA,EACrB,iBAAiB;AAAA,EACjB,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,YAAY;AAAA,EACZ,kBAAkB;AAAA,EAClB,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,kBAAkB;AAAA,EAClB,mBAAmB;AAAA,EACnB,aAAa;AAAA,EACb,WAAW;AAAA,EACX,iBAAiB;AAAA,EACjB,uBAAuB;AAAA,EACvB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,SAAS;AAAA,EACT,UAAU;AAAA,EACV,qBAAqB;AAAA,EACrB,UAAU;AAAA,EACV,MAAM;AAAA,EACN,MAAM;AAAA,EACN,gBAAgB;AACpB;;;AC5CO,SAAS,4BAA4B,QAAwB;AAGhE,QAAM,cAAc,QAAQ,IAAI,wBAAwB;AACxD,SAAO,cAAc,gBAAgB,GAAG,MAAM;AAClD;AAEO,SAAS,qBAAqB;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AACJ,GAIW;AACP,SAAO,GAAG,OAAO,IAAI,OAAO,IAAI,QAAQ;AAC5C;","names":[]}
1
+ {"version":3,"sources":["../../../src/client/generated/api/resources/docs/resources/latest/resources/commons/index.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/frontmatter/index.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/frontmatter/types/Layout.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/seo/index.ts","../../../src/client/generated/api/resources/docs/resources/latest/resources/seo/types/TwitterCardSetting.ts","../../../src/docs/frontmatter.ts","../../../src/docs/s3-docs-definition.ts"],"sourcesContent":["export * from \"./types/index.js\";\n","export * from \"./types/index.js\";\n","// This file was auto-generated by Fern from our API Definition.\n\nexport const Layout = {\n /**\n * Guides are typically long-form content, and are designed for readability. */\n Guide: \"guide\",\n /**\n * Overview pages are typically meant to be a landing page for a section of the documentation.\n * These pages are 50% wider than guide pages, but the table of contents is still visible. */\n Overview: \"overview\",\n /**\n * Reference pages are best used for API docs or other material that is meant to have a right-hand column.\n * This layout is not recommended for long-form content because they are 2x the width of guide pages and can be difficult to read.\n * Using an <Aside> component is recommended. It will generate a sticky right-hand column for the page, which is useful for code snippets.\n * <Aside> component is not available in guides and overview, and will automatically cause the layout to switch to reference.\n * Note: Table of contents are always hidden on reference pages. */\n Reference: \"reference\",\n /**\n * The layout used for full-width pages. This is useful for landing pages or other custom layouts.\n * Both the navigation sidebar and the table of contents are hidden.\n * The content will take up the full width of the page-width container, which is set by docs.yml. */\n Page: \"page\",\n /**\n * This layout takes over 100% of the viewport width, below the header.\n * Unlike PageLayout, the content will not be constrained to the page-width container, and does not render any padding. */\n Custom: \"custom\",\n} as const;\nexport type Layout = (typeof Layout)[keyof typeof Layout];\n","export * from \"./types/index.js\";\n","// This file was auto-generated by Fern from our API Definition.\n\nexport const TwitterCardSetting = {\n Summary: \"summary\",\n SummaryLargeImage: \"summary_large_image\",\n App: \"app\",\n Player: \"player\",\n} as const;\nexport type TwitterCardSetting = (typeof TwitterCardSetting)[keyof typeof TwitterCardSetting];\n","import type { Frontmatter } from \"../client/generated/api/resources/docs/resources/latest\";\n\nexport const EMPTY_FRONTMATTER: Frontmatter = {\n title: undefined,\n headline: undefined,\n description: undefined,\n subtitle: undefined,\n layout: undefined,\n slug: undefined,\n image: undefined,\n \"edit-this-page-url\": undefined,\n \"hide-toc\": undefined,\n \"force-toc\": undefined,\n \"max-toc-depth\": undefined,\n \"hide-nav-links\": undefined,\n \"hide-feedback\": undefined,\n \"hide-page-actions\": undefined,\n \"no-image-zoom\": undefined,\n breadcrumb: undefined,\n excerpt: undefined,\n \"canonical-url\": undefined,\n \"og:site_name\": undefined,\n \"og:title\": undefined,\n \"og:description\": undefined,\n \"og:url\": undefined,\n \"og:image\": undefined,\n \"og:image:width\": undefined,\n \"og:image:height\": undefined,\n \"og:locale\": undefined,\n \"og:logo\": undefined,\n \"twitter:title\": undefined,\n \"twitter:description\": undefined,\n \"twitter:handle\": undefined,\n \"twitter:image\": undefined,\n \"twitter:site\": undefined,\n \"twitter:url\": undefined,\n \"twitter:card\": undefined,\n noindex: undefined,\n nofollow: undefined,\n \"jsonld:breadcrumb\": undefined,\n keywords: undefined,\n logo: undefined,\n tags: undefined,\n \"last-updated\": undefined\n};\n","export function getS3KeyForV1DocsDefinition(domain: string, basepath?: string): string {\n const isLocalMode = process.env.LOCAL_MODE_OVERRIDE === \"true\";\n if (basepath != null) {\n const cleanBasepath = basepath.replace(/^\\//, \"\");\n return isLocalMode ? `${cleanBasepath}/v1/fdr.json` : `${domain}/${cleanBasepath}/v1/fdr.json`;\n }\n return isLocalMode ? \"v1/fdr.json\" : `${domain}/v1/fdr.json`;\n}\n\nexport function getS3KeyForDynamicIr({\n orgName,\n apiName,\n language\n}: {\n orgName: string;\n apiName: string;\n language: string;\n}): string {\n return `${orgName}/${apiName}/${language}.json`;\n}\n"],"mappings":";;;;;;;AAAA;;;ACAA;AAAA;AAAA;AAAA;;;ACEO,IAAM,SAAS;AAAA;AAAA;AAAA,EAGlB,OAAO;AAAA;AAAA;AAAA;AAAA,EAIP,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOV,WAAW;AAAA;AAAA;AAAA;AAAA;AAAA,EAKX,MAAM;AAAA;AAAA;AAAA;AAAA,EAIN,QAAQ;AACZ;;;AC1BA;AAAA;AAAA;AAAA;;;ACEO,IAAM,qBAAqB;AAAA,EAC9B,SAAS;AAAA,EACT,mBAAmB;AAAA,EACnB,KAAK;AAAA,EACL,QAAQ;AACZ;;;ACLO,IAAM,oBAAiC;AAAA,EAC1C,OAAO;AAAA,EACP,UAAU;AAAA,EACV,aAAa;AAAA,EACb,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,OAAO;AAAA,EACP,sBAAsB;AAAA,EACtB,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,qBAAqB;AAAA,EACrB,iBAAiB;AAAA,EACjB,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,YAAY;AAAA,EACZ,kBAAkB;AAAA,EAClB,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,kBAAkB;AAAA,EAClB,mBAAmB;AAAA,EACnB,aAAa;AAAA,EACb,WAAW;AAAA,EACX,iBAAiB;AAAA,EACjB,uBAAuB;AAAA,EACvB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,SAAS;AAAA,EACT,UAAU;AAAA,EACV,qBAAqB;AAAA,EACrB,UAAU;AAAA,EACV,MAAM;AAAA,EACN,MAAM;AAAA,EACN,gBAAgB;AACpB;;;AC5CO,SAAS,4BAA4B,QAAgB,UAA2B;AACnF,QAAM,cAAc,QAAQ,IAAI,wBAAwB;AACxD,MAAI,YAAY,MAAM;AAClB,UAAM,gBAAgB,SAAS,QAAQ,OAAO,EAAE;AAChD,WAAO,cAAc,GAAG,aAAa,iBAAiB,GAAG,MAAM,IAAI,aAAa;AAAA,EACpF;AACA,SAAO,cAAc,gBAAgB,GAAG,MAAM;AAClD;AAEO,SAAS,qBAAqB;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AACJ,GAIW;AACP,SAAO,GAAG,OAAO,IAAI,OAAO,IAAI,QAAQ;AAC5C;","names":[]}
package/dist/js/index.js CHANGED
@@ -65335,8 +65335,12 @@ var EMPTY_FRONTMATTER = {
65335
65335
  };
65336
65336
 
65337
65337
  // src/docs/s3-docs-definition.ts
65338
- function getS3KeyForV1DocsDefinition(domain) {
65338
+ function getS3KeyForV1DocsDefinition(domain, basepath) {
65339
65339
  const isLocalMode = process.env.LOCAL_MODE_OVERRIDE === "true";
65340
+ if (basepath != null) {
65341
+ const cleanBasepath = basepath.replace(/^\//, "");
65342
+ return isLocalMode ? `${cleanBasepath}/v1/fdr.json` : `${domain}/${cleanBasepath}/v1/fdr.json`;
65343
+ }
65340
65344
  return isLocalMode ? "v1/fdr.json" : `${domain}/v1/fdr.json`;
65341
65345
  }
65342
65346
  function getS3KeyForDynamicIr({