@fern-api/fern-api-dev 5.108.0 → 5.109.1

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 +441 -78
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -214082,7 +214082,7 @@ var require_utc = __commonJS({
214082
214082
  }
214083
214083
  });
214084
214084
 
214085
- // ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.96-8e5f0d55dd_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
214085
+ // ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.102-07ddc01b9b_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
214086
214086
  function assertNever3(x4) {
214087
214087
  throw new Error("Unexpected value: " + JSON.stringify(x4));
214088
214088
  }
@@ -216834,6 +216834,26 @@ function generateSdkSnippetForLanguage(apiDefinition, endpoint3, example, genera
216834
216834
  }
216835
216835
  return void 0;
216836
216836
  }
216837
+ function collectReferencingTypeIdsByTypeId(api2) {
216838
+ const byTypeId = /* @__PURE__ */ new Map();
216839
+ for (const [rawId, definition3] of Object.entries(api2.types)) {
216840
+ const from4 = rawId;
216841
+ const seen = /* @__PURE__ */ new Set();
216842
+ ApiTypeIdVisitor.visitTypeDefinition(definition3, (to2) => {
216843
+ if (to2 === from4 || seen.has(to2) || api2.types[to2] == null) {
216844
+ return;
216845
+ }
216846
+ seen.add(to2);
216847
+ const existing = byTypeId.get(to2);
216848
+ if (existing == null) {
216849
+ byTypeId.set(to2, [from4]);
216850
+ } else {
216851
+ existing.push(from4);
216852
+ }
216853
+ });
216854
+ }
216855
+ return byTypeId;
216856
+ }
216837
216857
  function createApiClient(options2) {
216838
216858
  const latestLink = new OpenAPILink(apiLatestContract, {
216839
216859
  url: `${options2.baseUrl}/registry/api/latest`,
@@ -220013,6 +220033,7 @@ function followRedirect(nodeToFollow) {
220013
220033
  webhook: (node4) => node4.slug,
220014
220034
  grpc: (node4) => node4.slug,
220015
220035
  graphql: (node4) => node4.slug,
220036
+ graphqlType: (node4) => node4.slug,
220016
220037
  landingPage: (node4) => node4.slug,
220017
220038
  // nodes with overview
220018
220039
  apiPackage: (node4) => node4.overviewPageId != null ? node4.slug : followRedirects(node4.children),
@@ -220062,12 +220083,13 @@ function getPageId2(node4) {
220062
220083
  webhook: RETURN_UNDEFINED2,
220063
220084
  grpc: RETURN_UNDEFINED2,
220064
220085
  graphql: RETURN_UNDEFINED2,
220086
+ graphqlType: RETURN_UNDEFINED2,
220065
220087
  changelogYear: RETURN_UNDEFINED2,
220066
220088
  changelogMonth: RETURN_UNDEFINED2
220067
220089
  });
220068
220090
  }
220069
220091
  function isApiLeaf2(node4) {
220070
- return node4.type === "endpoint" || node4.type === "webSocket" || node4.type === "webhook" || node4.type === "grpc" || node4.type === "graphql";
220092
+ return node4.type === "endpoint" || node4.type === "webSocket" || node4.type === "webhook" || node4.type === "grpc" || node4.type === "graphql" || node4.type === "graphqlType";
220071
220093
  }
220072
220094
  function isMarkdownLeaf2(node4) {
220073
220095
  return node4.type === "page" || node4.type === "landingPage" || node4.type === "changelogEntry";
@@ -220157,6 +220179,18 @@ function withCanonicalLookup(map15) {
220157
220179
  map15.has = (key2) => originalHas(key2) || originalHas(canonicalSlugKey(key2));
220158
220180
  return map15;
220159
220181
  }
220182
+ function graphQlTypeKey(apiDefinitionId, typeId, versionId) {
220183
+ return `${apiDefinitionId}:${versionId ?? ""}:${typeId}`;
220184
+ }
220185
+ function versionIdOf(parents) {
220186
+ for (let i5 = parents.length - 1; i5 >= 0; i5--) {
220187
+ const parent = parents[i5];
220188
+ if (parent?.type === "version") {
220189
+ return parent.versionId;
220190
+ }
220191
+ }
220192
+ return void 0;
220193
+ }
220160
220194
  function isDeprecatedVersionNode(node4) {
220161
220195
  return node4.type === "version" && node4.availability === "Deprecated";
220162
220196
  }
@@ -220767,9 +220801,9 @@ function mutableDeleteChild(parent, node4) {
220767
220801
  return "should-delete-parent";
220768
220802
  }
220769
220803
  }
220770
- var import_ts_essentials, import_qs, import_ts_essentials2, import_ts_essentials3, import_url_join, import_qs2, import_fast_deep_equal, import_ts_essentials4, import_url_join2, import_ts_essentials5, import_ts_essentials6, import_ts_essentials7, import_url_join3, import_url_join4, import_dayjs, import_utc, import_url_join5, import_ts_essentials8, import_ts_essentials9, import_ts_essentials10, import_ts_essentials11, import_ts_essentials12, __defProp4, __export3, api_definition_exports, LOOP_TOLERANCE, LARGE_LOOP_TOLERANCE, assertNever_default, EMPTY_ARRAY2, EMPTY_OBJECT2, identity_default2, isPlainObject_default2, conjunctions, articles, prepositions, lowerCase, specials, word, regex3, convertToRegExp, src_default, SPECIAL_TOKENS2, titleCase_default, visitDiscriminatedUnion_default, OrgIdSchema, ApiIdSchema, ApiDefinitionIdSchema, HttpMethodSchema3, HttpMethod7, UrlSchema, EndpointPathLiteralSchema, EndpointIdentifierSchema, SdkRequestSchema, DocsConfigIdSchema, GrpcIdSchema, PageIdSchema, RoleIdSchema, TokenIdSchema, VersionIdSchema, LinkTarget, GrpcMethod, Availability7, SupportedLanguage, HttpSnippetLanguage4, SnippetsByEndpointMethodSchema, SdkSchema, TypeIdSchema, EndpointIdSchema, WebSocketIdSchema, WebhookIdSchema, GraphQlOperationIdSchema, GraphQlTypeCategorySchema, EnvironmentIdSchema, PropertyKeySchema, AuthSchemeIdSchema, SubpackageIdSchema, WebSocketMessageIdSchema, FileIdSchema, MultipleAuthTypeSchema, GrpcMethodSchema, AvailabilitySchema3, WebSocketMessageOriginSchema, WebhookHttpMethodSchema, WithDescriptionSchema, WithAvailabilitySchema, EnvironmentSchema3, RestProtocolSchema, OpenRpcProtocolSchema, GrpcProtocolSchema, ProtocolSchema, ObjectPropertyAccessSchema, TypeReferenceIdDefaultSchema, _numberNullish, _numberIntNullish, coercedNumberNullish, coercedNumberIntNullish, IntegerTypeSchema, DoubleTypeSchema, StringTypeSchema, LongTypeSchema, _booleanNullish, BooleanTypeSchema, DatetimeTypeSchema, UuidTypeSchema, Base64TypeSchema, DateTypeSchema, BigIntegerTypeSchema, UintTypeSchema, Uint64TypeSchema, ScalarTypeSchema, PrimitiveTypeSchema, LiteralTypeSchema, TypeReferenceSchema2, GraphQlArgumentSchema, ObjectPropertySchema2, ObjectTypeSchema, EnumValueSchema2, EnumTypeSchema, DiscriminatedUnionVariantSchema, DiscriminatedUnionTypeSchema, ContentTypeSchema, FilePropertySingleSchema, FilePropertyArraySchema, FormDataFilePropertySchema, FormDataBodyPropertySchema, FormDataPropertySchema, FormDataRequestSchema, EndpointPathPartSchema, PathParameterSchema, EndpointPathSchema, QueryParameterSchema, HeaderSchema, JsonBodyShapeSchema, FileDownloadResponseBodyShapeSchema, StreamResponseV2Schema, StreamConditionSchema, FilenameWithDataSchema, FormValueSchema, BytesValueSchema, ExampleEndpointRequestSchema, ExampleServerSentEventSchema, ExampleEndpointResponseSchema, ErrorDeclarationSchema2, ExampleErrorResponseSchema, ErrorExampleSchema, GraphQlOperationTypeSchema, GraphQlExampleSchema, CodeSnippetSchema, GraphQlOperationSchema, WebhookPayloadShapeSchema, WebhookPayloadSchema2, ExampleWebhookPayloadSchema, WebSocketMessageBodyShapeSchema, WebSocketMessageSchema, ExampleWebSocketMessageSchema, ExampleWebSocketSessionSchema, ApiNavigationConfigItemSchema, ApiNavigationConfigRootSchema, BearerAuthSchema, BasicAuthSchema, HeaderAuthSchema, OAuthClientCredentialsReferencedEndpointSchema, OAuthClientCredentialsSchema, OAuthSchema, ApiAuthSchema3, JqStringSchema, RegisterLanguageSchema, RegisterUndiscriminatedUnionVariantSchema, RegisterUndiscriminatedUnionTypeSchema, RegisterTypeShapeSchema, RegisterTypeDefinitionSchema, RegisterBytesRequestSchema, RegisterJsonRequestBodySchema, RegisterHttpRequestBodyShapeSchema, RegisterHttpRequestSchema, RegisterHttpRequestsV2Schema, RegisterCustomCodeSampleSchema, RegisterExampleEndpointCallSchema, RegisterNonStreamResponseSchema, RegisterStreamResponseSchema, RegisterStreamConditionResponseSchema, RegisterHttpResponseBodyShapeSchema, RegisterHttpResponseSchema, RegisterHttpResponsesV2Schema, RegisterErrorDeclarationV2Schema, RegisterEndpointDefinitionSchema, RegisterWebhookDefinitionSchema, RegisterWebSocketChannelSchema, SourceIdSchema, SourceSchema2, SourceUploadSchema, DynamicIRSchema, DynamicIRUploadSchema, TypescriptPackageSchema, PythonPackageSchema, GoModuleSchema, JavaCoordinateSchema, RubyGemSchema, NugetPackageSchema, ComposerPackageSchema, SwiftPackageSchema, CratesPackageSchema, SnippetsConfigSchema, RegisterApiDefinitionPackageSchema, RegisterApiDefinitionSubpackageSchema, RegisterApiDefinitionSchema, RegisterApiDefinitionResponseSchema, SnippetInfoSchema, SdkDynamicIrDownloadSchema, GetSdkDynamicIrUploadUrlsResponseSchema, CheckSdkDynamicIrExistsResponseSchema, EndpointExampleGenerationErrorBodySchema, PathPartSchema, WithNamespaceSchema, LatestAuthSchemeSchema, LatestObjectPropertyAccessSchema, LatestTypeReferenceIdDefaultSchema, LatestPrimitiveTypeSchema, LatestLiteralTypeSchema, LatestUnknownTypeSchema, LatestEnumValueSchema, LatestEnumTypeSchema, LatestObjectPropertySchema, LatestParameterPropertySchema, LatestObjectTypeSchema, LatestUndiscriminatedUnionVariantSchema, LatestUndiscriminatedUnionTypeSchema, LatestDiscriminatedUnionVariantSchema, LatestDiscriminatedUnionTypeSchema, LatestTypeShapeSchema, LatestTypeReferenceSchema, LatestTypeDefinitionSchema, LatestContentTypeSchema, LatestBytesRequestSchema, LatestFormDataPropertySchema, LatestFormDataRequestSchema, LatestNullableTypeSchema, LatestOptionalTypeSchema, LatestListTypeSchema, LatestSetTypeSchema, LatestMapTypeSchema, LatestLanguageSchema, LatestExampleEndpointRequestSchema, LatestExampleEndpointResponseSchema, LatestExampleErrorResponseSchema, LatestHttpRequestBodyShapeSchema, LatestHttpRequestSchema, LatestFileDownloadResponseBodyShapeSchema, LatestStreamResponseSchema, LatestHttpResponseBodyShapeSchema, LatestHttpResponseSchema, LatestErrorExampleSchema, LatestErrorResponseSchema, LatestCodeSnippetSchema, LatestExampleEndpointCallSchema, LatestEndpointDefinitionSchema, LatestGraphQlOperationTypeSchema, LatestGraphQlArgumentSchema, LatestGraphQlExampleSchema, LatestGraphQlOperationSchema, LatestWebhookPayloadShapeSchema, LatestWebhookPayloadSchema, LatestExampleWebhookPayloadSchema, LatestWebhookDefinitionSchema, LatestWebSocketMessageSchema, LatestExampleWebSocketMessageSchema, LatestExampleWebSocketSessionSchema, LatestWebSocketChannelSchema, LatestSubpackageMetadataSchema, LatestApiDefinitionSchema, ApiDefinitionSchema2, AvailabilityOrder, UnwrapReferenceCache, UnwrapObjectTypeCache, ApiTypeIdVisitor, ApiDefinitionPruner, ROOT_PACKAGE_ID, MULTIPART_FILENAME_PLACEHOLDER, STATUS_CODE_MESSAGES, STATUS_CODE_MESSAGES_METHOD_OVERRIDES, AUTH_SCHEME_ID, DEFAULT_TYPE_REFERENCE, DEFAULT_TYPE_SHAPE, DEFAULT_WEBHOOK_PAYLOAD_SHAPE, DEFAULT_WEBHOOK_PAYLOAD, DEFAULT_GRAPHQL_ARGUMENT, ApiDefinitionV1ToLatest, HTTP_SNIPPET_CLIENTS, snippetCache, DEFAULT_MAX_DEPTH, IMPORT_PREFIXES, PHP_AUTOLOAD_INSERT, HttpSnippetConverter, SDK_SNIPPET_LANGUAGES, Transformer, ReadUndiscriminatedUnionVariantSchema, ReadUndiscriminatedUnionTypeSchema, ReadTypeShapeSchema, ReadTypeDefinitionSchema, ReadBytesRequestSchema, ReadHttpRequestBodyShapeSchema, ReadHttpRequestSchema, ReadHttpRequestsV2Schema, ReadSupportedLanguageSchema, ReadLanguageSchema, ReadCustomCodeSampleSchema, ReadPythonSnippetSchema, ReadTypescriptSnippetSchema, ReadGoSnippetSchema, ReadRubySnippetSchema, ReadCsharpSnippetSchema, ReadCodeExamplesSchema, ReadExampleEndpointCallSchema, ReadNonStreamResponseSchema, ReadStreamResponseSchema, ReadStreamConditionResponseSchema, ReadHttpResponseBodyShapeSchema, ReadHttpResponseSchema, ReadHttpResponsesV2Schema, ReadErrorDeclarationV2Schema, ReadEndpointDefinitionSchema, ReadWebhookDefinitionSchema, ReadWebSocketChannelSchema, ReadApiDefinitionPackageSchema, ReadApiDefinitionSubpackageSchema, ReadApiDefinitionSchema, apiLatestContract, apiReadContract, apiRegisterContract, DocsDeploymentStatusSchema, DocsSiteSchema, DocsDeploymentSchema, RegisterDocsSiteInputSchema, GetPostmanCollectionIdInputSchema, GetDocsStatusInputSchema, SetDocsStatusInputSchema, CreateDeploymentInputSchema, UpdateDeploymentStatusInputSchema, GetDocsDeploymentsInputSchema, UnlockDeployInputSchema, GetDocsStatusResponseSchema, GetDocsDeploymentsResponseSchema, CreateDeploymentResponseSchema, UpdateDeploymentStatusResponseSchema, GetPostmanCollectionIdResponseSchema, UnlockDeployResponseSchema, GetDocsSitesByCollectionIdInputSchema, FindSiteByOrgAndCollectionInputSchema, FindSiteByOrgAndCollectionResponseSchema, RecordPostmanNotificationInputSchema, RecordPostmanNotificationResponseSchema, GetUnnotifiedPostmanSitesResponseSchema, GetDocsSitesByCollectionIdResponseSchema, DeleteDocsSiteByServiceInputSchema, DeleteDocsSiteByServiceResponseSchema, SetEditorRepoUrlInputSchema, docsDeploymentContract, DocsSiteUrlSchema, DashboardDocsSiteSchema, GetDocsSitesForOrgInputSchema, GetDocsSitesForOrgResponseSchema, IsDocsSiteInOrgInputSchema, IsDocsSiteInOrgResponseSchema, DeleteAllDocsSitesForOrgInputSchema, DeleteAllDocsSitesForOrgResponseSchema, dashboardContract, DashboardAnalyticsCommonInputSchema, DashboardFeedbackInputSchema, DashboardListOrgMembersInputSchema, DashboardGetSiteConfigInputSchema, AuthorizeDocsEditResponseSchema, AnalyticsMetricSchema, AnalyticsDimensionSchema, AnalyticsGranularitySchema, AnalyticsFilterFieldSchema, AnalyticsFilterOpSchema, AnalyticsFilterSchema, AnalyticsOrderBySchema, AnalyticsDateRangeSchema, QueryAnalyticsInputSchema, ResolvedDateRangeSchema, AnalyticsSourceSchema, LlmBotTrafficResponseSchema, RecentFeedbackResponseSchema, QueryAnalyticsResponseSchema, OrgMembersResponseSchema, SiteGitRepositorySchema, SiteConfigResponseSchema, SitePasswordProtectionSchema, SiteSettingsResponseSchema, dashboardAgentContract, FileIdSchema2, PageIdSchema2, UrlSchema2, VersionIdSchema2, ApiDefinitionIdSchema2, EndpointIdSchema2, WebSocketIdSchema2, WebhookIdSchema2, RoleIdSchema2, SubpackageIdSchema2, LinkTargetSchema, AvailabilitySchema22, RgbaColorSchema, FileIdOrUrlSchema, LanguageSchema, Bcp47LocaleSchema, DocsTranslationsConfigSchema, ProgrammingLanguageSchema, AnnouncementConfigSchema, SegmentConfigSchema, FullStoryAnalyticsConfigSchema, IntercomConfigSchema, PostHogConfigSchema, GTMConfigSchema, GoogleAnalytics4ConfigSchema, AmplitudeConfigSchema, MixpanelConfigSchema, HotJarConfigSchema, KoalaConfigSchema, LogRocketConfigSchema, PirschConfigSchema, PlausibleConfigSchema, FathomConfigSchema, ClearBitConfigSchema, HeapConfigSchema, AnalyticsConfigSchema, SearchbarPlacementSchema, TabsPlacementSchema, SwitcherPlacementSchema, ContentAlignmentSchema, HeaderPositionSchema, PageWidthSizeConfigSchema, SizeConfigSchema, TabsAlignmentSchema, ChangelogLayoutSchema, DocsLayoutConfigSchema, FooterNavConfigSchema, DocsSidebarConfigSchema, DocsBodyConfigSchema, DocsTabsStyleSchema, DocsTabsObjectConfigSchema, DocsTabsConfigSchema, DocsPageActionsConfigSchema, LanguageSwitcherConfigSchema, ProductSwitcherConfigSchema, DocsThemeConfigSchema, HttpSnippetLanguageSchema, HttpSnippetsConfigSchema, SearchSettingsConfigSchema, DocsSettingsConfigSchema, TwitterCardSettingSchema, MetadataConfigSchema, RedirectConfigSchema, WithPermissionsSchema, NavbarLinkMetadataSchema, NavbarGithubMetadataSchema, NavbarLinkDropdownMetadataSchema, NavbarLinkSchema, FooterLinkSchema, CssConfigSchema, JsScriptStrategySchema, JsRemoteConfigSchema, JsFileConfigSchema, JsConfigSchema, IntegrationsConfigSchema, FontStyleSchema, FontDisplaySchema, CustomFontConfigVariantSchema, CustomFontConfigSchema, FontConfigV2Schema, DocsTypographyConfigV2Schema, ThemedFileIdSchema, ColorsConfigSchema, ColorUnthemedConfigSchema, ColorThemedConfigSchema, ColorConfigSchema, ColorsConfigV2Schema, FontConfigSchema, DocsTypographyConfigSchema, EditThisPageLaunchSchema, AIChatLocationSchema, AIChatWebsiteDatasourceSchema, AIChatDatasourceSchema, AIModelSchema, AIChatConfigSchema, PageDescriptionSourceSchema, AgentsConfigSchema, PageActionOptionSchema, CustomPageActionSchema, SkillSchema, SkillsConfigSchema, PageActionOptionsSchema, PageActionsConfigSchema, HeightSchema, PageContentSchema, NavigationNodeMetadataSchema, PageMetadataSchema, LinkMetadataSchema, NavigationTabLinkSchema, ChangelogItemSchema, ChangelogSectionSchema, ChangelogSectionV3Schema, ApiSectionV2Schema, GitHubRepoSchema, NpmPackageSchema, MavenPackageSchema, PypiPackageSchema, PublishedSdkSchema, PublishedPostmanCollectionSchema, ApiArtifactsSchema, ApiNavigationConfigItemSchema2, ApiNavigationConfigRootSchema2, DocsConfigIdSchema2, UrlFileSchema, ImageFileSchema, FileSchema2, BackgroundSchema, ThemeConfigSchema, DarkAndLightModeConfigSchema, ColorsConfigV3Schema, ApiNavigationConfigItemSchema3, ApiNavigationConfigRootSchema3, ApiSectionSchema, DocsSectionSchema, NavigationItemSchema, NavigationTabGroupSchema, NavigationTabSchema, UnversionedTabbedNavigationConfigSchema, UnversionedUntabbedNavigationConfigSchema, UnversionedNavigationConfigSchema, VersionedNavigationConfigDataSchema, VersionedNavigationConfigSchema, NavigationConfigSchema, DocsConfigSchema, DocsDefinitionSchema, BaseUrlSchema, LoadDocsForUrlResponseSchema, GetDocsForDomainLegacyInputSchema, GetDocsForDomainInputSchema, docsV1ReadContract, MAX_DOXYFILE_CONTENT_LENGTH, SETTING_LINE_RE, AT_DIRECTIVE_RE, BOOL_RE, FILE_PATTERN_RE, PREDEFINED_RE, ALIAS_DEF_RE, DOXYFILE_ALLOWED_KEYS, ALLOWED_HOSTNAMES, GithubUrlSchema, SafeBranchSchema, SafePackagePathSchema, LibraryDocsBaseConfigSchema, PythonLibraryDocsConfigSchema, SafeDoxyfileContentSchema, CppLibraryDocsConfigSchema, StartLibraryDocsGenerationInputSchema, StartLibraryDocsGenerationResponseSchema, GetLibraryDocsStatusInputSchema, LibraryDocsResultSchema, LibraryDocsGenerationStatusSchema, libraryDocsContract, GetOrganizationForUrlInputSchema, organizationContract, contract_exports, GetDocsUrlMetadataInputSchema, GetDocsUrlMetadataResponseSchema, GetDocsForUrlInputSchema, GetPrivateDocsForUrlInputSchema, ListAllDocsUrlsInputSchema, GetDocsConfigByIdInputSchema, GetSiteMetricsInputSchema, SiteMetricsSchema, DocsDefinitionField, GetDocsConfigByIdResponseSchema, DocsDomainItemSchema, ListAllDocsUrlsResponseSchema, getDocsForUrl, docsV2ReadContract, contract_exports2, OrgIdSchema2, FilePathSchema, DocsRegistrationIdSchema, HeightSchema2, FileS3UploadUrlSchema, StartDocsRegisterResponseSchema, PageContentSchema2, NavigationNodeMetadataSchema2, PageMetadataSchema2, LinkMetadataSchema2, ChangelogItemSchema2, ChangelogSectionSchema2, ChangelogSectionV2Schema, ChangelogSectionV3Schema2, NavigationTabLinkSchema2, ApiNavigationConfigItemSchema4, ApiNavigationConfigSubpackageSchema, ApiNavigationConfigRootSchema4, ApiSectionSchema2, ApiSectionV2Schema2, DocsSectionSchema2, NavigationItemSchema2, NavigationTabGroupSchema2, NavigationTabSchema2, NavigationTabV2Schema, UnversionedTabbedNavigationConfigSchema2, UnversionedUntabbedNavigationConfigSchema2, UnversionedNavigationConfigSchema2, VersionedNavigationConfigDataSchema2, VersionedNavigationConfigSchema2, NavigationConfigSchema2, ThemeConfigSchema2, DarkAndLightModeConfigSchema2, ColorsConfigV3Schema2, DocsConfigSchema2, DocsDefinitionSchema2, NpmPackageSchema2, MavenPackageSchema2, PypiPackageSchema2, PublishedSdkSchema2, PublishedPostmanCollectionSchema2, ApiArtifactsSchema2, InvalidCustomDomainErrorBodySchema, OverlappingCustomDomainsSchema, FilePathSchema2, FilePathInputSchema, ImageFilePathSchema, AuthConfigSchema, StartDocsRegisterV2InputSchema, StartDocsRegisterV2ResponseSchema, StartDocsPreviewRegisterInputSchema, StartDocsPreviewRegisterResponseSchema, FinishDocsRegisterV2InputSchema, TransferOwnershipInputSchema, SetIsArchivedInputSchema, SetDocsUrlMetadataInputSchema, AlgoliaDomainInputSchema, ListAlgoliaPreviewWhitelistResponseSchema, DeleteDocsSiteInputSchema, RemoveCustomDomainAliasInputSchema, Bcp47LocaleSchema2, RegisterTranslationInputSchema, RegisterTranslationResponseSchema, docsV2WriteContract, InvalidateCachedDocsInputSchema, docsCacheContract, MissingContentSchema, RegisterResponseSchema, FinishResponseSchema, ArchiveSiteInputSchema, ArchiveSiteResponseSchema, BlobRefSchema, PageBlobRefSchema, FileManifestEntrySchema, ImageRefSchema, PathOrUrlSchema, RgbaSchema, BackgroundColorSchema, ACCENT_SCALE_KEYS, accentScaleShape, LedgerThemeConfigSchema, LedgerColorsConfigSchema, LedgerFontVariantSchema, LedgerFontConfigSchema, LedgerTypographySchema, LedgerJsFileSchema, LedgerJsConfigSchema, LedgerMetadataConfigSchema, NavbarLinksFieldSchema, FooterLinksFieldSchema, LayoutFieldSchema, ThemeFieldSchema, SettingsFieldSchema, AnalyticsFieldSchema, AIChatFieldSchema, PageActionsFieldSchema, LedgerAgentsConfigSchema, LedgerConfigSchema, MetadataStringArraySchema, FeatureFlagMetadataSchema, LinkTargetSchema2, CollapsedSchema, PlaygroundSettingsSchema, LedgerAvailabilitySchema, LedgerArtifactTypeSchema, LedgerMetadataBaseSchema, NodeMetadataFields, ApiNodeMetadataFields, LedgerSegmentDetailMetadataObjectSchema, LedgerSegmentDetailMetadataSchema, LedgerSegmentMetadataObjectSchema, LedgerSegmentMetadataSchema, LedgerMarkdownMetadataSchema, LedgerRestMetadataSchema, LedgerWebSocketMetadataSchema, LedgerWebhookMetadataSchema, LedgerGrpcMetadataSchema, LedgerGraphQlMetadataSchema, LedgerChangelogEntryMetadataSchema, LedgerLinkMetadataSchema, LedgerFileArtifactMetadataSchema, LedgerStructuralRedirectKindSchema, LedgerRedirectKindSchema, LedgerRedirectMetadataSchema, LedgerArtifactMetadataSchema, LEDGER_ARTIFACT_METADATA_SCHEMAS, NavRouteBaseSchema, LedgerNavRouteSchema, DocsPublishGitInputSchema, DocsContentFieldsSchema, LocaleEntrySchemaInternal, LocaleEntrySchema, DocsPublishInputSchemaInternal, DocsPublishInputSchema, LedgerPreviewRegisterInputSchemaInternal, LedgerPreviewRegisterInputSchema, LedgerPreviewRegisterResponseSchema, docsLedgerContract, CurrentVersionInputSchema, CurrentPreviewInputSchema, CurrentVersionResponseSchema, ContentRefSchema, SegmentDetailSchema, SegmentSchema, VersionMetadataInputSchema, VersionMetadataResponseSchema, PageContentInputSchema, PageContentResponseSchema, BatchPageContentInputSchema, BatchPageContentItemSchema, BatchPageContentResponseSchema, NavInputSchema, NavResponseSchema, RouteContextInputSchema, RouteContextResponseBaseSchema, RouteContextResponseSchema, TopLevelNavigationInputSchema, TopLevelNavigationResponseSchema, VersionSwitchTargetsInputSchema, VersionSwitchTargetSchema, VersionSwitchTargetsResponseSchema, ApiDefinitionInputSchema, ApiDefinitionResponseSchema, PrunedApiDefinitionInputSchema, PrunedApiDefinitionResponseSchema, FileArtifactInputSchema, FileArtifactResponseSchema, PresignedFileDownloadInputSchema, PresignedFileDownloadResponseSchema, FileMetadataInputSchema, FileMetadataResponseSchema, docsLedgerReadContract, GetSnapshotInputSchema, SetSnapshotInputSchema, GetDocumentsForBranchesInputSchema, EditorDocumentSchema, GetSnapshotResponseSchema, GetDocumentsForBranchesResponseSchema, editorSnapshotContract, GeneratorLanguageSchema, ScriptSchema, GeneratorScriptsSchema, GeneratorTypeSchema, ChangelogEntryTypeSchema, ChangelogEntrySchema, YankSchema, ReleaseTypeSchema, VersionRangeSchema, GeneratorSchema, GeneratorOutputSchema2, GetGeneratorByImageInputSchema, GetGeneratorInputSchema, GeneratorReleaseSchema, GeneratorReleaseRequestSchema, GetLatestGeneratorReleaseInputSchema, GetGeneratorChangelogInputSchema, ChangelogResponseSchema, GetChangelogResponseSchema, GetGeneratorReleaseInputSchema, ListGeneratorReleasesInputSchema, ListGeneratorReleasesResponseSchema, CliReleaseSchema, GetLatestCliReleaseInputSchema, GetCliChangelogInputSchema, GetMinCliForIrInputSchema, UpsertCliReleaseInputSchema, GetCliReleaseInputSchema, ListCliReleasesInputSchema, ListCliReleasesResponseSchema, generatorsContract, generatorVersionsContract, generatorCliContract, CheckRunSchema, GithubRepositoryIdSchema, RepositoryIdSchema, BaseRepositorySchema, SdkRepositorySchema, FernConfigRepositorySchema, FernRepositorySchema, GithubUserSchema, GithubTeamSchema, PullRequestReviewerSchema, PullRequestStateSchema, PullRequestSchema, ListRepositoriesResponseSchema, ListPullRequestsResponseSchema, GetRepositoryInputSchema, ListRepositoriesInputSchema, DeleteRepositoryInputSchema, GetPullRequestInputSchema, ListPullRequestsInputSchema, DeletePullRequestInputSchema, gitContract, PdfExportScopeSchema, PdfExportOptionsV1Schema, PdfExportOptionsSchema, PdfExportTaskStatusSchema, PdfExportTaskSchema, ListPdfExportTasksResponseSchema, PdfExportDownloadResponseSchema, CreatePdfExportTaskInputSchema, ListPdfExportTasksInputSchema, GetPdfExportTaskInputSchema, UpdatePdfExportTaskInputSchema, GetPdfExportDownloadUrlInputSchema, CleanupPdfExportsResponseSchema, pdfExportContract, LanguageEnumSchema, VersionBumpEnumSchema, ComputeSemanticVersionInputSchema, ComputeSemanticVersionOutputSchema, sdksContract, SlugsInputSchema, SlugEntrySchema, MarkdownEntrySchema, GetSlugEntriesResponseSchema, GetMarkdownEntriesResponseSchema, slugsContract, contract_exports3, TypeScriptSdkSchema, PythonSdkSchema, GoSdkSchema, RubySdkSchema, JavaSdkSchema, CsharpSdkSchema, BaseSnippetCreateSchema, SdkSnippetsCreateSchema, snippetsFactoryContract, ParameterPayloadSchema, AuthPayloadSchema, CustomSnippetPayloadSchema, snippetsContract, SnippetRegistryEntrySchema, RegisterInputSchema, RegisterBatchInputSchema, GetInputSchema, EndpointSnippetTemplateSchema, templatesContract, GenerateTokenInputSchema, RevokeTokenInputSchema, GenerateTokenOutputSchema, tokensContract, FdrClient, APIV1Db_exports, EndpointSnippetTemplatesSchema, DbHttpRequestSchema, DbHttpRequestsV2Schema, DbEndpointDefinitionSchema, DbApiDefinitionPackageSchema, DbApiDefinitionSubpackageSchema, DbApiDefinitionSchema, DbEndpointWithContextSchema, APIV1Read_exports, WebSocketMessageOrigin3, APIV1Write_exports, DocsV1Db_exports, BackgroundSchema2, ThemeConfigSchema3, DarkAndLightModeConfigSchema3, ColorsConfigV3Schema3, DbFileInfoSchema, DbImageFileInfoSchema, DbFileInfoV2Schema, NavigationTabGroupSchema3, NavigationTabSchema3, NavigationTabV2Schema2, ApiSectionSchema3, DocsSectionSchema3, NavigationItemSchema3, UnversionedTabbedNavigationConfigSchema3, UnversionedUntabbedNavigationConfigSchema3, UnversionedNavigationConfigSchema3, VersionedNavigationConfigDataSchema3, VersionedNavigationConfigSchema3, NavigationConfigSchema3, DocsDbConfigSchema, DocsDefinitionDbV1Schema, DocsDefinitionDbV2Schema, DocsDefinitionDbV3Schema, DocsDefinitionDbSchema, DocsV1Read_exports, DocsV1Write_exports, FdrAPI_exports, latest_exports2, v1_exports, NavigationV1Availability, ApiLatestWithSubs_exports, ApiLatestEndpoint_exports, ApiLatestWebhook_exports, ApiLatestWebsocket_exports, DocsLatest_exports, StringOrStringListSchema, TwitterCardSettingSchema2, JsonLdBreadcrumbListElementSchema, JsonLdBreadcrumbListSchema, WithJsonLdBreadcrumbsSchema, WithMetadataConfigSchema, LayoutSchema, LogoConfigurationSchema, LogoSchema, BreadcrumbItemSchema, FrontmatterSchema, ResolvedMdxSchema, DocsV1Commons_exports, libraryDocs_exports, PythonClassKind, PythonParameterKind, Sdks_exports, docs, api, libraryDocs, sdks, navigation, MAX_OPTIONAL_EXAMPLES_FOR_QUERY_PARAMS, ApiDefinitionTransformationContext, DEFAULT_DARK_MODE_ACCENT_PRIMARY, DEFAULT_LIGHT_MODE_ACCENT_PRIMARY, SDKSnippetHolder, EMPTY_DARK_THEME, EMPTY_LIGHT_THEME, docs_exports3, EMPTY_FRONTMATTER, navigation_exports, RETURN_PAGEID, RETURN_OVERVIEW_PAGEID, RETURN_UNDEFINED, SKIP, STOP, ApiDefinitionHolder, ApiTypeIdVisitor2, ApiDefinitionPruner2, v1_exports2, ChangelogNavigationConverter, NodeIdGenerator, SlugGenerator, ApiReferenceNavigationConverter, NavigationConfigConverter, RETURN_PAGEID2, RETURN_OVERVIEW_PAGEID2, RETURN_UNDEFINED2, NodeCollectorInstances, NodeCollector, MAX_CHANGELOG_ENTRIES_MINIMUM, CHANGELOG_RECENCY_MONTHS, migrators_exports, FernNavigationV1ToLatest, utils_exports2, isHeaderTab, RETURN_UNDEFINED3, RETURN_API_DEFINITION_ID, SKIP_URL_SLUG_PREFIX, SYNTHETIC_SEGMENT_RE, Pruner;
220804
+ var import_ts_essentials, import_qs, import_ts_essentials2, import_ts_essentials3, import_url_join, import_qs2, import_fast_deep_equal, import_ts_essentials4, import_url_join2, import_ts_essentials5, import_ts_essentials6, import_ts_essentials7, import_url_join3, import_url_join4, import_dayjs, import_utc, import_url_join5, import_ts_essentials8, import_ts_essentials9, import_ts_essentials10, import_ts_essentials11, import_ts_essentials12, __defProp4, __export3, api_definition_exports, LOOP_TOLERANCE, LARGE_LOOP_TOLERANCE, assertNever_default, EMPTY_ARRAY2, EMPTY_OBJECT2, identity_default2, isPlainObject_default2, conjunctions, articles, prepositions, lowerCase, specials, word, regex3, convertToRegExp, src_default, SPECIAL_TOKENS2, titleCase_default, visitDiscriminatedUnion_default, OrgIdSchema, ApiIdSchema, ApiDefinitionIdSchema, HttpMethodSchema3, HttpMethod7, UrlSchema, EndpointPathLiteralSchema, EndpointIdentifierSchema, SdkRequestSchema, DocsConfigIdSchema, GrpcIdSchema, PageIdSchema, RoleIdSchema, TokenIdSchema, VersionIdSchema, LinkTarget, GrpcMethod, Availability7, SupportedLanguage, HttpSnippetLanguage4, SnippetsByEndpointMethodSchema, SdkSchema, TypeIdSchema, EndpointIdSchema, WebSocketIdSchema, WebhookIdSchema, GraphQlOperationIdSchema, GraphQlTypeCategorySchema, EnvironmentIdSchema, PropertyKeySchema, AuthSchemeIdSchema, SubpackageIdSchema, WebSocketMessageIdSchema, FileIdSchema, MultipleAuthTypeSchema, GrpcMethodSchema, AvailabilitySchema3, WebSocketMessageOriginSchema, WebhookHttpMethodSchema, WithDescriptionSchema, WithAvailabilitySchema, EnvironmentSchema3, RestProtocolSchema, OpenRpcProtocolSchema, GrpcProtocolSchema, ProtocolSchema, ObjectPropertyAccessSchema, TypeReferenceIdDefaultSchema, _numberNullish, _numberIntNullish, coercedNumberNullish, coercedNumberIntNullish, IntegerTypeSchema, DoubleTypeSchema, StringTypeSchema, LongTypeSchema, _booleanNullish, BooleanTypeSchema, DatetimeTypeSchema, UuidTypeSchema, Base64TypeSchema, DateTypeSchema, BigIntegerTypeSchema, UintTypeSchema, Uint64TypeSchema, ScalarTypeSchema, PrimitiveTypeSchema, LiteralTypeSchema, TypeReferenceSchema2, GraphQlArgumentSchema, ObjectPropertySchema2, ObjectTypeSchema, EnumValueSchema2, EnumTypeSchema, DiscriminatedUnionVariantSchema, DiscriminatedUnionTypeSchema, ContentTypeSchema, FilePropertySingleSchema, FilePropertyArraySchema, FormDataFilePropertySchema, FormDataBodyPropertySchema, FormDataPropertySchema, FormDataRequestSchema, EndpointPathPartSchema, PathParameterSchema, EndpointPathSchema, QueryParameterSchema, HeaderSchema, JsonBodyShapeSchema, FileDownloadResponseBodyShapeSchema, StreamResponseV2Schema, StreamConditionSchema, FilenameWithDataSchema, FormValueSchema, BytesValueSchema, ExampleEndpointRequestSchema, ExampleServerSentEventSchema, ExampleEndpointResponseSchema, ErrorDeclarationSchema2, ExampleErrorResponseSchema, ErrorExampleSchema, GraphQlOperationTypeSchema, GraphQlExampleSchema, CodeSnippetSchema, GraphQlOperationSchema, WebhookPayloadShapeSchema, WebhookPayloadSchema2, ExampleWebhookPayloadSchema, WebSocketMessageBodyShapeSchema, WebSocketMessageSchema, ExampleWebSocketMessageSchema, ExampleWebSocketSessionSchema, ApiNavigationConfigItemSchema, ApiNavigationConfigRootSchema, BearerAuthSchema, BasicAuthSchema, HeaderAuthSchema, OAuthClientCredentialsReferencedEndpointSchema, OAuthClientCredentialsSchema, OAuthSchema, ApiAuthSchema3, JqStringSchema, RegisterLanguageSchema, RegisterUndiscriminatedUnionVariantSchema, RegisterUndiscriminatedUnionTypeSchema, RegisterTypeShapeSchema, RegisterTypeDefinitionSchema, RegisterBytesRequestSchema, RegisterJsonRequestBodySchema, RegisterHttpRequestBodyShapeSchema, RegisterHttpRequestSchema, RegisterHttpRequestsV2Schema, RegisterCustomCodeSampleSchema, RegisterExampleEndpointCallSchema, RegisterNonStreamResponseSchema, RegisterStreamResponseSchema, RegisterStreamConditionResponseSchema, RegisterHttpResponseBodyShapeSchema, RegisterHttpResponseSchema, RegisterHttpResponsesV2Schema, RegisterErrorDeclarationV2Schema, RegisterEndpointDefinitionSchema, RegisterWebhookDefinitionSchema, RegisterWebSocketChannelSchema, SourceIdSchema, SourceSchema2, SourceUploadSchema, DynamicIRSchema, DynamicIRUploadSchema, TypescriptPackageSchema, PythonPackageSchema, GoModuleSchema, JavaCoordinateSchema, RubyGemSchema, NugetPackageSchema, ComposerPackageSchema, SwiftPackageSchema, CratesPackageSchema, SnippetsConfigSchema, RegisterApiDefinitionPackageSchema, RegisterApiDefinitionSubpackageSchema, RegisterApiDefinitionSchema, RegisterApiDefinitionResponseSchema, SnippetInfoSchema, SdkDynamicIrDownloadSchema, GetSdkDynamicIrUploadUrlsResponseSchema, CheckSdkDynamicIrExistsResponseSchema, EndpointExampleGenerationErrorBodySchema, PathPartSchema, WithNamespaceSchema, LatestAuthSchemeSchema, LatestObjectPropertyAccessSchema, LatestTypeReferenceIdDefaultSchema, LatestPrimitiveTypeSchema, LatestLiteralTypeSchema, LatestUnknownTypeSchema, LatestEnumValueSchema, LatestEnumTypeSchema, LatestObjectPropertySchema, LatestParameterPropertySchema, LatestObjectTypeSchema, LatestUndiscriminatedUnionVariantSchema, LatestUndiscriminatedUnionTypeSchema, LatestDiscriminatedUnionVariantSchema, LatestDiscriminatedUnionTypeSchema, LatestTypeShapeSchema, LatestTypeReferenceSchema, LatestTypeDefinitionSchema, LatestContentTypeSchema, LatestBytesRequestSchema, LatestFormDataPropertySchema, LatestFormDataRequestSchema, LatestNullableTypeSchema, LatestOptionalTypeSchema, LatestListTypeSchema, LatestSetTypeSchema, LatestMapTypeSchema, LatestLanguageSchema, LatestExampleEndpointRequestSchema, LatestExampleEndpointResponseSchema, LatestExampleErrorResponseSchema, LatestHttpRequestBodyShapeSchema, LatestHttpRequestSchema, LatestFileDownloadResponseBodyShapeSchema, LatestStreamResponseSchema, LatestHttpResponseBodyShapeSchema, LatestHttpResponseSchema, LatestErrorExampleSchema, LatestErrorResponseSchema, LatestCodeSnippetSchema, LatestExampleEndpointCallSchema, LatestEndpointDefinitionSchema, LatestGraphQlOperationTypeSchema, LatestGraphQlArgumentSchema, LatestGraphQlExampleSchema, LatestGraphQlOperationSchema, LatestWebhookPayloadShapeSchema, LatestWebhookPayloadSchema, LatestExampleWebhookPayloadSchema, LatestWebhookDefinitionSchema, LatestWebSocketMessageSchema, LatestExampleWebSocketMessageSchema, LatestExampleWebSocketSessionSchema, LatestWebSocketChannelSchema, LatestSubpackageMetadataSchema, LatestApiDefinitionSchema, ApiDefinitionSchema2, AvailabilityOrder, UnwrapReferenceCache, UnwrapObjectTypeCache, ApiTypeIdVisitor, ApiDefinitionPruner, ROOT_PACKAGE_ID, MULTIPART_FILENAME_PLACEHOLDER, STATUS_CODE_MESSAGES, STATUS_CODE_MESSAGES_METHOD_OVERRIDES, AUTH_SCHEME_ID, DEFAULT_TYPE_REFERENCE, DEFAULT_TYPE_SHAPE, DEFAULT_WEBHOOK_PAYLOAD_SHAPE, DEFAULT_WEBHOOK_PAYLOAD, DEFAULT_GRAPHQL_ARGUMENT, ApiDefinitionV1ToLatest, HTTP_SNIPPET_CLIENTS, snippetCache, DEFAULT_MAX_DEPTH, IMPORT_PREFIXES, PHP_AUTOLOAD_INSERT, HttpSnippetConverter, SDK_SNIPPET_LANGUAGES, Transformer, ReadUndiscriminatedUnionVariantSchema, ReadUndiscriminatedUnionTypeSchema, ReadTypeShapeSchema, ReadTypeDefinitionSchema, ReadBytesRequestSchema, ReadHttpRequestBodyShapeSchema, ReadHttpRequestSchema, ReadHttpRequestsV2Schema, ReadSupportedLanguageSchema, ReadLanguageSchema, ReadCustomCodeSampleSchema, ReadPythonSnippetSchema, ReadTypescriptSnippetSchema, ReadGoSnippetSchema, ReadRubySnippetSchema, ReadCsharpSnippetSchema, ReadCodeExamplesSchema, ReadExampleEndpointCallSchema, ReadNonStreamResponseSchema, ReadStreamResponseSchema, ReadStreamConditionResponseSchema, ReadHttpResponseBodyShapeSchema, ReadHttpResponseSchema, ReadHttpResponsesV2Schema, ReadErrorDeclarationV2Schema, ReadEndpointDefinitionSchema, ReadWebhookDefinitionSchema, ReadWebSocketChannelSchema, ReadApiDefinitionPackageSchema, ReadApiDefinitionSubpackageSchema, ReadApiDefinitionSchema, apiLatestContract, apiReadContract, apiRegisterContract, DocsDeploymentStatusSchema, DocsSiteSchema, DocsDeploymentSchema, RegisterDocsSiteInputSchema, GetPostmanCollectionIdInputSchema, GetDocsStatusInputSchema, SetDocsStatusInputSchema, CreateDeploymentInputSchema, UpdateDeploymentStatusInputSchema, GetDocsDeploymentsInputSchema, UnlockDeployInputSchema, GetDocsStatusResponseSchema, GetDocsDeploymentsResponseSchema, CreateDeploymentResponseSchema, UpdateDeploymentStatusResponseSchema, GetPostmanCollectionIdResponseSchema, UnlockDeployResponseSchema, GetDocsSitesByCollectionIdInputSchema, FindSiteByOrgAndCollectionInputSchema, FindSiteByOrgAndCollectionResponseSchema, RecordPostmanNotificationInputSchema, RecordPostmanNotificationResponseSchema, GetUnnotifiedPostmanSitesResponseSchema, GetDocsSitesByCollectionIdResponseSchema, DeleteDocsSiteByServiceInputSchema, DeleteDocsSiteByServiceResponseSchema, SetEditorRepoUrlInputSchema, docsDeploymentContract, DocsSiteUrlSchema, DashboardDocsSiteSchema, GetDocsSitesForOrgInputSchema, GetDocsSitesForOrgResponseSchema, IsDocsSiteInOrgInputSchema, IsDocsSiteInOrgResponseSchema, DeleteAllDocsSitesForOrgInputSchema, DeleteAllDocsSitesForOrgResponseSchema, dashboardContract, DashboardAnalyticsCommonInputSchema, DashboardFeedbackInputSchema, DashboardListOrgMembersInputSchema, DashboardGetSiteConfigInputSchema, AuthorizeDocsEditResponseSchema, AnalyticsMetricSchema, AnalyticsDimensionSchema, AnalyticsGranularitySchema, AnalyticsFilterFieldSchema, AnalyticsFilterOpSchema, AnalyticsFilterSchema, AnalyticsOrderBySchema, AnalyticsDateRangeSchema, QueryAnalyticsInputSchema, ResolvedDateRangeSchema, AnalyticsSourceSchema, LlmBotTrafficResponseSchema, RecentFeedbackResponseSchema, QueryAnalyticsResponseSchema, OrgMembersResponseSchema, SiteGitRepositorySchema, SiteConfigResponseSchema, SitePasswordProtectionSchema, SiteSettingsResponseSchema, dashboardAgentContract, FileIdSchema2, PageIdSchema2, UrlSchema2, VersionIdSchema2, ApiDefinitionIdSchema2, EndpointIdSchema2, WebSocketIdSchema2, WebhookIdSchema2, RoleIdSchema2, SubpackageIdSchema2, LinkTargetSchema, AvailabilitySchema22, RgbaColorSchema, FileIdOrUrlSchema, LanguageSchema, Bcp47LocaleSchema, DocsTranslationsConfigSchema, ProgrammingLanguageSchema, AnnouncementConfigSchema, SegmentConfigSchema, FullStoryAnalyticsConfigSchema, IntercomConfigSchema, PostHogConfigSchema, GTMConfigSchema, GoogleAnalytics4ConfigSchema, AmplitudeConfigSchema, MixpanelConfigSchema, HotJarConfigSchema, KoalaConfigSchema, LogRocketConfigSchema, PirschConfigSchema, PlausibleConfigSchema, FathomConfigSchema, ClearBitConfigSchema, HeapConfigSchema, AnalyticsConfigSchema, SearchbarPlacementSchema, TabsPlacementSchema, SwitcherPlacementSchema, ContentAlignmentSchema, HeaderPositionSchema, PageWidthSizeConfigSchema, SizeConfigSchema, TabsAlignmentSchema, ChangelogLayoutSchema, ApiReferenceLayoutSchema, DocsLayoutConfigSchema, FooterNavConfigSchema, DocsSidebarConfigSchema, DocsBodyConfigSchema, DocsTabsStyleSchema, DocsTabsObjectConfigSchema, DocsTabsConfigSchema, DocsPageActionsConfigSchema, LanguageSwitcherConfigSchema, ProductSwitcherConfigSchema, DocsThemeConfigSchema, HttpSnippetLanguageSchema, HttpSnippetsConfigSchema, SearchSettingsConfigSchema, DocsSettingsConfigSchema, TwitterCardSettingSchema, MetadataConfigSchema, RedirectConfigSchema, WithPermissionsSchema, NavbarLinkMetadataSchema, NavbarGithubMetadataSchema, NavbarLinkDropdownMetadataSchema, NavbarLinkSchema, FooterLinkSchema, CssConfigSchema, JsScriptStrategySchema, JsRemoteConfigSchema, JsFileConfigSchema, JsConfigSchema, IntegrationsConfigSchema, FontStyleSchema, FontDisplaySchema, CustomFontConfigVariantSchema, CustomFontConfigSchema, FontConfigV2Schema, DocsTypographyConfigV2Schema, ThemedFileIdSchema, ColorsConfigSchema, ColorUnthemedConfigSchema, ColorThemedConfigSchema, ColorConfigSchema, ColorsConfigV2Schema, FontConfigSchema, DocsTypographyConfigSchema, EditThisPageLaunchSchema, AIChatLocationSchema, AIChatWebsiteDatasourceSchema, AIChatDatasourceSchema, AIModelSchema, AIChatConfigSchema, PageDescriptionSourceSchema, AgentsConfigSchema, PageActionOptionSchema, CustomPageActionSchema, SkillSchema, SkillsConfigSchema, PageActionOptionsSchema, PageActionsConfigSchema, HeightSchema, PageContentSchema, NavigationNodeMetadataSchema, PageMetadataSchema, LinkMetadataSchema, NavigationTabLinkSchema, ChangelogItemSchema, ChangelogSectionSchema, ChangelogSectionV3Schema, ApiSectionV2Schema, GitHubRepoSchema, NpmPackageSchema, MavenPackageSchema, PypiPackageSchema, PublishedSdkSchema, PublishedPostmanCollectionSchema, ApiArtifactsSchema, ApiNavigationConfigItemSchema2, ApiNavigationConfigRootSchema2, DocsConfigIdSchema2, UrlFileSchema, ImageFileSchema, FileSchema2, BackgroundSchema, ThemeConfigSchema, DarkAndLightModeConfigSchema, ColorsConfigV3Schema, ApiNavigationConfigItemSchema3, ApiNavigationConfigRootSchema3, ApiSectionSchema, DocsSectionSchema, NavigationItemSchema, NavigationTabGroupSchema, NavigationTabSchema, UnversionedTabbedNavigationConfigSchema, UnversionedUntabbedNavigationConfigSchema, UnversionedNavigationConfigSchema, VersionedNavigationConfigDataSchema, VersionedNavigationConfigSchema, NavigationConfigSchema, DocsConfigSchema, DocsDefinitionSchema, BaseUrlSchema, LoadDocsForUrlResponseSchema, GetDocsForDomainLegacyInputSchema, GetDocsForDomainInputSchema, docsV1ReadContract, MAX_DOXYFILE_CONTENT_LENGTH, SETTING_LINE_RE, AT_DIRECTIVE_RE, BOOL_RE, FILE_PATTERN_RE, PREDEFINED_RE, ALIAS_DEF_RE, DOXYFILE_ALLOWED_KEYS, ALLOWED_HOSTNAMES, GithubUrlSchema, SafeBranchSchema, SafePackagePathSchema, LibraryDocsBaseConfigSchema, PythonLibraryDocsConfigSchema, SafeDoxyfileContentSchema, CppLibraryDocsConfigSchema, StartLibraryDocsGenerationInputSchema, StartLibraryDocsGenerationResponseSchema, GetLibraryDocsStatusInputSchema, LibraryDocsResultSchema, LibraryDocsGenerationStatusSchema, libraryDocsContract, GetOrganizationForUrlInputSchema, organizationContract, contract_exports, GetDocsUrlMetadataInputSchema, GetDocsUrlMetadataResponseSchema, GetDocsForUrlInputSchema, GetPrivateDocsForUrlInputSchema, ListAllDocsUrlsInputSchema, GetDocsConfigByIdInputSchema, GetSiteMetricsInputSchema, SiteMetricsSchema, DocsDefinitionField, GetDocsConfigByIdResponseSchema, DocsDomainItemSchema, ListAllDocsUrlsResponseSchema, getDocsForUrl, docsV2ReadContract, contract_exports2, OrgIdSchema2, FilePathSchema, DocsRegistrationIdSchema, HeightSchema2, FileS3UploadUrlSchema, StartDocsRegisterResponseSchema, PageContentSchema2, NavigationNodeMetadataSchema2, PageMetadataSchema2, LinkMetadataSchema2, ChangelogItemSchema2, ChangelogSectionSchema2, ChangelogSectionV2Schema, ChangelogSectionV3Schema2, NavigationTabLinkSchema2, ApiNavigationConfigItemSchema4, ApiNavigationConfigSubpackageSchema, ApiNavigationConfigRootSchema4, ApiSectionSchema2, ApiSectionV2Schema2, DocsSectionSchema2, NavigationItemSchema2, NavigationTabGroupSchema2, NavigationTabSchema2, NavigationTabV2Schema, UnversionedTabbedNavigationConfigSchema2, UnversionedUntabbedNavigationConfigSchema2, UnversionedNavigationConfigSchema2, VersionedNavigationConfigDataSchema2, VersionedNavigationConfigSchema2, NavigationConfigSchema2, ThemeConfigSchema2, DarkAndLightModeConfigSchema2, ColorsConfigV3Schema2, DocsConfigSchema2, DocsDefinitionSchema2, NpmPackageSchema2, MavenPackageSchema2, PypiPackageSchema2, PublishedSdkSchema2, PublishedPostmanCollectionSchema2, ApiArtifactsSchema2, InvalidCustomDomainErrorBodySchema, OverlappingCustomDomainsSchema, FilePathSchema2, FilePathInputSchema, ImageFilePathSchema, AuthConfigSchema, StartDocsRegisterV2InputSchema, StartDocsRegisterV2ResponseSchema, StartDocsPreviewRegisterInputSchema, StartDocsPreviewRegisterResponseSchema, FinishDocsRegisterV2InputSchema, TransferOwnershipInputSchema, SetIsArchivedInputSchema, SetDocsUrlMetadataInputSchema, AlgoliaDomainInputSchema, ListAlgoliaPreviewWhitelistResponseSchema, DeleteDocsSiteInputSchema, RemoveCustomDomainAliasInputSchema, Bcp47LocaleSchema2, RegisterTranslationInputSchema, RegisterTranslationResponseSchema, docsV2WriteContract, InvalidateCachedDocsInputSchema, docsCacheContract, MissingContentSchema, RegisterResponseSchema, FinishResponseSchema, ArchiveSiteInputSchema, ArchiveSiteResponseSchema, BlobRefSchema, PageBlobRefSchema, FileManifestEntrySchema, ImageRefSchema, PathOrUrlSchema, RgbaSchema, BackgroundColorSchema, ACCENT_SCALE_KEYS, accentScaleShape, LedgerThemeConfigSchema, LedgerColorsConfigSchema, LedgerFontVariantSchema, LedgerFontConfigSchema, LedgerTypographySchema, LedgerJsFileSchema, LedgerJsConfigSchema, LedgerMetadataConfigSchema, NavbarLinksFieldSchema, FooterLinksFieldSchema, LayoutFieldSchema, ThemeFieldSchema, SettingsFieldSchema, AnalyticsFieldSchema, AIChatFieldSchema, PageActionsFieldSchema, LedgerAgentsConfigSchema, LedgerConfigSchema, MetadataStringArraySchema, FeatureFlagMetadataSchema, LinkTargetSchema2, CollapsedSchema, PlaygroundSettingsSchema, LedgerAvailabilitySchema, LedgerArtifactTypeSchema, LedgerMetadataBaseSchema, NodeMetadataFields, ApiNodeMetadataFields, LedgerSegmentDetailMetadataObjectSchema, LedgerSegmentDetailMetadataSchema, LedgerSegmentMetadataObjectSchema, LedgerSegmentMetadataSchema, LedgerMarkdownMetadataSchema, LedgerRestMetadataSchema, LedgerWebSocketMetadataSchema, LedgerWebhookMetadataSchema, LedgerGrpcMetadataSchema, LedgerGraphQlMetadataSchema, LedgerGraphQlTypeMetadataSchema, LedgerChangelogEntryMetadataSchema, LedgerLinkMetadataSchema, LedgerFileArtifactMetadataSchema, LedgerStructuralRedirectKindSchema, LedgerRedirectKindSchema, LedgerRedirectMetadataSchema, LedgerArtifactMetadataSchema, LEDGER_ARTIFACT_METADATA_SCHEMAS, NavRouteBaseSchema, LedgerNavRouteSchema, DocsPublishGitInputSchema, DocsContentFieldsSchema, LocaleEntrySchemaInternal, LocaleEntrySchema, DocsPublishInputSchemaInternal, DocsPublishInputSchema, LedgerPreviewRegisterInputSchemaInternal, LedgerPreviewRegisterInputSchema, LedgerPreviewRegisterResponseSchema, docsLedgerContract, CurrentVersionInputSchema, CurrentPreviewInputSchema, CurrentVersionResponseSchema, ContentRefSchema, SegmentDetailSchema, SegmentSchema, VersionMetadataInputSchema, VersionMetadataResponseSchema, PageContentInputSchema, PageContentResponseSchema, BatchPageContentInputSchema, BatchPageContentItemSchema, BatchPageContentResponseSchema, NavInputSchema, NavResponseSchema, RouteContextInputSchema, RouteContextResponseBaseSchema, RouteContextResponseSchema, TopLevelNavigationInputSchema, TopLevelNavigationResponseSchema, VersionSwitchTargetsInputSchema, VersionSwitchTargetSchema, VersionSwitchTargetsResponseSchema, ApiDefinitionInputSchema, ApiDefinitionResponseSchema, PrunedApiDefinitionInputSchema, PrunedApiDefinitionResponseSchema, FileArtifactInputSchema, FileArtifactResponseSchema, PresignedFileDownloadInputSchema, PresignedFileDownloadResponseSchema, FileMetadataInputSchema, FileMetadataResponseSchema, docsLedgerReadContract, GetSnapshotInputSchema, SetSnapshotInputSchema, GetDocumentsForBranchesInputSchema, EditorDocumentSchema, GetSnapshotResponseSchema, GetDocumentsForBranchesResponseSchema, editorSnapshotContract, GeneratorLanguageSchema, ScriptSchema, GeneratorScriptsSchema, GeneratorTypeSchema, ChangelogEntryTypeSchema, ChangelogEntrySchema, YankSchema, ReleaseTypeSchema, VersionRangeSchema, GeneratorSchema, GeneratorOutputSchema2, GetGeneratorByImageInputSchema, GetGeneratorInputSchema, GeneratorReleaseSchema, GeneratorReleaseRequestSchema, GetLatestGeneratorReleaseInputSchema, GetGeneratorChangelogInputSchema, ChangelogResponseSchema, GetChangelogResponseSchema, GetGeneratorReleaseInputSchema, ListGeneratorReleasesInputSchema, ListGeneratorReleasesResponseSchema, CliReleaseSchema, GetLatestCliReleaseInputSchema, GetCliChangelogInputSchema, GetMinCliForIrInputSchema, UpsertCliReleaseInputSchema, GetCliReleaseInputSchema, ListCliReleasesInputSchema, ListCliReleasesResponseSchema, generatorsContract, generatorVersionsContract, generatorCliContract, CheckRunSchema, GithubRepositoryIdSchema, RepositoryIdSchema, BaseRepositorySchema, SdkRepositorySchema, FernConfigRepositorySchema, FernRepositorySchema, GithubUserSchema, GithubTeamSchema, PullRequestReviewerSchema, PullRequestStateSchema, PullRequestSchema, ListRepositoriesResponseSchema, ListPullRequestsResponseSchema, GetRepositoryInputSchema, ListRepositoriesInputSchema, DeleteRepositoryInputSchema, GetPullRequestInputSchema, ListPullRequestsInputSchema, DeletePullRequestInputSchema, gitContract, PdfExportScopeSchema, PdfExportOptionsV1Schema, PdfExportOptionsSchema, PdfExportTaskStatusSchema, PdfExportTaskSchema, ListPdfExportTasksResponseSchema, PdfExportDownloadResponseSchema, CreatePdfExportTaskInputSchema, ListPdfExportTasksInputSchema, GetPdfExportTaskInputSchema, UpdatePdfExportTaskInputSchema, GetPdfExportDownloadUrlInputSchema, CleanupPdfExportsResponseSchema, pdfExportContract, LanguageEnumSchema, VersionBumpEnumSchema, ComputeSemanticVersionInputSchema, ComputeSemanticVersionOutputSchema, sdksContract, SlugsInputSchema, SlugEntrySchema, MarkdownEntrySchema, GetSlugEntriesResponseSchema, GetMarkdownEntriesResponseSchema, slugsContract, contract_exports3, TypeScriptSdkSchema, PythonSdkSchema, GoSdkSchema, RubySdkSchema, JavaSdkSchema, CsharpSdkSchema, BaseSnippetCreateSchema, SdkSnippetsCreateSchema, snippetsFactoryContract, ParameterPayloadSchema, AuthPayloadSchema, CustomSnippetPayloadSchema, snippetsContract, SnippetRegistryEntrySchema, RegisterInputSchema, RegisterBatchInputSchema, GetInputSchema, EndpointSnippetTemplateSchema, templatesContract, GenerateTokenInputSchema, RevokeTokenInputSchema, GenerateTokenOutputSchema, tokensContract, FdrClient, APIV1Db_exports, EndpointSnippetTemplatesSchema, DbHttpRequestSchema, DbHttpRequestsV2Schema, DbEndpointDefinitionSchema, DbApiDefinitionPackageSchema, DbApiDefinitionSubpackageSchema, DbApiDefinitionSchema, DbEndpointWithContextSchema, APIV1Read_exports, WebSocketMessageOrigin3, APIV1Write_exports, DocsV1Db_exports, BackgroundSchema2, ThemeConfigSchema3, DarkAndLightModeConfigSchema3, ColorsConfigV3Schema3, DbFileInfoSchema, DbImageFileInfoSchema, DbFileInfoV2Schema, NavigationTabGroupSchema3, NavigationTabSchema3, NavigationTabV2Schema2, ApiSectionSchema3, DocsSectionSchema3, NavigationItemSchema3, UnversionedTabbedNavigationConfigSchema3, UnversionedUntabbedNavigationConfigSchema3, UnversionedNavigationConfigSchema3, VersionedNavigationConfigDataSchema3, VersionedNavigationConfigSchema3, NavigationConfigSchema3, DocsDbConfigSchema, DocsDefinitionDbV1Schema, DocsDefinitionDbV2Schema, DocsDefinitionDbV3Schema, DocsDefinitionDbSchema, DocsV1Read_exports, DocsV1Write_exports, FdrAPI_exports, latest_exports2, v1_exports, NavigationV1Availability, ApiLatestWithSubs_exports, ApiLatestEndpoint_exports, ApiLatestWebhook_exports, ApiLatestWebsocket_exports, DocsLatest_exports, StringOrStringListSchema, TwitterCardSettingSchema2, JsonLdBreadcrumbListElementSchema, JsonLdBreadcrumbListSchema, WithJsonLdBreadcrumbsSchema, WithMetadataConfigSchema, LayoutSchema, LogoConfigurationSchema, LogoSchema, BreadcrumbItemSchema, FrontmatterSchema, ResolvedMdxSchema, DocsV1Commons_exports, libraryDocs_exports, PythonClassKind, PythonParameterKind, Sdks_exports, docs, api, libraryDocs, sdks, navigation, MAX_OPTIONAL_EXAMPLES_FOR_QUERY_PARAMS, ApiDefinitionTransformationContext, DEFAULT_DARK_MODE_ACCENT_PRIMARY, DEFAULT_LIGHT_MODE_ACCENT_PRIMARY, SDKSnippetHolder, EMPTY_DARK_THEME, EMPTY_LIGHT_THEME, docs_exports3, EMPTY_FRONTMATTER, navigation_exports, RETURN_PAGEID, RETURN_OVERVIEW_PAGEID, RETURN_UNDEFINED, SKIP, STOP, ApiDefinitionHolder, ApiTypeIdVisitor2, ApiDefinitionPruner2, v1_exports2, ChangelogNavigationConverter, NodeIdGenerator, SlugGenerator, ApiReferenceNavigationConverter, NavigationConfigConverter, RETURN_PAGEID2, RETURN_OVERVIEW_PAGEID2, RETURN_UNDEFINED2, NodeCollectorInstances, NodeCollector, MAX_CHANGELOG_ENTRIES_MINIMUM, CHANGELOG_RECENCY_MONTHS, migrators_exports, FernNavigationV1ToLatest, utils_exports2, isHeaderTab, RETURN_UNDEFINED3, RETURN_API_DEFINITION_ID, SKIP_URL_SLUG_PREFIX, SYNTHETIC_SEGMENT_RE, Pruner;
220771
220805
  var init_js = __esm({
220772
- "../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.96-8e5f0d55dd_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs"() {
220806
+ "../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.102-07ddc01b9b_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs"() {
220773
220807
  "use strict";
220774
220808
  init_array();
220775
220809
  init_zod2();
@@ -221074,6 +221108,7 @@ var init_js = __esm({
221074
221108
  buildSdkSnippetRequest: () => buildSdkSnippetRequest,
221075
221109
  cleanLanguage: () => cleanLanguage,
221076
221110
  collectReferencedTypeIds: () => collectReferencedTypeIds,
221111
+ collectReferencingTypeIdsByTypeId: () => collectReferencingTypeIdsByTypeId,
221077
221112
  collectTypeDefinitionTree: () => collectTypeDefinitionTree,
221078
221113
  collectTypeDefinitionTreeForObjectProperty: () => collectTypeDefinitionTreeForObjectProperty,
221079
221114
  convertToCurl: () => convertToCurl,
@@ -223264,6 +223299,7 @@ var init_js = __esm({
223264
223299
  };
223265
223300
  const namespaces = /* @__PURE__ */ new Set();
223266
223301
  const authSchemes = /* @__PURE__ */ new Set();
223302
+ const seedTypeIds = /* @__PURE__ */ new Set();
223267
223303
  for (const node4 of nodes) {
223268
223304
  if (node4.type === "endpoint") {
223269
223305
  const found = this.api.endpoints[node4.endpointId];
@@ -223300,9 +223336,14 @@ var init_js = __esm({
223300
223336
  found.namespace?.forEach((subpackageId) => namespaces.add(subpackageId));
223301
223337
  }
223302
223338
  }
223339
+ } else if (node4.type === "graphqlType") {
223340
+ const found = this.api.types[node4.typeId];
223341
+ if (found) {
223342
+ seedTypeIds.add(node4.typeId);
223343
+ }
223303
223344
  }
223304
223345
  }
223305
- toRet.types = this.pruneTypes(toRet);
223346
+ toRet.types = this.pruneTypes(toRet, seedTypeIds);
223306
223347
  namespaces.forEach((subpackageId) => {
223307
223348
  const subpackage = this.api.subpackages[subpackageId];
223308
223349
  if (subpackage) {
@@ -223317,8 +223358,8 @@ var init_js = __esm({
223317
223358
  });
223318
223359
  return toRet;
223319
223360
  }
223320
- pruneTypes(partiallyPrunedApi) {
223321
- let typeIds = /* @__PURE__ */ new Set();
223361
+ pruneTypes(partiallyPrunedApi, seedTypeIds = /* @__PURE__ */ new Set()) {
223362
+ let typeIds = new Set(seedTypeIds);
223322
223363
  partiallyPrunedApi.globalHeaders?.forEach((header) => {
223323
223364
  ApiTypeIdVisitor.visitTypeShape(header.valueShape, (typeId) => typeIds.add(typeId));
223324
223365
  });
@@ -225611,6 +225652,7 @@ var init_js = __esm({
225611
225652
  ]);
225612
225653
  TabsAlignmentSchema = enumType(["LEFT", "CENTER"]);
225613
225654
  ChangelogLayoutSchema = enumType(["timeline", "classic"]);
225655
+ ApiReferenceLayoutSchema = enumType(["indented", "cards"]);
225614
225656
  DocsLayoutConfigSchema = objectType({
225615
225657
  pageWidth: PageWidthSizeConfigSchema.optional(),
225616
225658
  contentWidth: SizeConfigSchema.optional(),
@@ -225626,6 +225668,7 @@ var init_js = __esm({
225626
225668
  hideFeedback: booleanType().optional(),
225627
225669
  mobileToc: booleanType().optional(),
225628
225670
  changelogLayout: ChangelogLayoutSchema.optional(),
225671
+ apiReferenceLayout: ApiReferenceLayoutSchema.optional(),
225629
225672
  showNavAvailabilityBadges: booleanType().optional()
225630
225673
  });
225631
225674
  FooterNavConfigSchema = enumType(["default", "minimal"]);
@@ -227159,6 +227202,7 @@ var init_js = __esm({
227159
227202
  "webhook",
227160
227203
  "grpc",
227161
227204
  "graphql",
227205
+ "graphqlType",
227162
227206
  "changelog",
227163
227207
  "link",
227164
227208
  "file",
@@ -227306,6 +227350,28 @@ var init_js = __esm({
227306
227350
  graphqlOperationId: stringType(),
227307
227351
  operationType: GraphQlOperationTypeSchema
227308
227352
  });
227353
+ LedgerGraphQlTypeMetadataSchema = LedgerMetadataBaseSchema.extend({
227354
+ ...ApiNodeMetadataFields,
227355
+ typeId: stringType(),
227356
+ typeCategory: GraphQlTypeCategorySchema,
227357
+ /**
227358
+ * Ids of the types that reference this one directly, for the "referenced by"
227359
+ * section of a type page.
227360
+ *
227361
+ * Computed at publish, because it cannot be derived on the read side: a type
227362
+ * page's pruned definition contains what the type reaches, not what reaches
227363
+ * it, and the navigation tree carries no field-level type references.
227364
+ *
227365
+ * Types rather than operations: where a schema namespaces its operations
227366
+ * behind hub types, almost no operation names a leaf type directly, so an
227367
+ * operation-keyed list is empty for most types. The type graph has the edge
227368
+ * that exists, and it is small -- single digits for the large majority.
227369
+ *
227370
+ * Optional: absent on artifacts written before this field existed, and
227371
+ * omitted entirely when nothing references the type.
227372
+ */
227373
+ referencedByTypeIds: arrayType(stringType()).optional()
227374
+ });
227309
227375
  LedgerChangelogEntryMetadataSchema = LedgerMetadataBaseSchema.extend({
227310
227376
  ...NodeMetadataFields,
227311
227377
  pageId: stringType(),
@@ -227350,6 +227416,7 @@ var init_js = __esm({
227350
227416
  LedgerWebhookMetadataSchema,
227351
227417
  LedgerGrpcMetadataSchema,
227352
227418
  LedgerGraphQlMetadataSchema,
227419
+ LedgerGraphQlTypeMetadataSchema,
227353
227420
  LedgerChangelogEntryMetadataSchema,
227354
227421
  LedgerLinkMetadataSchema,
227355
227422
  LedgerFileArtifactMetadataSchema,
@@ -227363,6 +227430,7 @@ var init_js = __esm({
227363
227430
  webhook: LedgerWebhookMetadataSchema,
227364
227431
  grpc: LedgerGrpcMetadataSchema,
227365
227432
  graphql: LedgerGraphQlMetadataSchema,
227433
+ graphqlType: LedgerGraphQlTypeMetadataSchema,
227366
227434
  changelog: LedgerChangelogEntryMetadataSchema,
227367
227435
  link: LedgerLinkMetadataSchema,
227368
227436
  file: LedgerFileArtifactMetadataSchema,
@@ -227383,6 +227451,7 @@ var init_js = __esm({
227383
227451
  navRouteVariant("webhook"),
227384
227452
  navRouteVariant("grpc"),
227385
227453
  navRouteVariant("graphql"),
227454
+ navRouteVariant("graphqlType"),
227386
227455
  navRouteVariant("changelog"),
227387
227456
  navRouteVariant("link"),
227388
227457
  navRouteVariant("file"),
@@ -227698,6 +227767,7 @@ var init_js = __esm({
227698
227767
  artifactTypeVariant(RouteContextResponseBaseSchema, "webhook"),
227699
227768
  artifactTypeVariant(RouteContextResponseBaseSchema, "grpc"),
227700
227769
  artifactTypeVariant(RouteContextResponseBaseSchema, "graphql"),
227770
+ artifactTypeVariant(RouteContextResponseBaseSchema, "graphqlType"),
227701
227771
  artifactTypeVariant(RouteContextResponseBaseSchema, "changelog"),
227702
227772
  artifactTypeVariant(RouteContextResponseBaseSchema, "link"),
227703
227773
  artifactTypeVariant(RouteContextResponseBaseSchema, "file"),
@@ -227745,7 +227815,7 @@ var init_js = __esm({
227745
227815
  deploymentId: stringType(),
227746
227816
  apiDefinitionId: stringType(),
227747
227817
  /** Discriminator matching PruningNodeType.type → artifact metadata field. */
227748
- nodeType: enumType(["endpoint", "webSocket", "webhook", "grpc", "graphql"]),
227818
+ nodeType: enumType(["endpoint", "webSocket", "webhook", "grpc", "graphql", "graphqlType"]),
227749
227819
  /** The node ID value (endpointId, webSocketId, etc.). */
227750
227820
  nodeId: stringType()
227751
227821
  });
@@ -232782,6 +232852,8 @@ var init_js = __esm({
232782
232852
  idToNode = /* @__PURE__ */ new Map();
232783
232853
  idToNodeParents = /* @__PURE__ */ new Map();
232784
232854
  slugToNode = /* @__PURE__ */ new Map();
232855
+ /** Keyed by {@link graphQlTypeKey} -- `typeId` alone is only unique within one API definition. */
232856
+ typeIdToGraphQlTypeNode = /* @__PURE__ */ new Map();
232785
232857
  orphanedNodes = [];
232786
232858
  static collect(rootNode) {
232787
232859
  if (rootNode == null) {
@@ -232851,6 +232923,13 @@ var init_js = __esm({
232851
232923
  this.idToNodeParents.set(node4.id, parents);
232852
232924
  this.nodesInOrder.push(node4);
232853
232925
  }
232926
+ if (node4.type === "graphqlType") {
232927
+ const key2 = graphQlTypeKey(node4.apiDefinitionId, node4.typeId, versionIdOf(parents));
232928
+ const existingTypeNode = this.typeIdToGraphQlTypeNode.get(key2);
232929
+ if (existingTypeNode == null || existingTypeNode.hidden === true && node4.hidden !== true) {
232930
+ this.typeIdToGraphQlTypeNode.set(key2, node4);
232931
+ }
232932
+ }
232854
232933
  if (node4.type === "sidebarRoot") {
232855
232934
  this.#last = void 0;
232856
232935
  this.#lastNeighboringNode = void 0;
@@ -232881,6 +232960,38 @@ var init_js = __esm({
232881
232960
  get slugMap() {
232882
232961
  return this.getSlugMap();
232883
232962
  }
232963
+ /**
232964
+ * GraphQL schema types that have their own page, keyed by
232965
+ * {@link graphQlTypeKey} -- `apiDefinitionId` *and* `typeId`.
232966
+ *
232967
+ * Exists so that a field whose value is `Product` can be rendered as a link
232968
+ * to `Product`'s page without every consumer re-walking the tree and picking
232969
+ * its own winner when a type appears under multiple versions or products.
232970
+ *
232971
+ * The key includes the API definition because `typeId` is only unique within
232972
+ * one definition: a docs site with several GraphQL APIs can legitimately have
232973
+ * a `Product` in each, and keying on `typeId` alone would link an operation in
232974
+ * one API to a type page in another.
232975
+ */
232976
+ getGraphQlTypeNodes = once2(() => {
232977
+ return this.typeIdToGraphQlTypeNode;
232978
+ });
232979
+ /**
232980
+ * The type node documenting `typeId` within `apiDefinitionId` and `versionId`,
232981
+ * if one exists. Pass the version the caller is rendering in; undefined on an
232982
+ * unversioned site.
232983
+ *
232984
+ * There is deliberately no cross-version fallback: sending a reader in one
232985
+ * version to another version's type page is worse than not linking at all,
232986
+ * since the type may differ between versions.
232987
+ */
232988
+ getGraphQlTypeNode = (apiDefinitionId, typeId, versionId) => {
232989
+ return this.typeIdToGraphQlTypeNode.get(graphQlTypeKey(apiDefinitionId, typeId, versionId));
232990
+ };
232991
+ /** Slug of the page documenting `typeId`, if one exists. See {@link getGraphQlTypeNode}. */
232992
+ getGraphQlTypeSlug = (apiDefinitionId, typeId, versionId) => {
232993
+ return this.getGraphQlTypeNode(apiDefinitionId, typeId, versionId)?.slug;
232994
+ };
232884
232995
  get defaultVersionNode() {
232885
232996
  return this.defaultVersion;
232886
232997
  }
@@ -233789,6 +233900,36 @@ var init_js = __esm({
233789
233900
  };
233790
233901
  return latest2;
233791
233902
  };
233903
+ graphqlType = (node4, parents) => {
233904
+ const apiDisambiguation = this.#createApiDisambiguationKey(parents);
233905
+ const slug = navigation_exports.Slug(node4.slug);
233906
+ const canonicalSlug = this.#getAndSetCanonicalSlug(
233907
+ [
233908
+ `${apiDisambiguation}:api:graphqlType:${node4.typeCategory}:${node4.typeId}`,
233909
+ this.#createTitleDisambiguationKey(node4, parents)
233910
+ ],
233911
+ slug
233912
+ );
233913
+ const latest2 = {
233914
+ type: "graphqlType",
233915
+ id: navigation_exports.NodeId(node4.id),
233916
+ title: node4.title,
233917
+ slug,
233918
+ canonicalSlug,
233919
+ icon: node4.icon,
233920
+ hidden: node4.hidden,
233921
+ authed: node4.authed,
233922
+ collapsed: node4.collapsed,
233923
+ apiDefinitionId: node4.apiDefinitionId,
233924
+ typeId: node4.typeId,
233925
+ typeCategory: node4.typeCategory,
233926
+ availability: this.#availability(node4.availability),
233927
+ viewers: node4.viewers,
233928
+ orphaned: node4.orphaned,
233929
+ featureFlags: node4.featureFlags
233930
+ };
233931
+ return latest2;
233932
+ };
233792
233933
  #variantChild = (child, parents) => {
233793
233934
  return visitDiscriminatedUnion_default(child)._visit({
233794
233935
  apiReference: (value2) => this.apiReference(value2, parents),
@@ -233819,7 +233960,8 @@ var init_js = __esm({
233819
233960
  webSocket: (value2) => this.webSocket(value2, parents),
233820
233961
  webhook: (value2) => this.webhook(value2, parents),
233821
233962
  grpc: (value2) => this.grpc(value2, parents),
233822
- graphql: (value2) => this.graphql(value2, parents)
233963
+ graphql: (value2) => this.graphql(value2, parents),
233964
+ graphqlType: (value2) => this.graphqlType(value2, parents)
233823
233965
  });
233824
233966
  };
233825
233967
  /**
@@ -373014,6 +373156,7 @@ var import_promises40, GraphQLConverter;
373014
373156
  var init_GraphQLConverter = __esm({
373015
373157
  "../api-importers/graphql/lib/GraphQLConverter.js"() {
373016
373158
  "use strict";
373159
+ init_lib4();
373017
373160
  init_js();
373018
373161
  import_promises40 = require("fs/promises");
373019
373162
  init_graphql();
@@ -373025,6 +373168,8 @@ var init_GraphQLConverter = __esm({
373025
373168
  namespace;
373026
373169
  processingTypes = /* @__PURE__ */ new Set();
373027
373170
  types = {};
373171
+ typeCategories = {};
373172
+ namespaceTypeNames = /* @__PURE__ */ new Set();
373028
373173
  examplesByOperation = /* @__PURE__ */ new Map();
373029
373174
  constructor({ context: context3, filePath, namespace, examples }) {
373030
373175
  this.context = context3;
@@ -373148,7 +373293,10 @@ ${deprecation}` : deprecation;
373148
373293
  this.convertOperations(subscriptionType, "SUBSCRIPTION", pendingOperations);
373149
373294
  }
373150
373295
  const graphqlOperations = this.resolveOperationIds(pendingOperations);
373151
- return { graphqlOperations, types: this.types };
373296
+ for (const typeName of this.namespaceTypeNames) {
373297
+ delete this.typeCategories[this.getNamespacedTypeId(typeName)];
373298
+ }
373299
+ return { graphqlOperations, types: this.types, typeCategories: this.typeCategories };
373152
373300
  }
373153
373301
  resolveOperationIds(pending) {
373154
373302
  const flatIdCounts = /* @__PURE__ */ new Map();
@@ -373186,6 +373334,7 @@ ${deprecation}` : deprecation;
373186
373334
  continue;
373187
373335
  }
373188
373336
  const typeId = this.getNamespacedTypeId(typeName);
373337
+ this.typeCategories[typeId] = this.typeCategoryOf(type7);
373189
373338
  if (type7 instanceof GraphQLEnumType) {
373190
373339
  this.processingTypes.add(typeName);
373191
373340
  try {
@@ -373267,6 +373416,30 @@ ${deprecation}` : deprecation;
373267
373416
  }
373268
373417
  }
373269
373418
  }
373419
+ // Derived from the declared kind, never from the converted FDR shape: an interface and an
373420
+ // object both convert to `object` and a custom scalar to `alias`, so shape-sniffing would
373421
+ // mislabel types.
373422
+ typeCategoryOf(type7) {
373423
+ if (type7 instanceof GraphQLObjectType) {
373424
+ return "object";
373425
+ }
373426
+ if (type7 instanceof GraphQLInputObjectType) {
373427
+ return "input";
373428
+ }
373429
+ if (type7 instanceof GraphQLEnumType) {
373430
+ return "enum";
373431
+ }
373432
+ if (type7 instanceof GraphQLInterfaceType) {
373433
+ return "interface";
373434
+ }
373435
+ if (type7 instanceof GraphQLUnionType) {
373436
+ return "union";
373437
+ }
373438
+ if (type7 instanceof GraphQLScalarType) {
373439
+ return "scalar";
373440
+ }
373441
+ assertNever(type7);
373442
+ }
373270
373443
  // Builds an operation id of the form `<operationType>_<segments joined by ".">`.
373271
373444
  // Flat (top-level) ids use a single segment; namespaced ids include the full field
373272
373445
  // path so that fields sharing a leaf name across namespaces resolve to distinct ids.
@@ -373288,6 +373461,7 @@ ${deprecation}` : deprecation;
373288
373461
  operation: this.convertField(field5, fieldName, operationType)
373289
373462
  });
373290
373463
  }
373464
+ this.namespaceTypeNames.add(returnRawType.name);
373291
373465
  this.convertNamespaceOperations(returnRawType, operationType, pending, [fieldName]);
373292
373466
  } else {
373293
373467
  const flatId = this.buildOperationId(operationType, [fieldName]);
@@ -373525,14 +373699,7 @@ ${deprecation}` : deprecation;
373525
373699
  propertyAccess: void 0,
373526
373700
  arguments: field5.args.length > 0 ? field5.args.map((arg) => this.convertArgument(arg)) : void 0
373527
373701
  }));
373528
- const interfaces = type7.getInterfaces();
373529
- const extendsIds = interfaces.filter((iface) => {
373530
- if (!this.schema) {
373531
- return true;
373532
- }
373533
- const implementations = this.schema.getPossibleTypes(iface);
373534
- return implementations.length === 0;
373535
- }).map((iface) => this.getNamespacedTypeId(iface.name));
373702
+ const extendsIds = type7.getInterfaces().map((iface) => this.getNamespacedTypeId(iface.name));
373536
373703
  return {
373537
373704
  type: "object",
373538
373705
  extends: extendsIds,
@@ -373540,30 +373707,9 @@ ${deprecation}` : deprecation;
373540
373707
  extraProperties: void 0
373541
373708
  };
373542
373709
  }
373710
+ // An interface is its own set of fields, not the union of the types that implement it: the
373711
+ // implementors are reachable from each implementing type's `extends`.
373543
373712
  convertInterfaceTypeDefinition(type7) {
373544
- if (!this.schema) {
373545
- return this.convertInterfaceAsObject(type7);
373546
- }
373547
- const implementations = this.schema.getPossibleTypes(type7);
373548
- if (implementations.length === 0) {
373549
- return this.convertInterfaceAsObject(type7);
373550
- }
373551
- return {
373552
- type: "undiscriminatedUnion",
373553
- variants: implementations.map((impl) => ({
373554
- typeName: impl.name,
373555
- displayName: impl.name,
373556
- type: {
373557
- type: "id",
373558
- value: this.getNamespacedTypeId(impl.name),
373559
- default: void 0
373560
- },
373561
- description: impl.description ?? void 0,
373562
- availability: void 0
373563
- }))
373564
- };
373565
- }
373566
- convertInterfaceAsObject(type7) {
373567
373713
  const fields = type7.getFields();
373568
373714
  const properties7 = Object.entries(fields).map(([fieldName, field5]) => ({
373569
373715
  key: FdrAPI_exports.PropertyKey(fieldName),
@@ -468278,7 +468424,7 @@ function getFieldPath(operation) {
468278
468424
  function getOperationName(operation) {
468279
468425
  return operation.name ?? operation.id;
468280
468426
  }
468281
- var import_url_join21, ApiReferenceNodeConverter;
468427
+ var import_url_join21, GRAPHQL_TYPE_SECTIONS, GRAPHQL_TYPES_URL_SLUG, GRAPHQL_TYPES_TITLE, ApiReferenceNodeConverter;
468282
468428
  var init_ApiReferenceNodeConverter = __esm({
468283
468429
  "../docs-resolver/lib/ApiReferenceNodeConverter.js"() {
468284
468430
  "use strict";
@@ -468300,6 +468446,16 @@ var init_ApiReferenceNodeConverter = __esm({
468300
468446
  init_stringifyEndpointPathParts();
468301
468447
  init_toPageNode();
468302
468448
  init_toRelativeFilepath();
468449
+ GRAPHQL_TYPE_SECTIONS = [
468450
+ { category: "object", title: "Objects", urlSlug: "objects" },
468451
+ { category: "input", title: "Inputs", urlSlug: "inputs" },
468452
+ { category: "enum", title: "Enums", urlSlug: "enums" },
468453
+ { category: "scalar", title: "Scalars", urlSlug: "scalars" },
468454
+ { category: "interface", title: "Interfaces", urlSlug: "interfaces" },
468455
+ { category: "union", title: "Unions", urlSlug: "unions" }
468456
+ ];
468457
+ GRAPHQL_TYPES_URL_SLUG = "types";
468458
+ GRAPHQL_TYPES_TITLE = "Types";
468303
468459
  ApiReferenceNodeConverter = class {
468304
468460
  apiSection;
468305
468461
  docsWorkspace;
@@ -468328,7 +468484,8 @@ var init_ApiReferenceNodeConverter = __esm({
468328
468484
  collectedFileIds = /* @__PURE__ */ new Map();
468329
468485
  #tagDescriptionContent;
468330
468486
  #graphqlNamespacesByOperationId;
468331
- constructor(apiSection, api2, parentSlug, docsWorkspace, taskContext, markdownFilesToFullSlugs, markdownFilesToNoIndex, markdownFilesToTags, idgen, collectedFileIds, workspace, hideChildren, parentAvailability, openApiTags, graphqlNamespacesByOperationId) {
468487
+ #graphqlTypeCategories;
468488
+ constructor(apiSection, api2, parentSlug, docsWorkspace, taskContext, markdownFilesToFullSlugs, markdownFilesToNoIndex, markdownFilesToTags, idgen, collectedFileIds, workspace, hideChildren, parentAvailability, openApiTags, graphqlNamespacesByOperationId, graphqlTypeCategories) {
468332
468489
  this.apiSection = apiSection;
468333
468490
  this.docsWorkspace = docsWorkspace;
468334
468491
  this.taskContext = taskContext;
@@ -468341,6 +468498,7 @@ var init_ApiReferenceNodeConverter = __esm({
468341
468498
  this.openApiTags = openApiTags;
468342
468499
  this.#tagDescriptionContent = /* @__PURE__ */ new Map();
468343
468500
  this.#graphqlNamespacesByOperationId = graphqlNamespacesByOperationId ?? /* @__PURE__ */ new Map();
468501
+ this.#graphqlTypeCategories = graphqlTypeCategories ?? {};
468344
468502
  this.disableEndpointPairs = docsWorkspace.config.experimental?.disableStreamToggle ?? false;
468345
468503
  this.apiDefinitionId = navigation_exports.V1.ApiDefinitionId(api2.id);
468346
468504
  this.#holder = ApiDefinitionHolder2.create(api2, taskContext);
@@ -469018,6 +469176,12 @@ ${tagInfo.description}`;
469018
469176
  const graphqlSections = this.#convertGraphQLOperationsToSections(pkg2.graphqlOperations, parentSlug, parentAvailability);
469019
469177
  additionalChildren.push(...graphqlSections);
469020
469178
  }
469179
+ if (pkg2 === this.#holder.api.rootPackage) {
469180
+ const graphqlTypesSection = this.#convertGraphQLTypesToSection(parentSlug, parentAvailability);
469181
+ if (graphqlTypesSection != null) {
469182
+ additionalChildren.push(graphqlTypesSection);
469183
+ }
469184
+ }
469021
469185
  additionalChildren = this.mergeEndpointPairs(additionalChildren);
469022
469186
  if (this.apiSection.alphabetized) {
469023
469187
  additionalChildren = additionalChildren.sort((a3, b5) => {
@@ -469154,6 +469318,116 @@ ${tagInfo.description}`;
469154
469318
  }
469155
469319
  return sections;
469156
469320
  }
469321
+ /**
469322
+ * Builds the GraphQL types navigation: a single "Types" section holding one sub-section
469323
+ * per GraphQL kind, each with one page per named type declared with that kind. Every GraphQL
469324
+ * spec in the API section contributes to this one section.
469325
+ *
469326
+ * Slugs are `<api>/types/<kind>/<type-name>`. Type IDs are already namespace-prefixed by the
469327
+ * GraphQL converter, so same-named types from two schemas get distinct slugs.
469328
+ */
469329
+ #convertGraphQLTypesToSection(parentSlug, parentAvailability) {
469330
+ const typeIdsByCategory = /* @__PURE__ */ new Map();
469331
+ for (const [typeIdRaw, category] of Object.entries(this.#graphqlTypeCategories)) {
469332
+ const typeId = FdrAPI_exports.TypeId(typeIdRaw);
469333
+ if (this.#holder.api.types[typeId] == null) {
469334
+ continue;
469335
+ }
469336
+ const existing = typeIdsByCategory.get(category);
469337
+ if (existing != null) {
469338
+ existing.push(typeId);
469339
+ } else {
469340
+ typeIdsByCategory.set(category, [typeId]);
469341
+ }
469342
+ }
469343
+ if (typeIdsByCategory.size === 0) {
469344
+ return void 0;
469345
+ }
469346
+ const typesSlug = parentSlug.append(GRAPHQL_TYPES_URL_SLUG);
469347
+ const sections = [];
469348
+ for (const { category, title: title2, urlSlug } of GRAPHQL_TYPE_SECTIONS) {
469349
+ const typeIds = typeIdsByCategory.get(category);
469350
+ if (typeIds == null || typeIds.length === 0) {
469351
+ continue;
469352
+ }
469353
+ const sectionSlug = typesSlug.append(urlSlug);
469354
+ const children2 = typeIds.map((typeId) => this.#buildGraphqlTypeChildNode(typeId, category, sectionSlug, parentAvailability)).filter(isNonNullish).sort((a3, b5) => a3.title.localeCompare(b5.title));
469355
+ if (children2.length === 0) {
469356
+ continue;
469357
+ }
469358
+ sections.push({
469359
+ id: this.#idgen.get(`${this.apiDefinitionId}:graphql:types:${category}`),
469360
+ type: "apiPackage",
469361
+ collapsed: void 0,
469362
+ children: children2,
469363
+ title: title2,
469364
+ slug: sectionSlug.get(),
469365
+ icon: void 0,
469366
+ hidden: this.hideChildren,
469367
+ overviewPageId: void 0,
469368
+ collapsible: void 0,
469369
+ collapsedByDefault: void 0,
469370
+ availability: convertDocsAvailability(parentAvailability),
469371
+ apiDefinitionId: this.apiDefinitionId,
469372
+ pointsTo: void 0,
469373
+ noindex: void 0,
469374
+ playground: void 0,
469375
+ authed: void 0,
469376
+ viewers: void 0,
469377
+ orphaned: void 0,
469378
+ featureFlags: void 0
469379
+ });
469380
+ }
469381
+ if (sections.length === 0) {
469382
+ return void 0;
469383
+ }
469384
+ return {
469385
+ id: this.#idgen.get(`${this.apiDefinitionId}:graphql:types`),
469386
+ type: "apiPackage",
469387
+ collapsed: void 0,
469388
+ children: sections,
469389
+ title: GRAPHQL_TYPES_TITLE,
469390
+ slug: typesSlug.get(),
469391
+ icon: void 0,
469392
+ hidden: this.hideChildren,
469393
+ overviewPageId: void 0,
469394
+ collapsible: void 0,
469395
+ collapsedByDefault: void 0,
469396
+ availability: convertDocsAvailability(parentAvailability),
469397
+ apiDefinitionId: this.apiDefinitionId,
469398
+ pointsTo: void 0,
469399
+ noindex: void 0,
469400
+ playground: void 0,
469401
+ authed: void 0,
469402
+ viewers: void 0,
469403
+ orphaned: void 0,
469404
+ featureFlags: void 0
469405
+ };
469406
+ }
469407
+ #buildGraphqlTypeChildNode(typeId, typeCategory, sectionSlug, parentAvailability) {
469408
+ const type7 = this.#holder.api.types[typeId];
469409
+ if (type7 == null) {
469410
+ return void 0;
469411
+ }
469412
+ const title2 = type7.displayName ?? type7.name ?? typeId;
469413
+ return {
469414
+ id: this.#idgen.get(`${this.apiDefinitionId}:graphqlType:${typeId}`),
469415
+ type: "graphqlType",
469416
+ collapsed: void 0,
469417
+ typeId: navigation_exports.TypeId(typeId),
469418
+ typeCategory,
469419
+ title: title2,
469420
+ slug: sectionSlug.append(kebabCase_default(title2)).get(),
469421
+ icon: void 0,
469422
+ hidden: this.hideChildren,
469423
+ apiDefinitionId: this.apiDefinitionId,
469424
+ availability: navigation_exports.V1.convertAvailability(type7.availability) ?? convertDocsAvailability(parentAvailability),
469425
+ authed: void 0,
469426
+ viewers: void 0,
469427
+ orphaned: void 0,
469428
+ featureFlags: void 0
469429
+ };
469430
+ }
469157
469431
  // Single source of truth for constructing a GraphQL navigation child node. Callers pass
469158
469432
  // the fields that vary; the fixed shape (type, apiDefinitionId, authed, ...) and the
469159
469433
  // availability conversion live here. Optional fields left unset serialize as `undefined`,
@@ -475544,7 +475818,7 @@ https://buildwithfern.com/learn/docs/getting-started/project-structure#api-defin
475544
475818
  graphqlOperations: graphqlData.operations,
475545
475819
  graphqlTypes: graphqlData.types
475546
475820
  });
475547
- const node4 = new ApiReferenceNodeConverter(item, api2, parentSlug, this.docsWorkspace, this.taskContext, this.markdownFilesToFullSlugs, this.markdownFilesToNoIndex, this.markdownFilesToTags, this.#idgen, this.collectedFileIds, workspace, hideChildren, parentAvailability ?? item.availability, openApiTags, graphqlData.namespacesByOperationId);
475821
+ const node4 = new ApiReferenceNodeConverter(item, api2, parentSlug, this.docsWorkspace, this.taskContext, this.markdownFilesToFullSlugs, this.markdownFilesToNoIndex, this.markdownFilesToTags, this.#idgen, this.collectedFileIds, workspace, hideChildren, parentAvailability ?? item.availability, openApiTags, graphqlData.namespacesByOperationId, graphqlData.typeCategories);
475548
475822
  const tagDescriptionContent = node4.getTagDescriptionContent();
475549
475823
  for (const [absolutePath, content5] of tagDescriptionContent.entries()) {
475550
475824
  const filename = absolutePath.split("/").pop() || absolutePath;
@@ -475606,8 +475880,9 @@ https://buildwithfern.com/learn/docs/getting-started/project-structure#api-defin
475606
475880
  const graphqlOperations = {};
475607
475881
  const graphqlTypes = {};
475608
475882
  const namespacesByOperationId = /* @__PURE__ */ new Map();
475883
+ const typeCategories = {};
475609
475884
  if (workspace == null) {
475610
- return { operations: graphqlOperations, types: graphqlTypes, namespacesByOperationId };
475885
+ return { operations: graphqlOperations, types: graphqlTypes, namespacesByOperationId, typeCategories };
475611
475886
  }
475612
475887
  const graphqlSpecs = workspace.allSpecs.filter((spec) => spec.type === "graphql");
475613
475888
  for (const [, specs] of groupGraphQLSpecsByNamespace(graphqlSpecs)) {
@@ -475624,6 +475899,7 @@ https://buildwithfern.com/learn/docs/getting-started/project-structure#api-defin
475624
475899
  const graphqlResult = await converter.convert();
475625
475900
  Object.assign(graphqlOperations, graphqlResult.graphqlOperations);
475626
475901
  Object.assign(graphqlTypes, graphqlResult.types);
475902
+ Object.assign(typeCategories, graphqlResult.typeCategories);
475627
475903
  if (namespace) {
475628
475904
  for (const operationId of Object.keys(graphqlResult.graphqlOperations)) {
475629
475905
  namespacesByOperationId.set(FdrAPI_exports.GraphQlOperationId(operationId), namespace);
@@ -475633,7 +475909,7 @@ https://buildwithfern.com/learn/docs/getting-started/project-structure#api-defin
475633
475909
  this.taskContext.logger.error(`Failed to process GraphQL spec(s) ${filePaths.join(", ")}:`, extractErrorMessage(error50));
475634
475910
  }
475635
475911
  }
475636
- return { operations: graphqlOperations, types: graphqlTypes, namespacesByOperationId };
475912
+ return { operations: graphqlOperations, types: graphqlTypes, namespacesByOperationId, typeCategories };
475637
475913
  }
475638
475914
  async loadGraphQlExamples(absoluteFilepathToExamples) {
475639
475915
  if (absoluteFilepathToExamples == null) {
@@ -608485,7 +608761,7 @@ var require_dist25 = __commonJS({
608485
608761
  }
608486
608762
  });
608487
608763
 
608488
- // ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.96-8e5f0d55dd_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/orpc-client.mjs
608764
+ // ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.102-07ddc01b9b_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/orpc-client.mjs
608489
608765
  var orpc_client_exports = {};
608490
608766
  __export(orpc_client_exports, {
608491
608767
  AlgoliaDomainInputSchema: () => AlgoliaDomainInputSchema2,
@@ -608799,6 +609075,7 @@ __export(orpc_client_exports, {
608799
609075
  LedgerConfigSchema: () => LedgerConfigSchema2,
608800
609076
  LedgerFileArtifactMetadataSchema: () => LedgerFileArtifactMetadataSchema2,
608801
609077
  LedgerGraphQlMetadataSchema: () => LedgerGraphQlMetadataSchema2,
609078
+ LedgerGraphQlTypeMetadataSchema: () => LedgerGraphQlTypeMetadataSchema2,
608802
609079
  LedgerGrpcMetadataSchema: () => LedgerGrpcMetadataSchema2,
608803
609080
  LedgerLinkMetadataSchema: () => LedgerLinkMetadataSchema2,
608804
609081
  LedgerLocaleIndexSchema: () => LedgerLocaleIndexSchema,
@@ -609820,9 +610097,9 @@ function isFernFileRef(value2) {
609820
610097
  const hash5 = value2[FERN_FILE_REF_KEY];
609821
610098
  return typeof hash5 === "string" && SHA256_RE.test(hash5);
609822
610099
  }
609823
- var OrgIdSchema3, ApiIdSchema2, ApiDefinitionIdSchema3, HttpMethodSchema4, HttpMethod46, UrlSchema3, EndpointPathLiteralSchema2, EndpointIdentifierSchema2, SdkRequestSchema2, DocsConfigIdSchema3, GrpcIdSchema2, PageIdSchema3, RoleIdSchema3, TokenIdSchema2, VersionIdSchema3, LinkTarget2, GrpcMethod2, Availability21, SupportedLanguage2, HttpSnippetLanguage5, SnippetsByEndpointMethodSchema2, SdkSchema2, TypeIdSchema2, EndpointIdSchema3, WebSocketIdSchema3, WebhookIdSchema3, GraphQlOperationIdSchema2, GraphQlTypeCategorySchema2, EnvironmentIdSchema2, PropertyKeySchema2, AuthSchemeIdSchema2, SubpackageIdSchema3, WebSocketMessageIdSchema2, FileIdSchema3, MultipleAuthTypeSchema2, GrpcMethodSchema2, AvailabilitySchema5, WebSocketMessageOriginSchema2, WebhookHttpMethodSchema2, WithDescriptionSchema2, WithAvailabilitySchema2, EnvironmentSchema5, RestProtocolSchema2, OpenRpcProtocolSchema2, GrpcProtocolSchema2, ProtocolSchema2, ObjectPropertyAccessSchema2, TypeReferenceIdDefaultSchema2, _numberNullish2, _numberIntNullish2, coercedNumberNullish2, coercedNumberIntNullish2, IntegerTypeSchema2, DoubleTypeSchema2, StringTypeSchema2, LongTypeSchema2, _booleanNullish2, BooleanTypeSchema2, DatetimeTypeSchema2, UuidTypeSchema2, Base64TypeSchema2, DateTypeSchema2, BigIntegerTypeSchema2, UintTypeSchema2, Uint64TypeSchema2, ScalarTypeSchema2, PrimitiveTypeSchema2, LiteralTypeSchema2, TypeReferenceSchema3, GraphQlArgumentSchema2, ObjectPropertySchema3, ObjectTypeSchema2, EnumValueSchema3, EnumTypeSchema2, DiscriminatedUnionVariantSchema2, DiscriminatedUnionTypeSchema2, ContentTypeSchema2, FilePropertySingleSchema2, FilePropertyArraySchema2, FormDataFilePropertySchema2, FormDataBodyPropertySchema2, FormDataPropertySchema2, FormDataRequestSchema2, EndpointPathPartSchema2, PathParameterSchema2, EndpointPathSchema2, QueryParameterSchema2, HeaderSchema3, JsonBodyShapeSchema2, FileDownloadResponseBodyShapeSchema2, StreamResponseV2Schema2, StreamConditionSchema2, FilenameWithDataSchema2, FormValueSchema2, BytesValueSchema2, ExampleEndpointRequestSchema2, ExampleServerSentEventSchema2, ExampleEndpointResponseSchema2, ErrorDeclarationSchema3, ExampleErrorResponseSchema2, ErrorExampleSchema2, GraphQlOperationTypeSchema2, GraphQlExampleSchema2, CodeSnippetSchema2, GraphQlOperationSchema2, WebhookPayloadShapeSchema2, WebhookPayloadSchema3, ExampleWebhookPayloadSchema2, WebSocketMessageBodyShapeSchema2, WebSocketMessageSchema2, ExampleWebSocketMessageSchema2, ExampleWebSocketSessionSchema2, ApiNavigationConfigItemSchema5, ApiNavigationConfigRootSchema5, BearerAuthSchema2, BasicAuthSchema2, HeaderAuthSchema2, OAuthClientCredentialsReferencedEndpointSchema2, OAuthClientCredentialsSchema2, OAuthSchema2, ApiAuthSchema4, JqStringSchema2, RegisterLanguageSchema2, RegisterUndiscriminatedUnionVariantSchema2, RegisterUndiscriminatedUnionTypeSchema2, RegisterTypeShapeSchema2, RegisterTypeDefinitionSchema2, RegisterBytesRequestSchema2, RegisterJsonRequestBodySchema2, RegisterHttpRequestBodyShapeSchema2, RegisterHttpRequestSchema2, RegisterHttpRequestsV2Schema2, RegisterCustomCodeSampleSchema2, RegisterExampleEndpointCallSchema2, RegisterNonStreamResponseSchema2, RegisterStreamResponseSchema2, RegisterStreamConditionResponseSchema2, RegisterHttpResponseBodyShapeSchema2, RegisterHttpResponseSchema2, RegisterHttpResponsesV2Schema2, RegisterErrorDeclarationV2Schema2, RegisterEndpointDefinitionSchema2, RegisterWebhookDefinitionSchema2, RegisterWebSocketChannelSchema2, SourceIdSchema2, SourceSchema3, SourceUploadSchema2, DynamicIRSchema2, DynamicIRUploadSchema2, TypescriptPackageSchema2, PythonPackageSchema2, GoModuleSchema2, JavaCoordinateSchema2, RubyGemSchema2, NugetPackageSchema2, ComposerPackageSchema2, SwiftPackageSchema2, CratesPackageSchema2, SnippetsConfigSchema2, RegisterApiDefinitionPackageSchema2, RegisterApiDefinitionSubpackageSchema2, RegisterApiDefinitionSchema2, RegisterApiDefinitionResponseSchema2, SnippetInfoSchema2, SdkDynamicIrDownloadSchema2, GetSdkDynamicIrUploadUrlsResponseSchema2, CheckSdkDynamicIrExistsResponseSchema2, EndpointExampleGenerationErrorBodySchema2, PathPartSchema2, WithNamespaceSchema2, LatestAuthSchemeSchema2, LatestObjectPropertyAccessSchema2, LatestTypeReferenceIdDefaultSchema2, LatestPrimitiveTypeSchema2, LatestLiteralTypeSchema2, LatestUnknownTypeSchema2, LatestEnumValueSchema2, LatestEnumTypeSchema2, LatestObjectPropertySchema2, LatestParameterPropertySchema2, LatestObjectTypeSchema2, LatestUndiscriminatedUnionVariantSchema2, LatestUndiscriminatedUnionTypeSchema2, LatestDiscriminatedUnionVariantSchema2, LatestDiscriminatedUnionTypeSchema2, LatestTypeShapeSchema2, LatestTypeReferenceSchema2, LatestTypeDefinitionSchema2, LatestContentTypeSchema2, LatestBytesRequestSchema2, LatestFormDataPropertySchema2, LatestFormDataRequestSchema2, LatestNullableTypeSchema2, LatestOptionalTypeSchema2, LatestListTypeSchema2, LatestSetTypeSchema2, LatestMapTypeSchema2, LatestLanguageSchema2, LatestExampleEndpointRequestSchema2, LatestExampleEndpointResponseSchema2, LatestExampleErrorResponseSchema2, LatestHttpRequestBodyShapeSchema2, LatestHttpRequestSchema2, LatestFileDownloadResponseBodyShapeSchema2, LatestStreamResponseSchema2, LatestHttpResponseBodyShapeSchema2, LatestHttpResponseSchema2, LatestErrorExampleSchema2, LatestErrorResponseSchema2, LatestCodeSnippetSchema2, LatestExampleEndpointCallSchema2, LatestEndpointDefinitionSchema2, LatestGraphQlOperationTypeSchema2, LatestGraphQlArgumentSchema2, LatestGraphQlExampleSchema2, LatestGraphQlOperationSchema2, LatestWebhookPayloadShapeSchema2, LatestWebhookPayloadSchema2, LatestExampleWebhookPayloadSchema2, LatestWebhookDefinitionSchema2, LatestWebSocketMessageSchema2, LatestExampleWebSocketMessageSchema2, LatestExampleWebSocketSessionSchema2, LatestWebSocketChannelSchema2, LatestSubpackageMetadataSchema2, LatestApiDefinitionSchema2, ApiDefinitionSchema4, ReadUndiscriminatedUnionVariantSchema2, ReadUndiscriminatedUnionTypeSchema2, ReadTypeShapeSchema2, ReadTypeDefinitionSchema2, ReadBytesRequestSchema2, ReadHttpRequestBodyShapeSchema2, ReadHttpRequestSchema2, ReadHttpRequestsV2Schema2, ReadSupportedLanguageSchema2, ReadLanguageSchema2, ReadCustomCodeSampleSchema2, ReadPythonSnippetSchema2, ReadTypescriptSnippetSchema2, ReadGoSnippetSchema2, ReadRubySnippetSchema2, ReadCsharpSnippetSchema2, ReadCodeExamplesSchema2, ReadExampleEndpointCallSchema2, ReadNonStreamResponseSchema2, ReadStreamResponseSchema2, ReadStreamConditionResponseSchema2, ReadHttpResponseBodyShapeSchema2, ReadHttpResponseSchema2, ReadHttpResponsesV2Schema2, ReadErrorDeclarationV2Schema2, ReadEndpointDefinitionSchema2, ReadWebhookDefinitionSchema2, ReadWebSocketChannelSchema2, ReadApiDefinitionPackageSchema2, ReadApiDefinitionSubpackageSchema2, ReadApiDefinitionSchema2, apiLatestContract2, apiReadContract2, apiRegisterContract2, EndpointSnippetTemplatesSchema2, DbHttpRequestSchema2, DbHttpRequestsV2Schema2, DbEndpointDefinitionSchema2, DbApiDefinitionPackageSchema2, DbApiDefinitionSubpackageSchema2, DbApiDefinitionSchema2, DbEndpointWithContextSchema2, DocsDeploymentStatusSchema2, DocsSiteSchema2, DocsDeploymentSchema2, RegisterDocsSiteInputSchema2, GetPostmanCollectionIdInputSchema2, GetDocsStatusInputSchema2, SetDocsStatusInputSchema2, CreateDeploymentInputSchema2, UpdateDeploymentStatusInputSchema2, GetDocsDeploymentsInputSchema2, UnlockDeployInputSchema2, GetDocsStatusResponseSchema2, GetDocsDeploymentsResponseSchema2, CreateDeploymentResponseSchema2, UpdateDeploymentStatusResponseSchema2, GetPostmanCollectionIdResponseSchema2, UnlockDeployResponseSchema2, GetDocsSitesByCollectionIdInputSchema2, FindSiteByOrgAndCollectionInputSchema2, FindSiteByOrgAndCollectionResponseSchema2, RecordPostmanNotificationInputSchema2, RecordPostmanNotificationResponseSchema2, GetUnnotifiedPostmanSitesResponseSchema2, GetDocsSitesByCollectionIdResponseSchema2, DeleteDocsSiteByServiceInputSchema2, DeleteDocsSiteByServiceResponseSchema2, SetEditorRepoUrlInputSchema2, docsDeploymentContract2, DocsSiteUrlSchema2, DashboardDocsSiteSchema2, GetDocsSitesForOrgInputSchema2, GetDocsSitesForOrgResponseSchema2, IsDocsSiteInOrgInputSchema2, IsDocsSiteInOrgResponseSchema2, DeleteAllDocsSitesForOrgInputSchema2, DeleteAllDocsSitesForOrgResponseSchema2, dashboardContract2, DashboardAnalyticsCommonInputSchema2, DashboardFeedbackInputSchema2, DashboardListOrgMembersInputSchema2, DashboardGetSiteConfigInputSchema2, AuthorizeDocsEditResponseSchema2, AnalyticsMetricSchema2, AnalyticsDimensionSchema2, AnalyticsGranularitySchema2, AnalyticsFilterFieldSchema2, AnalyticsFilterOpSchema2, AnalyticsFilterSchema2, AnalyticsOrderBySchema2, AnalyticsDateRangeSchema2, QueryAnalyticsInputSchema2, ResolvedDateRangeSchema2, AnalyticsSourceSchema2, LlmBotTrafficResponseSchema2, RecentFeedbackResponseSchema2, QueryAnalyticsResponseSchema2, OrgMembersResponseSchema2, SiteGitRepositorySchema2, SiteConfigResponseSchema2, SitePasswordProtectionSchema2, SiteSettingsResponseSchema2, dashboardAgentContract2, FileIdSchema22, PageIdSchema22, UrlSchema22, VersionIdSchema22, ApiDefinitionIdSchema22, EndpointIdSchema22, WebSocketIdSchema22, WebhookIdSchema22, RoleIdSchema22, SubpackageIdSchema22, LinkTargetSchema3, AvailabilitySchema23, RgbaColorSchema2, FileIdOrUrlSchema2, LanguageSchema2, Bcp47LocaleSchema3, DocsTranslationsConfigSchema2, ProgrammingLanguageSchema2, AnnouncementConfigSchema3, SegmentConfigSchema2, FullStoryAnalyticsConfigSchema2, IntercomConfigSchema3, PostHogConfigSchema2, GTMConfigSchema2, GoogleAnalytics4ConfigSchema2, AmplitudeConfigSchema2, MixpanelConfigSchema2, HotJarConfigSchema2, KoalaConfigSchema2, LogRocketConfigSchema2, PirschConfigSchema2, PlausibleConfigSchema2, FathomConfigSchema2, ClearBitConfigSchema2, HeapConfigSchema2, AnalyticsConfigSchema3, SearchbarPlacementSchema2, TabsPlacementSchema2, SwitcherPlacementSchema2, ContentAlignmentSchema2, HeaderPositionSchema2, PageWidthSizeConfigSchema2, SizeConfigSchema2, TabsAlignmentSchema2, ChangelogLayoutSchema2, DocsLayoutConfigSchema2, FooterNavConfigSchema2, DocsSidebarConfigSchema2, DocsBodyConfigSchema2, DocsTabsStyleSchema2, DocsTabsObjectConfigSchema2, DocsTabsConfigSchema2, DocsPageActionsConfigSchema2, LanguageSwitcherConfigSchema2, ProductSwitcherConfigSchema2, DocsThemeConfigSchema2, HttpSnippetLanguageSchema2, HttpSnippetsConfigSchema2, SearchSettingsConfigSchema2, DocsSettingsConfigSchema3, TwitterCardSettingSchema3, MetadataConfigSchema3, RedirectConfigSchema3, WithPermissionsSchema2, NavbarLinkMetadataSchema2, NavbarGithubMetadataSchema2, NavbarLinkDropdownMetadataSchema2, NavbarLinkSchema3, FooterLinkSchema2, CssConfigSchema3, JsScriptStrategySchema2, JsRemoteConfigSchema2, JsFileConfigSchema2, JsConfigSchema3, IntegrationsConfigSchema3, FontStyleSchema2, FontDisplaySchema2, CustomFontConfigVariantSchema2, CustomFontConfigSchema2, FontConfigV2Schema2, DocsTypographyConfigV2Schema2, ThemedFileIdSchema2, ColorsConfigSchema2, ColorUnthemedConfigSchema2, ColorThemedConfigSchema2, ColorConfigSchema2, ColorsConfigV2Schema2, FontConfigSchema2, DocsTypographyConfigSchema2, EditThisPageLaunchSchema2, AIChatLocationSchema2, AIChatWebsiteDatasourceSchema2, AIChatDatasourceSchema2, AIModelSchema2, AIChatConfigSchema2, PageDescriptionSourceSchema2, AgentsConfigSchema2, PageActionOptionSchema2, CustomPageActionSchema2, SkillSchema2, SkillsConfigSchema2, PageActionOptionsSchema2, PageActionsConfigSchema3, HeightSchema3, PageContentSchema3, NavigationNodeMetadataSchema3, PageMetadataSchema3, LinkMetadataSchema3, NavigationTabLinkSchema3, ChangelogItemSchema3, ChangelogSectionSchema3, ChangelogSectionV3Schema3, ApiSectionV2Schema3, GitHubRepoSchema2, NpmPackageSchema3, MavenPackageSchema3, PypiPackageSchema3, PublishedSdkSchema3, PublishedPostmanCollectionSchema3, ApiArtifactsSchema3, ApiNavigationConfigItemSchema22, ApiNavigationConfigRootSchema22, DocsConfigIdSchema22, UrlFileSchema2, ImageFileSchema2, FileSchema3, BackgroundSchema3, ThemeConfigSchema5, DarkAndLightModeConfigSchema4, ColorsConfigV3Schema4, ApiNavigationConfigRootSchema32, ApiSectionSchema4, DocsSectionSchema4, NavigationItemSchema4, NavigationTabGroupSchema4, NavigationTabSchema4, UnversionedTabbedNavigationConfigSchema4, UnversionedUntabbedNavigationConfigSchema4, UnversionedNavigationConfigSchema4, VersionedNavigationConfigDataSchema4, VersionedNavigationConfigSchema4, NavigationConfigSchema5, DocsConfigSchema3, DocsDefinitionSchema3, BaseUrlSchema2, LoadDocsForUrlResponseSchema2, GetDocsForDomainLegacyInputSchema2, GetDocsForDomainInputSchema2, docsV1ReadContract2, MAX_DOXYFILE_CONTENT_LENGTH2, SETTING_LINE_RE2, AT_DIRECTIVE_RE2, BOOL_RE2, FILE_PATTERN_RE2, PREDEFINED_RE2, ALIAS_DEF_RE2, DOXYFILE_ALLOWED_KEYS2, ALLOWED_HOSTNAMES2, GithubUrlSchema2, SafeBranchSchema2, SafePackagePathSchema2, LibraryDocsBaseConfigSchema2, PythonLibraryDocsConfigSchema2, SafeDoxyfileContentSchema2, CppLibraryDocsConfigSchema2, StartLibraryDocsGenerationInputSchema2, StartLibraryDocsGenerationResponseSchema2, GetLibraryDocsStatusInputSchema2, LibraryDocsResultSchema2, LibraryDocsGenerationStatusSchema2, libraryDocsContract2, GetOrganizationForUrlInputSchema2, organizationContract2, GetDocsUrlMetadataInputSchema2, GetDocsUrlMetadataResponseSchema2, GetDocsForUrlInputSchema2, GetPrivateDocsForUrlInputSchema2, ListAllDocsUrlsInputSchema2, GetDocsConfigByIdInputSchema2, GetSiteMetricsInputSchema2, SiteMetricsSchema2, DocsDefinitionField2, GetDocsConfigByIdResponseSchema2, DocsDomainItemSchema2, ListAllDocsUrlsResponseSchema2, getDocsForUrl2, docsV2ReadContract2, OrgIdSchema22, FilePathSchema3, DocsRegistrationIdSchema2, HeightSchema22, FileS3UploadUrlSchema2, StartDocsRegisterResponseSchema2, PageContentSchema22, NavigationNodeMetadataSchema22, PageMetadataSchema22, LinkMetadataSchema22, ChangelogItemSchema22, ChangelogSectionSchema22, ChangelogSectionV2Schema2, ChangelogSectionV3Schema22, NavigationTabLinkSchema22, ApiNavigationConfigItemSchema32, ApiNavigationConfigSubpackageSchema2, ApiNavigationConfigRootSchema42, ApiSectionSchema22, ApiSectionV2Schema22, DocsSectionSchema22, NavigationItemSchema22, NavigationTabGroupSchema22, NavigationTabSchema22, NavigationTabV2Schema3, UnversionedTabbedNavigationConfigSchema22, UnversionedUntabbedNavigationConfigSchema22, UnversionedNavigationConfigSchema22, VersionedNavigationConfigDataSchema22, VersionedNavigationConfigSchema22, NavigationConfigSchema22, ThemeConfigSchema22, DarkAndLightModeConfigSchema22, ColorsConfigV3Schema22, DocsConfigSchema22, DocsDefinitionSchema22, NpmPackageSchema22, MavenPackageSchema22, PypiPackageSchema22, PublishedSdkSchema22, PublishedPostmanCollectionSchema22, ApiArtifactsSchema22, InvalidCustomDomainErrorBodySchema2, OverlappingCustomDomainsSchema2, FilePathSchema22, FilePathInputSchema2, ImageFilePathSchema2, AuthConfigSchema2, StartDocsRegisterV2InputSchema2, StartDocsRegisterV2ResponseSchema2, StartDocsPreviewRegisterInputSchema2, StartDocsPreviewRegisterResponseSchema2, FinishDocsRegisterV2InputSchema2, TransferOwnershipInputSchema2, SetIsArchivedInputSchema2, SetDocsUrlMetadataInputSchema2, AlgoliaDomainInputSchema2, ListAlgoliaPreviewWhitelistResponseSchema2, DeleteDocsSiteInputSchema2, RemoveCustomDomainAliasInputSchema2, Bcp47LocaleSchema22, RegisterTranslationInputSchema2, RegisterTranslationResponseSchema2, docsV2WriteContract2, InvalidateCachedDocsInputSchema2, docsCacheContract2, MissingContentSchema2, RegisterResponseSchema2, FinishResponseSchema2, ArchiveSiteInputSchema2, ArchiveSiteResponseSchema2, BlobRefSchema2, PageBlobRefSchema2, FileManifestEntrySchema2, ImageRefSchema2, PathOrUrlSchema2, RgbaSchema2, BackgroundColorSchema2, ACCENT_SCALE_KEYS2, accentScaleShape2, LedgerThemeConfigSchema2, LedgerColorsConfigSchema2, LedgerFontVariantSchema2, LedgerFontConfigSchema2, LedgerTypographySchema2, LedgerJsFileSchema2, LedgerJsConfigSchema2, LedgerMetadataConfigSchema2, NavbarLinksFieldSchema2, FooterLinksFieldSchema2, LayoutFieldSchema2, ThemeFieldSchema2, SettingsFieldSchema2, AnalyticsFieldSchema2, AIChatFieldSchema2, PageActionsFieldSchema2, LedgerAgentsConfigSchema2, LedgerConfigSchema2, MetadataStringArraySchema2, FeatureFlagMetadataSchema2, LinkTargetSchema22, CollapsedSchema2, PlaygroundSettingsSchema3, LedgerAvailabilitySchema2, LedgerArtifactTypeSchema2, LedgerMetadataBaseSchema2, NodeMetadataFields2, ApiNodeMetadataFields2, LedgerSegmentDetailMetadataObjectSchema2, LedgerSegmentDetailMetadataSchema2, LedgerSegmentMetadataObjectSchema2, LedgerSegmentMetadataSchema2, LedgerMarkdownMetadataSchema2, LedgerRestMetadataSchema2, LedgerWebSocketMetadataSchema2, LedgerWebhookMetadataSchema2, LedgerGrpcMetadataSchema2, LedgerGraphQlMetadataSchema2, LedgerChangelogEntryMetadataSchema2, LedgerLinkMetadataSchema2, LedgerFileArtifactMetadataSchema2, LedgerStructuralRedirectKindSchema2, LedgerRedirectKindSchema2, LedgerRedirectMetadataSchema2, LedgerArtifactMetadataSchema2, LEDGER_ARTIFACT_METADATA_SCHEMAS2, NavRouteBaseSchema2, LedgerNavRouteSchema2, DocsPublishGitInputSchema2, DocsContentFieldsSchema2, LocaleEntrySchemaInternal2, LocaleEntrySchema2, DocsPublishInputSchemaInternal2, DocsPublishInputSchema2, LedgerPreviewRegisterInputSchemaInternal2, LedgerPreviewRegisterInputSchema2, LedgerPreviewRegisterResponseSchema2, docsLedgerContract2, CurrentVersionInputSchema2, CurrentPreviewInputSchema2, CurrentVersionResponseSchema2, ContentRefSchema2, SegmentDetailSchema2, SegmentSchema2, VersionMetadataInputSchema2, VersionMetadataResponseSchema2, PageContentInputSchema2, PageContentResponseSchema2, BatchPageContentInputSchema2, BatchPageContentItemSchema2, BatchPageContentResponseSchema2, NavInputSchema2, NavResponseSchema2, RouteContextInputSchema2, RouteContextResponseBaseSchema2, RouteContextResponseSchema2, TopLevelNavigationInputSchema2, TopLevelNavigationResponseSchema2, VersionSwitchTargetsInputSchema2, VersionSwitchTargetSchema2, VersionSwitchTargetsResponseSchema2, ApiDefinitionInputSchema2, ApiDefinitionResponseSchema2, PrunedApiDefinitionInputSchema2, PrunedApiDefinitionResponseSchema2, FileArtifactInputSchema2, FileArtifactResponseSchema2, PresignedFileDownloadInputSchema2, PresignedFileDownloadResponseSchema2, FileMetadataInputSchema2, FileMetadataResponseSchema2, docsLedgerReadContract2, GetSnapshotInputSchema2, SetSnapshotInputSchema2, GetDocumentsForBranchesInputSchema2, EditorDocumentSchema2, GetSnapshotResponseSchema2, GetDocumentsForBranchesResponseSchema2, editorSnapshotContract2, GeneratorLanguage, ReleaseType, GeneratorLanguageSchema2, ScriptSchema2, GeneratorScriptsSchema2, GeneratorTypeSchema2, ChangelogEntryTypeSchema2, ChangelogEntrySchema2, YankSchema2, ReleaseTypeSchema2, VersionRangeSchema2, GeneratorSchema2, GeneratorOutputSchema3, GetGeneratorByImageInputSchema2, GetGeneratorInputSchema2, GeneratorReleaseSchema2, GeneratorReleaseRequestSchema2, GetLatestGeneratorReleaseInputSchema2, GetGeneratorChangelogInputSchema2, ChangelogResponseSchema2, GetChangelogResponseSchema2, GetGeneratorReleaseInputSchema2, ListGeneratorReleasesInputSchema2, ListGeneratorReleasesResponseSchema2, CliReleaseSchema2, GetLatestCliReleaseInputSchema2, GetCliChangelogInputSchema2, GetMinCliForIrInputSchema2, UpsertCliReleaseInputSchema2, GetCliReleaseInputSchema2, ListCliReleasesInputSchema2, ListCliReleasesResponseSchema2, generatorsContract2, generatorVersionsContract2, generatorCliContract2, CheckRunSchema2, GithubRepositoryIdSchema2, RepositoryIdSchema2, BaseRepositorySchema2, SdkRepositorySchema2, FernConfigRepositorySchema2, FernRepositorySchema2, GithubUserSchema2, GithubTeamSchema2, PullRequestReviewerSchema2, PullRequestStateSchema2, PullRequestState, PullRequestSchema2, ListRepositoriesResponseSchema2, ListPullRequestsResponseSchema2, GetRepositoryInputSchema2, ListRepositoriesInputSchema2, DeleteRepositoryInputSchema2, GetPullRequestInputSchema2, ListPullRequestsInputSchema2, DeletePullRequestInputSchema2, gitContract2, PdfExportScopeSchema2, PdfExportOptionsV1Schema2, PdfExportOptionsSchema2, PdfExportTaskStatusSchema2, PdfExportTaskSchema2, ListPdfExportTasksResponseSchema2, PdfExportDownloadResponseSchema2, CreatePdfExportTaskInputSchema2, ListPdfExportTasksInputSchema2, GetPdfExportTaskInputSchema2, UpdatePdfExportTaskInputSchema2, GetPdfExportDownloadUrlInputSchema2, CleanupPdfExportsResponseSchema2, pdfExportContract2, LanguageEnumSchema2, VersionBumpEnumSchema2, ComputeSemanticVersionInputSchema2, ComputeSemanticVersionOutputSchema2, sdksContract2, SlugsInputSchema2, SlugEntrySchema2, MarkdownEntrySchema2, GetSlugEntriesResponseSchema2, GetMarkdownEntriesResponseSchema2, slugsContract2, TypeScriptSdkSchema2, PythonSdkSchema2, GoSdkSchema2, RubySdkSchema2, JavaSdkSchema2, CsharpSdkSchema2, BaseSnippetCreateSchema2, SdkSnippetsCreateSchema2, snippetsFactoryContract2, ParameterPayloadSchema2, AuthPayloadSchema2, CustomSnippetPayloadSchema2, snippetsContract2, SnippetRegistryEntrySchema2, RegisterInputSchema2, RegisterBatchInputSchema2, GetInputSchema2, EndpointSnippetTemplateSchema2, templatesContract2, GenerateTokenInputSchema2, RevokeTokenInputSchema2, GenerateTokenOutputSchema2, tokensContract2, StartDocsRegisterV1InputSchema, StartDocsRegisterV1ResponseSchema, FinishDocsRegisterV1InputSchema, docsV1WriteContract, PATH_OR_URL_METADATA_KEYS, LogoViewSchema, ThemeViewSchema, ColorsViewSchema, FontViewSchema, TypographyViewSchema, JsFileViewSchema, MetadataFileRefViewSchema, ConfigViewSchema, NAV_ICON_FILE_PREFIX, FileTokenTreeSchema, ConfigFileTokenViewSchema, SegmentDetailIconViewSchema, SegmentIconViewSchema, LEDGER_MANIFEST_SCHEMA_VERSION, LEDGER_SHARD_SCHEMA_VERSION, ManifestBlobRefSchema, ManifestSegmentSchema, ManifestNavRouteSchema, ManifestRouteBaseSchema, ManifestRouteSchema, ManifestPageSchema, ManifestApiDefSchema, ManifestFileSchema, LedgerShardFileSchema, LedgerConfigBlobSchema, LedgerChromeBlobSchema, LedgerSidebarBundleSchema, LedgerSidebarMapEntrySchema, LedgerLocaleIndexSchema, LedgerRouteShardSchema, LedgerPagesBlobSchema, LedgerPointerSegmentSchema, LedgerLocaleRoutingSchema, LedgerManifestSchema, LedgerSiteArtifactSchema, PutContentInputSchema, PutContentResponseSchema, PutFileInputSchema, FileResponseSchema, contentContract, filesContract, SEMVER_RE, UpsertOrgConfigBodySchema, OrgConfigResponseSchema, FERN_FILE_REF_KEY, SHA256_RE, THEME_NAME_RE, ThemeResponseSchema, ThemeListItemSchema, ThemeListResponseSchema, UpsertThemeBodySchema;
610100
+ var OrgIdSchema3, ApiIdSchema2, ApiDefinitionIdSchema3, HttpMethodSchema4, HttpMethod46, UrlSchema3, EndpointPathLiteralSchema2, EndpointIdentifierSchema2, SdkRequestSchema2, DocsConfigIdSchema3, GrpcIdSchema2, PageIdSchema3, RoleIdSchema3, TokenIdSchema2, VersionIdSchema3, LinkTarget2, GrpcMethod2, Availability21, SupportedLanguage2, HttpSnippetLanguage5, SnippetsByEndpointMethodSchema2, SdkSchema2, TypeIdSchema2, EndpointIdSchema3, WebSocketIdSchema3, WebhookIdSchema3, GraphQlOperationIdSchema2, GraphQlTypeCategorySchema2, EnvironmentIdSchema2, PropertyKeySchema2, AuthSchemeIdSchema2, SubpackageIdSchema3, WebSocketMessageIdSchema2, FileIdSchema3, MultipleAuthTypeSchema2, GrpcMethodSchema2, AvailabilitySchema5, WebSocketMessageOriginSchema2, WebhookHttpMethodSchema2, WithDescriptionSchema2, WithAvailabilitySchema2, EnvironmentSchema5, RestProtocolSchema2, OpenRpcProtocolSchema2, GrpcProtocolSchema2, ProtocolSchema2, ObjectPropertyAccessSchema2, TypeReferenceIdDefaultSchema2, _numberNullish2, _numberIntNullish2, coercedNumberNullish2, coercedNumberIntNullish2, IntegerTypeSchema2, DoubleTypeSchema2, StringTypeSchema2, LongTypeSchema2, _booleanNullish2, BooleanTypeSchema2, DatetimeTypeSchema2, UuidTypeSchema2, Base64TypeSchema2, DateTypeSchema2, BigIntegerTypeSchema2, UintTypeSchema2, Uint64TypeSchema2, ScalarTypeSchema2, PrimitiveTypeSchema2, LiteralTypeSchema2, TypeReferenceSchema3, GraphQlArgumentSchema2, ObjectPropertySchema3, ObjectTypeSchema2, EnumValueSchema3, EnumTypeSchema2, DiscriminatedUnionVariantSchema2, DiscriminatedUnionTypeSchema2, ContentTypeSchema2, FilePropertySingleSchema2, FilePropertyArraySchema2, FormDataFilePropertySchema2, FormDataBodyPropertySchema2, FormDataPropertySchema2, FormDataRequestSchema2, EndpointPathPartSchema2, PathParameterSchema2, EndpointPathSchema2, QueryParameterSchema2, HeaderSchema3, JsonBodyShapeSchema2, FileDownloadResponseBodyShapeSchema2, StreamResponseV2Schema2, StreamConditionSchema2, FilenameWithDataSchema2, FormValueSchema2, BytesValueSchema2, ExampleEndpointRequestSchema2, ExampleServerSentEventSchema2, ExampleEndpointResponseSchema2, ErrorDeclarationSchema3, ExampleErrorResponseSchema2, ErrorExampleSchema2, GraphQlOperationTypeSchema2, GraphQlExampleSchema2, CodeSnippetSchema2, GraphQlOperationSchema2, WebhookPayloadShapeSchema2, WebhookPayloadSchema3, ExampleWebhookPayloadSchema2, WebSocketMessageBodyShapeSchema2, WebSocketMessageSchema2, ExampleWebSocketMessageSchema2, ExampleWebSocketSessionSchema2, ApiNavigationConfigItemSchema5, ApiNavigationConfigRootSchema5, BearerAuthSchema2, BasicAuthSchema2, HeaderAuthSchema2, OAuthClientCredentialsReferencedEndpointSchema2, OAuthClientCredentialsSchema2, OAuthSchema2, ApiAuthSchema4, JqStringSchema2, RegisterLanguageSchema2, RegisterUndiscriminatedUnionVariantSchema2, RegisterUndiscriminatedUnionTypeSchema2, RegisterTypeShapeSchema2, RegisterTypeDefinitionSchema2, RegisterBytesRequestSchema2, RegisterJsonRequestBodySchema2, RegisterHttpRequestBodyShapeSchema2, RegisterHttpRequestSchema2, RegisterHttpRequestsV2Schema2, RegisterCustomCodeSampleSchema2, RegisterExampleEndpointCallSchema2, RegisterNonStreamResponseSchema2, RegisterStreamResponseSchema2, RegisterStreamConditionResponseSchema2, RegisterHttpResponseBodyShapeSchema2, RegisterHttpResponseSchema2, RegisterHttpResponsesV2Schema2, RegisterErrorDeclarationV2Schema2, RegisterEndpointDefinitionSchema2, RegisterWebhookDefinitionSchema2, RegisterWebSocketChannelSchema2, SourceIdSchema2, SourceSchema3, SourceUploadSchema2, DynamicIRSchema2, DynamicIRUploadSchema2, TypescriptPackageSchema2, PythonPackageSchema2, GoModuleSchema2, JavaCoordinateSchema2, RubyGemSchema2, NugetPackageSchema2, ComposerPackageSchema2, SwiftPackageSchema2, CratesPackageSchema2, SnippetsConfigSchema2, RegisterApiDefinitionPackageSchema2, RegisterApiDefinitionSubpackageSchema2, RegisterApiDefinitionSchema2, RegisterApiDefinitionResponseSchema2, SnippetInfoSchema2, SdkDynamicIrDownloadSchema2, GetSdkDynamicIrUploadUrlsResponseSchema2, CheckSdkDynamicIrExistsResponseSchema2, EndpointExampleGenerationErrorBodySchema2, PathPartSchema2, WithNamespaceSchema2, LatestAuthSchemeSchema2, LatestObjectPropertyAccessSchema2, LatestTypeReferenceIdDefaultSchema2, LatestPrimitiveTypeSchema2, LatestLiteralTypeSchema2, LatestUnknownTypeSchema2, LatestEnumValueSchema2, LatestEnumTypeSchema2, LatestObjectPropertySchema2, LatestParameterPropertySchema2, LatestObjectTypeSchema2, LatestUndiscriminatedUnionVariantSchema2, LatestUndiscriminatedUnionTypeSchema2, LatestDiscriminatedUnionVariantSchema2, LatestDiscriminatedUnionTypeSchema2, LatestTypeShapeSchema2, LatestTypeReferenceSchema2, LatestTypeDefinitionSchema2, LatestContentTypeSchema2, LatestBytesRequestSchema2, LatestFormDataPropertySchema2, LatestFormDataRequestSchema2, LatestNullableTypeSchema2, LatestOptionalTypeSchema2, LatestListTypeSchema2, LatestSetTypeSchema2, LatestMapTypeSchema2, LatestLanguageSchema2, LatestExampleEndpointRequestSchema2, LatestExampleEndpointResponseSchema2, LatestExampleErrorResponseSchema2, LatestHttpRequestBodyShapeSchema2, LatestHttpRequestSchema2, LatestFileDownloadResponseBodyShapeSchema2, LatestStreamResponseSchema2, LatestHttpResponseBodyShapeSchema2, LatestHttpResponseSchema2, LatestErrorExampleSchema2, LatestErrorResponseSchema2, LatestCodeSnippetSchema2, LatestExampleEndpointCallSchema2, LatestEndpointDefinitionSchema2, LatestGraphQlOperationTypeSchema2, LatestGraphQlArgumentSchema2, LatestGraphQlExampleSchema2, LatestGraphQlOperationSchema2, LatestWebhookPayloadShapeSchema2, LatestWebhookPayloadSchema2, LatestExampleWebhookPayloadSchema2, LatestWebhookDefinitionSchema2, LatestWebSocketMessageSchema2, LatestExampleWebSocketMessageSchema2, LatestExampleWebSocketSessionSchema2, LatestWebSocketChannelSchema2, LatestSubpackageMetadataSchema2, LatestApiDefinitionSchema2, ApiDefinitionSchema4, ReadUndiscriminatedUnionVariantSchema2, ReadUndiscriminatedUnionTypeSchema2, ReadTypeShapeSchema2, ReadTypeDefinitionSchema2, ReadBytesRequestSchema2, ReadHttpRequestBodyShapeSchema2, ReadHttpRequestSchema2, ReadHttpRequestsV2Schema2, ReadSupportedLanguageSchema2, ReadLanguageSchema2, ReadCustomCodeSampleSchema2, ReadPythonSnippetSchema2, ReadTypescriptSnippetSchema2, ReadGoSnippetSchema2, ReadRubySnippetSchema2, ReadCsharpSnippetSchema2, ReadCodeExamplesSchema2, ReadExampleEndpointCallSchema2, ReadNonStreamResponseSchema2, ReadStreamResponseSchema2, ReadStreamConditionResponseSchema2, ReadHttpResponseBodyShapeSchema2, ReadHttpResponseSchema2, ReadHttpResponsesV2Schema2, ReadErrorDeclarationV2Schema2, ReadEndpointDefinitionSchema2, ReadWebhookDefinitionSchema2, ReadWebSocketChannelSchema2, ReadApiDefinitionPackageSchema2, ReadApiDefinitionSubpackageSchema2, ReadApiDefinitionSchema2, apiLatestContract2, apiReadContract2, apiRegisterContract2, EndpointSnippetTemplatesSchema2, DbHttpRequestSchema2, DbHttpRequestsV2Schema2, DbEndpointDefinitionSchema2, DbApiDefinitionPackageSchema2, DbApiDefinitionSubpackageSchema2, DbApiDefinitionSchema2, DbEndpointWithContextSchema2, DocsDeploymentStatusSchema2, DocsSiteSchema2, DocsDeploymentSchema2, RegisterDocsSiteInputSchema2, GetPostmanCollectionIdInputSchema2, GetDocsStatusInputSchema2, SetDocsStatusInputSchema2, CreateDeploymentInputSchema2, UpdateDeploymentStatusInputSchema2, GetDocsDeploymentsInputSchema2, UnlockDeployInputSchema2, GetDocsStatusResponseSchema2, GetDocsDeploymentsResponseSchema2, CreateDeploymentResponseSchema2, UpdateDeploymentStatusResponseSchema2, GetPostmanCollectionIdResponseSchema2, UnlockDeployResponseSchema2, GetDocsSitesByCollectionIdInputSchema2, FindSiteByOrgAndCollectionInputSchema2, FindSiteByOrgAndCollectionResponseSchema2, RecordPostmanNotificationInputSchema2, RecordPostmanNotificationResponseSchema2, GetUnnotifiedPostmanSitesResponseSchema2, GetDocsSitesByCollectionIdResponseSchema2, DeleteDocsSiteByServiceInputSchema2, DeleteDocsSiteByServiceResponseSchema2, SetEditorRepoUrlInputSchema2, docsDeploymentContract2, DocsSiteUrlSchema2, DashboardDocsSiteSchema2, GetDocsSitesForOrgInputSchema2, GetDocsSitesForOrgResponseSchema2, IsDocsSiteInOrgInputSchema2, IsDocsSiteInOrgResponseSchema2, DeleteAllDocsSitesForOrgInputSchema2, DeleteAllDocsSitesForOrgResponseSchema2, dashboardContract2, DashboardAnalyticsCommonInputSchema2, DashboardFeedbackInputSchema2, DashboardListOrgMembersInputSchema2, DashboardGetSiteConfigInputSchema2, AuthorizeDocsEditResponseSchema2, AnalyticsMetricSchema2, AnalyticsDimensionSchema2, AnalyticsGranularitySchema2, AnalyticsFilterFieldSchema2, AnalyticsFilterOpSchema2, AnalyticsFilterSchema2, AnalyticsOrderBySchema2, AnalyticsDateRangeSchema2, QueryAnalyticsInputSchema2, ResolvedDateRangeSchema2, AnalyticsSourceSchema2, LlmBotTrafficResponseSchema2, RecentFeedbackResponseSchema2, QueryAnalyticsResponseSchema2, OrgMembersResponseSchema2, SiteGitRepositorySchema2, SiteConfigResponseSchema2, SitePasswordProtectionSchema2, SiteSettingsResponseSchema2, dashboardAgentContract2, FileIdSchema22, PageIdSchema22, UrlSchema22, VersionIdSchema22, ApiDefinitionIdSchema22, EndpointIdSchema22, WebSocketIdSchema22, WebhookIdSchema22, RoleIdSchema22, SubpackageIdSchema22, LinkTargetSchema3, AvailabilitySchema23, RgbaColorSchema2, FileIdOrUrlSchema2, LanguageSchema2, Bcp47LocaleSchema3, DocsTranslationsConfigSchema2, ProgrammingLanguageSchema2, AnnouncementConfigSchema3, SegmentConfigSchema2, FullStoryAnalyticsConfigSchema2, IntercomConfigSchema3, PostHogConfigSchema2, GTMConfigSchema2, GoogleAnalytics4ConfigSchema2, AmplitudeConfigSchema2, MixpanelConfigSchema2, HotJarConfigSchema2, KoalaConfigSchema2, LogRocketConfigSchema2, PirschConfigSchema2, PlausibleConfigSchema2, FathomConfigSchema2, ClearBitConfigSchema2, HeapConfigSchema2, AnalyticsConfigSchema3, SearchbarPlacementSchema2, TabsPlacementSchema2, SwitcherPlacementSchema2, ContentAlignmentSchema2, HeaderPositionSchema2, PageWidthSizeConfigSchema2, SizeConfigSchema2, TabsAlignmentSchema2, ChangelogLayoutSchema2, ApiReferenceLayoutSchema2, DocsLayoutConfigSchema2, FooterNavConfigSchema2, DocsSidebarConfigSchema2, DocsBodyConfigSchema2, DocsTabsStyleSchema2, DocsTabsObjectConfigSchema2, DocsTabsConfigSchema2, DocsPageActionsConfigSchema2, LanguageSwitcherConfigSchema2, ProductSwitcherConfigSchema2, DocsThemeConfigSchema2, HttpSnippetLanguageSchema2, HttpSnippetsConfigSchema2, SearchSettingsConfigSchema2, DocsSettingsConfigSchema3, TwitterCardSettingSchema3, MetadataConfigSchema3, RedirectConfigSchema3, WithPermissionsSchema2, NavbarLinkMetadataSchema2, NavbarGithubMetadataSchema2, NavbarLinkDropdownMetadataSchema2, NavbarLinkSchema3, FooterLinkSchema2, CssConfigSchema3, JsScriptStrategySchema2, JsRemoteConfigSchema2, JsFileConfigSchema2, JsConfigSchema3, IntegrationsConfigSchema3, FontStyleSchema2, FontDisplaySchema2, CustomFontConfigVariantSchema2, CustomFontConfigSchema2, FontConfigV2Schema2, DocsTypographyConfigV2Schema2, ThemedFileIdSchema2, ColorsConfigSchema2, ColorUnthemedConfigSchema2, ColorThemedConfigSchema2, ColorConfigSchema2, ColorsConfigV2Schema2, FontConfigSchema2, DocsTypographyConfigSchema2, EditThisPageLaunchSchema2, AIChatLocationSchema2, AIChatWebsiteDatasourceSchema2, AIChatDatasourceSchema2, AIModelSchema2, AIChatConfigSchema2, PageDescriptionSourceSchema2, AgentsConfigSchema2, PageActionOptionSchema2, CustomPageActionSchema2, SkillSchema2, SkillsConfigSchema2, PageActionOptionsSchema2, PageActionsConfigSchema3, HeightSchema3, PageContentSchema3, NavigationNodeMetadataSchema3, PageMetadataSchema3, LinkMetadataSchema3, NavigationTabLinkSchema3, ChangelogItemSchema3, ChangelogSectionSchema3, ChangelogSectionV3Schema3, ApiSectionV2Schema3, GitHubRepoSchema2, NpmPackageSchema3, MavenPackageSchema3, PypiPackageSchema3, PublishedSdkSchema3, PublishedPostmanCollectionSchema3, ApiArtifactsSchema3, ApiNavigationConfigItemSchema22, ApiNavigationConfigRootSchema22, DocsConfigIdSchema22, UrlFileSchema2, ImageFileSchema2, FileSchema3, BackgroundSchema3, ThemeConfigSchema5, DarkAndLightModeConfigSchema4, ColorsConfigV3Schema4, ApiNavigationConfigRootSchema32, ApiSectionSchema4, DocsSectionSchema4, NavigationItemSchema4, NavigationTabGroupSchema4, NavigationTabSchema4, UnversionedTabbedNavigationConfigSchema4, UnversionedUntabbedNavigationConfigSchema4, UnversionedNavigationConfigSchema4, VersionedNavigationConfigDataSchema4, VersionedNavigationConfigSchema4, NavigationConfigSchema5, DocsConfigSchema3, DocsDefinitionSchema3, BaseUrlSchema2, LoadDocsForUrlResponseSchema2, GetDocsForDomainLegacyInputSchema2, GetDocsForDomainInputSchema2, docsV1ReadContract2, MAX_DOXYFILE_CONTENT_LENGTH2, SETTING_LINE_RE2, AT_DIRECTIVE_RE2, BOOL_RE2, FILE_PATTERN_RE2, PREDEFINED_RE2, ALIAS_DEF_RE2, DOXYFILE_ALLOWED_KEYS2, ALLOWED_HOSTNAMES2, GithubUrlSchema2, SafeBranchSchema2, SafePackagePathSchema2, LibraryDocsBaseConfigSchema2, PythonLibraryDocsConfigSchema2, SafeDoxyfileContentSchema2, CppLibraryDocsConfigSchema2, StartLibraryDocsGenerationInputSchema2, StartLibraryDocsGenerationResponseSchema2, GetLibraryDocsStatusInputSchema2, LibraryDocsResultSchema2, LibraryDocsGenerationStatusSchema2, libraryDocsContract2, GetOrganizationForUrlInputSchema2, organizationContract2, GetDocsUrlMetadataInputSchema2, GetDocsUrlMetadataResponseSchema2, GetDocsForUrlInputSchema2, GetPrivateDocsForUrlInputSchema2, ListAllDocsUrlsInputSchema2, GetDocsConfigByIdInputSchema2, GetSiteMetricsInputSchema2, SiteMetricsSchema2, DocsDefinitionField2, GetDocsConfigByIdResponseSchema2, DocsDomainItemSchema2, ListAllDocsUrlsResponseSchema2, getDocsForUrl2, docsV2ReadContract2, OrgIdSchema22, FilePathSchema3, DocsRegistrationIdSchema2, HeightSchema22, FileS3UploadUrlSchema2, StartDocsRegisterResponseSchema2, PageContentSchema22, NavigationNodeMetadataSchema22, PageMetadataSchema22, LinkMetadataSchema22, ChangelogItemSchema22, ChangelogSectionSchema22, ChangelogSectionV2Schema2, ChangelogSectionV3Schema22, NavigationTabLinkSchema22, ApiNavigationConfigItemSchema32, ApiNavigationConfigSubpackageSchema2, ApiNavigationConfigRootSchema42, ApiSectionSchema22, ApiSectionV2Schema22, DocsSectionSchema22, NavigationItemSchema22, NavigationTabGroupSchema22, NavigationTabSchema22, NavigationTabV2Schema3, UnversionedTabbedNavigationConfigSchema22, UnversionedUntabbedNavigationConfigSchema22, UnversionedNavigationConfigSchema22, VersionedNavigationConfigDataSchema22, VersionedNavigationConfigSchema22, NavigationConfigSchema22, ThemeConfigSchema22, DarkAndLightModeConfigSchema22, ColorsConfigV3Schema22, DocsConfigSchema22, DocsDefinitionSchema22, NpmPackageSchema22, MavenPackageSchema22, PypiPackageSchema22, PublishedSdkSchema22, PublishedPostmanCollectionSchema22, ApiArtifactsSchema22, InvalidCustomDomainErrorBodySchema2, OverlappingCustomDomainsSchema2, FilePathSchema22, FilePathInputSchema2, ImageFilePathSchema2, AuthConfigSchema2, StartDocsRegisterV2InputSchema2, StartDocsRegisterV2ResponseSchema2, StartDocsPreviewRegisterInputSchema2, StartDocsPreviewRegisterResponseSchema2, FinishDocsRegisterV2InputSchema2, TransferOwnershipInputSchema2, SetIsArchivedInputSchema2, SetDocsUrlMetadataInputSchema2, AlgoliaDomainInputSchema2, ListAlgoliaPreviewWhitelistResponseSchema2, DeleteDocsSiteInputSchema2, RemoveCustomDomainAliasInputSchema2, Bcp47LocaleSchema22, RegisterTranslationInputSchema2, RegisterTranslationResponseSchema2, docsV2WriteContract2, InvalidateCachedDocsInputSchema2, docsCacheContract2, MissingContentSchema2, RegisterResponseSchema2, FinishResponseSchema2, ArchiveSiteInputSchema2, ArchiveSiteResponseSchema2, BlobRefSchema2, PageBlobRefSchema2, FileManifestEntrySchema2, ImageRefSchema2, PathOrUrlSchema2, RgbaSchema2, BackgroundColorSchema2, ACCENT_SCALE_KEYS2, accentScaleShape2, LedgerThemeConfigSchema2, LedgerColorsConfigSchema2, LedgerFontVariantSchema2, LedgerFontConfigSchema2, LedgerTypographySchema2, LedgerJsFileSchema2, LedgerJsConfigSchema2, LedgerMetadataConfigSchema2, NavbarLinksFieldSchema2, FooterLinksFieldSchema2, LayoutFieldSchema2, ThemeFieldSchema2, SettingsFieldSchema2, AnalyticsFieldSchema2, AIChatFieldSchema2, PageActionsFieldSchema2, LedgerAgentsConfigSchema2, LedgerConfigSchema2, MetadataStringArraySchema2, FeatureFlagMetadataSchema2, LinkTargetSchema22, CollapsedSchema2, PlaygroundSettingsSchema3, LedgerAvailabilitySchema2, LedgerArtifactTypeSchema2, LedgerMetadataBaseSchema2, NodeMetadataFields2, ApiNodeMetadataFields2, LedgerSegmentDetailMetadataObjectSchema2, LedgerSegmentDetailMetadataSchema2, LedgerSegmentMetadataObjectSchema2, LedgerSegmentMetadataSchema2, LedgerMarkdownMetadataSchema2, LedgerRestMetadataSchema2, LedgerWebSocketMetadataSchema2, LedgerWebhookMetadataSchema2, LedgerGrpcMetadataSchema2, LedgerGraphQlMetadataSchema2, LedgerGraphQlTypeMetadataSchema2, LedgerChangelogEntryMetadataSchema2, LedgerLinkMetadataSchema2, LedgerFileArtifactMetadataSchema2, LedgerStructuralRedirectKindSchema2, LedgerRedirectKindSchema2, LedgerRedirectMetadataSchema2, LedgerArtifactMetadataSchema2, LEDGER_ARTIFACT_METADATA_SCHEMAS2, NavRouteBaseSchema2, LedgerNavRouteSchema2, DocsPublishGitInputSchema2, DocsContentFieldsSchema2, LocaleEntrySchemaInternal2, LocaleEntrySchema2, DocsPublishInputSchemaInternal2, DocsPublishInputSchema2, LedgerPreviewRegisterInputSchemaInternal2, LedgerPreviewRegisterInputSchema2, LedgerPreviewRegisterResponseSchema2, docsLedgerContract2, CurrentVersionInputSchema2, CurrentPreviewInputSchema2, CurrentVersionResponseSchema2, ContentRefSchema2, SegmentDetailSchema2, SegmentSchema2, VersionMetadataInputSchema2, VersionMetadataResponseSchema2, PageContentInputSchema2, PageContentResponseSchema2, BatchPageContentInputSchema2, BatchPageContentItemSchema2, BatchPageContentResponseSchema2, NavInputSchema2, NavResponseSchema2, RouteContextInputSchema2, RouteContextResponseBaseSchema2, RouteContextResponseSchema2, TopLevelNavigationInputSchema2, TopLevelNavigationResponseSchema2, VersionSwitchTargetsInputSchema2, VersionSwitchTargetSchema2, VersionSwitchTargetsResponseSchema2, ApiDefinitionInputSchema2, ApiDefinitionResponseSchema2, PrunedApiDefinitionInputSchema2, PrunedApiDefinitionResponseSchema2, FileArtifactInputSchema2, FileArtifactResponseSchema2, PresignedFileDownloadInputSchema2, PresignedFileDownloadResponseSchema2, FileMetadataInputSchema2, FileMetadataResponseSchema2, docsLedgerReadContract2, GetSnapshotInputSchema2, SetSnapshotInputSchema2, GetDocumentsForBranchesInputSchema2, EditorDocumentSchema2, GetSnapshotResponseSchema2, GetDocumentsForBranchesResponseSchema2, editorSnapshotContract2, GeneratorLanguage, ReleaseType, GeneratorLanguageSchema2, ScriptSchema2, GeneratorScriptsSchema2, GeneratorTypeSchema2, ChangelogEntryTypeSchema2, ChangelogEntrySchema2, YankSchema2, ReleaseTypeSchema2, VersionRangeSchema2, GeneratorSchema2, GeneratorOutputSchema3, GetGeneratorByImageInputSchema2, GetGeneratorInputSchema2, GeneratorReleaseSchema2, GeneratorReleaseRequestSchema2, GetLatestGeneratorReleaseInputSchema2, GetGeneratorChangelogInputSchema2, ChangelogResponseSchema2, GetChangelogResponseSchema2, GetGeneratorReleaseInputSchema2, ListGeneratorReleasesInputSchema2, ListGeneratorReleasesResponseSchema2, CliReleaseSchema2, GetLatestCliReleaseInputSchema2, GetCliChangelogInputSchema2, GetMinCliForIrInputSchema2, UpsertCliReleaseInputSchema2, GetCliReleaseInputSchema2, ListCliReleasesInputSchema2, ListCliReleasesResponseSchema2, generatorsContract2, generatorVersionsContract2, generatorCliContract2, CheckRunSchema2, GithubRepositoryIdSchema2, RepositoryIdSchema2, BaseRepositorySchema2, SdkRepositorySchema2, FernConfigRepositorySchema2, FernRepositorySchema2, GithubUserSchema2, GithubTeamSchema2, PullRequestReviewerSchema2, PullRequestStateSchema2, PullRequestState, PullRequestSchema2, ListRepositoriesResponseSchema2, ListPullRequestsResponseSchema2, GetRepositoryInputSchema2, ListRepositoriesInputSchema2, DeleteRepositoryInputSchema2, GetPullRequestInputSchema2, ListPullRequestsInputSchema2, DeletePullRequestInputSchema2, gitContract2, PdfExportScopeSchema2, PdfExportOptionsV1Schema2, PdfExportOptionsSchema2, PdfExportTaskStatusSchema2, PdfExportTaskSchema2, ListPdfExportTasksResponseSchema2, PdfExportDownloadResponseSchema2, CreatePdfExportTaskInputSchema2, ListPdfExportTasksInputSchema2, GetPdfExportTaskInputSchema2, UpdatePdfExportTaskInputSchema2, GetPdfExportDownloadUrlInputSchema2, CleanupPdfExportsResponseSchema2, pdfExportContract2, LanguageEnumSchema2, VersionBumpEnumSchema2, ComputeSemanticVersionInputSchema2, ComputeSemanticVersionOutputSchema2, sdksContract2, SlugsInputSchema2, SlugEntrySchema2, MarkdownEntrySchema2, GetSlugEntriesResponseSchema2, GetMarkdownEntriesResponseSchema2, slugsContract2, TypeScriptSdkSchema2, PythonSdkSchema2, GoSdkSchema2, RubySdkSchema2, JavaSdkSchema2, CsharpSdkSchema2, BaseSnippetCreateSchema2, SdkSnippetsCreateSchema2, snippetsFactoryContract2, ParameterPayloadSchema2, AuthPayloadSchema2, CustomSnippetPayloadSchema2, snippetsContract2, SnippetRegistryEntrySchema2, RegisterInputSchema2, RegisterBatchInputSchema2, GetInputSchema2, EndpointSnippetTemplateSchema2, templatesContract2, GenerateTokenInputSchema2, RevokeTokenInputSchema2, GenerateTokenOutputSchema2, tokensContract2, StartDocsRegisterV1InputSchema, StartDocsRegisterV1ResponseSchema, FinishDocsRegisterV1InputSchema, docsV1WriteContract, PATH_OR_URL_METADATA_KEYS, LogoViewSchema, ThemeViewSchema, ColorsViewSchema, FontViewSchema, TypographyViewSchema, JsFileViewSchema, MetadataFileRefViewSchema, ConfigViewSchema, NAV_ICON_FILE_PREFIX, FileTokenTreeSchema, ConfigFileTokenViewSchema, SegmentDetailIconViewSchema, SegmentIconViewSchema, LEDGER_MANIFEST_SCHEMA_VERSION, LEDGER_SHARD_SCHEMA_VERSION, ManifestBlobRefSchema, ManifestSegmentSchema, ManifestNavRouteSchema, ManifestRouteBaseSchema, ManifestRouteSchema, ManifestPageSchema, ManifestApiDefSchema, ManifestFileSchema, LedgerShardFileSchema, LedgerConfigBlobSchema, LedgerChromeBlobSchema, LedgerSidebarBundleSchema, LedgerSidebarMapEntrySchema, LedgerLocaleIndexSchema, LedgerRouteShardSchema, LedgerPagesBlobSchema, LedgerPointerSegmentSchema, LedgerLocaleRoutingSchema, LedgerManifestSchema, LedgerSiteArtifactSchema, PutContentInputSchema, PutContentResponseSchema, PutFileInputSchema, FileResponseSchema, contentContract, filesContract, SEMVER_RE, UpsertOrgConfigBodySchema, OrgConfigResponseSchema, FERN_FILE_REF_KEY, SHA256_RE, THEME_NAME_RE, ThemeResponseSchema, ThemeListItemSchema, ThemeListResponseSchema, UpsertThemeBodySchema;
609824
610101
  var init_orpc_client = __esm({
609825
- "../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.96-8e5f0d55dd_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/orpc-client.mjs"() {
610102
+ "../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.102-07ddc01b9b_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/orpc-client.mjs"() {
609826
610103
  "use strict";
609827
610104
  init_dist5();
609828
610105
  init_dist5();
@@ -612252,6 +612529,7 @@ var init_orpc_client = __esm({
612252
612529
  ]);
612253
612530
  TabsAlignmentSchema2 = enumType(["LEFT", "CENTER"]);
612254
612531
  ChangelogLayoutSchema2 = enumType(["timeline", "classic"]);
612532
+ ApiReferenceLayoutSchema2 = enumType(["indented", "cards"]);
612255
612533
  DocsLayoutConfigSchema2 = objectType({
612256
612534
  pageWidth: PageWidthSizeConfigSchema2.optional(),
612257
612535
  contentWidth: SizeConfigSchema2.optional(),
@@ -612267,6 +612545,7 @@ var init_orpc_client = __esm({
612267
612545
  hideFeedback: booleanType().optional(),
612268
612546
  mobileToc: booleanType().optional(),
612269
612547
  changelogLayout: ChangelogLayoutSchema2.optional(),
612548
+ apiReferenceLayout: ApiReferenceLayoutSchema2.optional(),
612270
612549
  showNavAvailabilityBadges: booleanType().optional()
612271
612550
  });
612272
612551
  FooterNavConfigSchema2 = enumType(["default", "minimal"]);
@@ -613754,6 +614033,7 @@ var init_orpc_client = __esm({
613754
614033
  "webhook",
613755
614034
  "grpc",
613756
614035
  "graphql",
614036
+ "graphqlType",
613757
614037
  "changelog",
613758
614038
  "link",
613759
614039
  "file",
@@ -613901,6 +614181,28 @@ var init_orpc_client = __esm({
613901
614181
  graphqlOperationId: stringType(),
613902
614182
  operationType: GraphQlOperationTypeSchema2
613903
614183
  });
614184
+ LedgerGraphQlTypeMetadataSchema2 = LedgerMetadataBaseSchema2.extend({
614185
+ ...ApiNodeMetadataFields2,
614186
+ typeId: stringType(),
614187
+ typeCategory: GraphQlTypeCategorySchema2,
614188
+ /**
614189
+ * Ids of the types that reference this one directly, for the "referenced by"
614190
+ * section of a type page.
614191
+ *
614192
+ * Computed at publish, because it cannot be derived on the read side: a type
614193
+ * page's pruned definition contains what the type reaches, not what reaches
614194
+ * it, and the navigation tree carries no field-level type references.
614195
+ *
614196
+ * Types rather than operations: where a schema namespaces its operations
614197
+ * behind hub types, almost no operation names a leaf type directly, so an
614198
+ * operation-keyed list is empty for most types. The type graph has the edge
614199
+ * that exists, and it is small -- single digits for the large majority.
614200
+ *
614201
+ * Optional: absent on artifacts written before this field existed, and
614202
+ * omitted entirely when nothing references the type.
614203
+ */
614204
+ referencedByTypeIds: arrayType(stringType()).optional()
614205
+ });
613904
614206
  LedgerChangelogEntryMetadataSchema2 = LedgerMetadataBaseSchema2.extend({
613905
614207
  ...NodeMetadataFields2,
613906
614208
  pageId: stringType(),
@@ -613945,6 +614247,7 @@ var init_orpc_client = __esm({
613945
614247
  LedgerWebhookMetadataSchema2,
613946
614248
  LedgerGrpcMetadataSchema2,
613947
614249
  LedgerGraphQlMetadataSchema2,
614250
+ LedgerGraphQlTypeMetadataSchema2,
613948
614251
  LedgerChangelogEntryMetadataSchema2,
613949
614252
  LedgerLinkMetadataSchema2,
613950
614253
  LedgerFileArtifactMetadataSchema2,
@@ -613958,6 +614261,7 @@ var init_orpc_client = __esm({
613958
614261
  webhook: LedgerWebhookMetadataSchema2,
613959
614262
  grpc: LedgerGrpcMetadataSchema2,
613960
614263
  graphql: LedgerGraphQlMetadataSchema2,
614264
+ graphqlType: LedgerGraphQlTypeMetadataSchema2,
613961
614265
  changelog: LedgerChangelogEntryMetadataSchema2,
613962
614266
  link: LedgerLinkMetadataSchema2,
613963
614267
  file: LedgerFileArtifactMetadataSchema2,
@@ -613978,6 +614282,7 @@ var init_orpc_client = __esm({
613978
614282
  navRouteVariant2("webhook"),
613979
614283
  navRouteVariant2("grpc"),
613980
614284
  navRouteVariant2("graphql"),
614285
+ navRouteVariant2("graphqlType"),
613981
614286
  navRouteVariant2("changelog"),
613982
614287
  navRouteVariant2("link"),
613983
614288
  navRouteVariant2("file"),
@@ -614293,6 +614598,7 @@ var init_orpc_client = __esm({
614293
614598
  artifactTypeVariant2(RouteContextResponseBaseSchema2, "webhook"),
614294
614599
  artifactTypeVariant2(RouteContextResponseBaseSchema2, "grpc"),
614295
614600
  artifactTypeVariant2(RouteContextResponseBaseSchema2, "graphql"),
614601
+ artifactTypeVariant2(RouteContextResponseBaseSchema2, "graphqlType"),
614296
614602
  artifactTypeVariant2(RouteContextResponseBaseSchema2, "changelog"),
614297
614603
  artifactTypeVariant2(RouteContextResponseBaseSchema2, "link"),
614298
614604
  artifactTypeVariant2(RouteContextResponseBaseSchema2, "file"),
@@ -614340,7 +614646,7 @@ var init_orpc_client = __esm({
614340
614646
  deploymentId: stringType(),
614341
614647
  apiDefinitionId: stringType(),
614342
614648
  /** Discriminator matching PruningNodeType.type → artifact metadata field. */
614343
- nodeType: enumType(["endpoint", "webSocket", "webhook", "grpc", "graphql"]),
614649
+ nodeType: enumType(["endpoint", "webSocket", "webhook", "grpc", "graphql", "graphqlType"]),
614344
614650
  /** The node ID value (endpointId, webSocketId, etc.). */
614345
614651
  nodeId: stringType()
614346
614652
  });
@@ -615193,6 +615499,7 @@ var init_orpc_client = __esm({
615193
615499
  artifactTypeVariant2(ManifestRouteBaseSchema, "webhook"),
615194
615500
  artifactTypeVariant2(ManifestRouteBaseSchema, "grpc"),
615195
615501
  artifactTypeVariant2(ManifestRouteBaseSchema, "graphql"),
615502
+ artifactTypeVariant2(ManifestRouteBaseSchema, "graphqlType"),
615196
615503
  artifactTypeVariant2(ManifestRouteBaseSchema, "changelog"),
615197
615504
  artifactTypeVariant2(ManifestRouteBaseSchema, "link"),
615198
615505
  artifactTypeVariant2(ManifestRouteBaseSchema, "file"),
@@ -704906,7 +705213,7 @@ var AccessTokenPosthogManager = class {
704906
705213
  properties: {
704907
705214
  ...event,
704908
705215
  ...event.properties,
704909
- version: "5.108.0",
705216
+ version: "5.109.1",
704910
705217
  usingAccessToken: true,
704911
705218
  ...getRunIdProperties()
704912
705219
  }
@@ -704972,7 +705279,7 @@ var UserPosthogManager = class {
704972
705279
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
704973
705280
  event: "CLI",
704974
705281
  properties: {
704975
- version: "5.108.0",
705282
+ version: "5.109.1",
704976
705283
  ...event,
704977
705284
  ...event.properties,
704978
705285
  usingAccessToken: false,
@@ -881318,9 +881625,54 @@ function createDocsResolverValidationContext() {
881318
881625
  function isV1RootNode2(value2) {
881319
881626
  return "type" in value2 && value2.type === "root";
881320
881627
  }
881628
+ async function getIntermediateRepresentation({ apiWorkspace, ossWorkspaces, useOpenApiParserV3, audiences, logger: logger4 }) {
881629
+ const ossWorkspace = useOpenApiParserV3 ? ossWorkspaces.find((ossWorkspace2) => ossWorkspace2 === apiWorkspace) : void 0;
881630
+ if (ossWorkspace != null) {
881631
+ try {
881632
+ return await ossWorkspace.getIntermediateRepresentation({
881633
+ context: NOOP_CONTEXT,
881634
+ audiences,
881635
+ enableUniqueErrorsPerEndpoint: true,
881636
+ generateV1Examples: false,
881637
+ logWarnings: false
881638
+ });
881639
+ } catch (error50) {
881640
+ logger4.debug(`Failed to load API definition with the OpenAPI parser: ${error50}`);
881641
+ }
881642
+ }
881643
+ try {
881644
+ const fernWorkspace = await apiWorkspace.toFernWorkspace({ context: NOOP_CONTEXT }, {
881645
+ enableUniqueErrorsPerEndpoint: true,
881646
+ detectGlobalHeaders: false,
881647
+ objectQueryParameters: true,
881648
+ preserveSchemaIds: true
881649
+ });
881650
+ return generateIntermediateRepresentation({
881651
+ workspace: fernWorkspace,
881652
+ audiences,
881653
+ generationLanguage: void 0,
881654
+ keywords: void 0,
881655
+ smartCasing: false,
881656
+ exampleGeneration: {
881657
+ disabled: false,
881658
+ skipAutogenerationIfManualExamplesExist: true,
881659
+ skipErrorAutogenerationIfManualErrorExamplesExist: true
881660
+ },
881661
+ readme: void 0,
881662
+ version: void 0,
881663
+ packageName: void 0,
881664
+ context: NOOP_CONTEXT,
881665
+ sourceResolver: new SourceResolverImpl(NOOP_CONTEXT, fernWorkspace)
881666
+ });
881667
+ } catch (error50) {
881668
+ logger4.debug(`Failed to load API definition; skipping link validation for it: ${error50}`);
881669
+ return void 0;
881670
+ }
881671
+ }
881321
881672
  var ValidMarkdownLinks = {
881322
881673
  name: "valid-markdown-links",
881323
- create: async ({ workspace, apiWorkspaces, ossWorkspaces }) => {
881674
+ create: async ({ workspace, apiWorkspaces, ossWorkspaces, logger: logger4 }) => {
881675
+ const useOpenApiParserV3 = workspace.config.experimental?.openapiParserV3 !== false;
881324
881676
  const instanceUrls = getInstanceUrls(workspace);
881325
881677
  const url3 = instanceUrls[0] ?? "http://localhost";
881326
881678
  const baseUrl = toBaseUrl(instanceUrls[0] ?? "http://localhost");
@@ -881430,23 +881782,20 @@ var ValidMarkdownLinks = {
881430
881782
  return [...violations, ...pathToCheckViolations.flat()];
881431
881783
  },
881432
881784
  apiSection: async ({ workspace: apiWorkspace, config: config5 }) => {
881433
- const fernWorkspace = await apiWorkspace.toFernWorkspace({ context: NOOP_CONTEXT }, { enableUniqueErrorsPerEndpoint: true, detectGlobalHeaders: false });
881434
- const ir3 = generateIntermediateRepresentation({
881435
- workspace: fernWorkspace,
881436
- audiences: config5.audiences ? {
881437
- type: "select",
881438
- audiences: Array.isArray(config5.audiences) ? config5.audiences : [config5.audiences]
881439
- } : { type: "all" },
881440
- generationLanguage: void 0,
881441
- keywords: void 0,
881442
- smartCasing: false,
881443
- exampleGeneration: { disabled: false },
881444
- readme: void 0,
881445
- version: void 0,
881446
- packageName: void 0,
881447
- context: NOOP_CONTEXT,
881448
- sourceResolver: new SourceResolverImpl(NOOP_CONTEXT, fernWorkspace)
881785
+ const audiences = config5.audiences ? {
881786
+ type: "select",
881787
+ audiences: Array.isArray(config5.audiences) ? config5.audiences : [config5.audiences]
881788
+ } : { type: "all" };
881789
+ const ir3 = await getIntermediateRepresentation({
881790
+ apiWorkspace,
881791
+ ossWorkspaces,
881792
+ useOpenApiParserV3,
881793
+ audiences,
881794
+ logger: logger4
881449
881795
  });
881796
+ if (ir3 == null) {
881797
+ return [];
881798
+ }
881450
881799
  const api2 = toLatest(convertIrToApiDefinition({ ir: ir3, apiDefinitionId: (0, import_crypto9.randomUUID)(), context: NOOP_CONTEXT }));
881451
881800
  const uniqueDescriptions = collectUniqueDescriptions(api2);
881452
881801
  const violations = [];
@@ -882123,8 +882472,22 @@ function createDocsConfigFileAstVisitorForRules({ relativeFilepath, allRulesWith
882123
882472
  for (const { ruleName, visitor } of allRulesWithVisitors) {
882124
882473
  const visitFromRule = visitor[nodeType];
882125
882474
  if (visitFromRule != null) {
882126
- const ruleViolations = await visitFromRule(node4);
882127
882475
  const severityOverride = severityOverrides?.get(ruleName);
882476
+ let ruleViolations;
882477
+ try {
882478
+ ruleViolations = await visitFromRule(node4);
882479
+ } catch (error50) {
882480
+ addViolations([
882481
+ {
882482
+ name: ruleName,
882483
+ severity: severityOverride ?? "fatal",
882484
+ relativeFilepath: RelativeFilePath2.of(""),
882485
+ nodePath,
882486
+ message: `Rule "${ruleName}" failed to run: ${formatInitError(error50)}`
882487
+ }
882488
+ ]);
882489
+ continue;
882490
+ }
882128
882491
  addViolations(ruleViolations.map((violation) => ({
882129
882492
  name: violation.name ?? ruleName,
882130
882493
  severity: severityOverride ?? violation.severity,
@@ -886590,7 +886953,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
886590
886953
  var LOGS_FOLDER_NAME = "logs";
886591
886954
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
886592
886955
  function getCliSource() {
886593
- const version7 = "5.108.0";
886956
+ const version7 = "5.109.1";
886594
886957
  return `cli@${version7}`;
886595
886958
  }
886596
886959
  var DebugLogger = class {
@@ -913554,7 +913917,7 @@ var LegacyDocsPublisher = class {
913554
913917
  previewId,
913555
913918
  disableTemplates: void 0,
913556
913919
  skipUpload,
913557
- cliVersion: "5.108.0",
913920
+ cliVersion: "5.109.1",
913558
913921
  loginCommand: "fern auth login"
913559
913922
  });
913560
913923
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -966971,7 +967334,7 @@ init_lib17();
966971
967334
  init_lib36();
966972
967335
  init_lib27();
966973
967336
  init_lib23();
966974
- async function getIntermediateRepresentation({ workspace, audiences, generatorInvocation, context: context3, irVersionOverride, version: version7, packageName, userAgentTemplate, organization, sourceConfig, includeOptionalRequestPropertyExamples, ir: ir3 }) {
967337
+ async function getIntermediateRepresentation2({ workspace, audiences, generatorInvocation, context: context3, irVersionOverride, version: version7, packageName, userAgentTemplate, organization, sourceConfig, includeOptionalRequestPropertyExamples, ir: ir3 }) {
966975
967338
  const resolvedUserAgentTemplate = userAgentTemplate ?? getUserAgentTemplateFromGeneratorConfig(generatorInvocation);
966976
967339
  const idempotencyKeyGeneration = getIdempotencyKeyGenerationFromGeneratorConfig(generatorInvocation);
966977
967340
  const intermediateRepresentation = ir3 ?? generateIntermediateRepresentation({
@@ -968141,7 +968504,7 @@ function extractLicenseFilePath(generatorInvocation, absolutePathToFernConfig) {
968141
968504
  async function writeFilesToDiskAndRunGenerator({ organization, absolutePathToFernConfig, workspace, generatorInvocation, absolutePathToLocalOutput, absolutePathToLocalSnippetJSON, absolutePathToLocalSnippetTemplateJSON, audiences, version: version7, workspaceTempDir, keepDocker, context: context3, irVersionOverride, outputVersionOverride, writeUnitTests, generateOauthClients, generatePaginatedClients, includeOptionalRequestPropertyExamples, inspect: inspect6, executionEnvironment, runner, whiteLabel, publishToRegistry, ir: ir3, ai: ai2, autoVersioningCache, absolutePathToSpecRepo, skipFernignore, disableTelemetry, rawApiSpecs }) {
968142
968505
  const irVersion = version7 ?? outputVersionOverride;
968143
968506
  const effectiveIrVersion = irVersion != null && (0, import_autoversion4.isAutoVersion)(irVersion) ? import_autoversion4.MAGIC_VERSION : irVersion;
968144
- const { latest: latest2, migrated } = await getIntermediateRepresentation({
968507
+ const { latest: latest2, migrated } = await getIntermediateRepresentation2({
968145
968508
  workspace,
968146
968509
  audiences,
968147
968510
  generatorInvocation,
@@ -980474,7 +980837,7 @@ function getAutomationContextFromEnv() {
980474
980837
  config_branch: process.env.FERN_CONFIG_BRANCH,
980475
980838
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
980476
980839
  trigger: process.env.GITHUB_EVENT_NAME,
980477
- cli_version: "5.108.0"
980840
+ cli_version: "5.109.1"
980478
980841
  };
980479
980842
  }
980480
980843
  function isAutomationMode() {
@@ -981306,7 +981669,7 @@ var CliContext = class _CliContext {
981306
981669
  if (false) {
981307
981670
  this.logger.error("CLI_VERSION is not defined");
981308
981671
  }
981309
- return "5.108.0";
981672
+ return "5.109.1";
981310
981673
  }
981311
981674
  getCliName() {
981312
981675
  if (false) {
@@ -993546,7 +993909,7 @@ async function generateIrForWorkspaces({
993546
993909
  project.apiWorkspaces.map(async (workspace) => {
993547
993910
  await cliContext.runTaskForWorkspace(workspace, async (context3) => {
993548
993911
  cliContext.logger.info(`Generating IR for workspace ${workspace.workspaceName ?? "api"}`);
993549
- const intermediateRepresentation = await getIntermediateRepresentation2({
993912
+ const intermediateRepresentation = await getIntermediateRepresentation3({
993550
993913
  workspace,
993551
993914
  context: context3,
993552
993915
  generationLanguage,
@@ -993565,7 +993928,7 @@ async function generateIrForWorkspaces({
993565
993928
  })
993566
993929
  );
993567
993930
  }
993568
- async function getIntermediateRepresentation2({
993931
+ async function getIntermediateRepresentation3({
993569
993932
  workspace,
993570
993933
  context: context3,
993571
993934
  generationLanguage,
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.108.0",
2
+ "version": "5.109.1",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",