@fluidgrids/fe-sdk 0.0.0-stage → 2026.1203.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +564 -2
- package/dist/ActivityOptionsFields-C2u-hY2U.js +142 -0
- package/dist/AiStudioPage-B_hNTj-_.js +1137 -0
- package/dist/ApprovalInboxPage-ClITra3n.js +1312 -0
- package/dist/ChoiceSelect-LkK-uS9J.js +65 -0
- package/dist/ConfirmActionDialog-DHWTDRbp.js +31 -0
- package/dist/ConnectionFormDialog-C0kDgcrZ.js +153 -0
- package/dist/CreateFluidgridsTagDocument-Dtp9KPLJ.js +1055 -0
- package/dist/DataSinkDashboardPage-b4ezeqa6.js +278 -0
- package/dist/DataTablesPage-C1d9YGHz.js +5575 -0
- package/dist/DateTimeField-B1qR4ruo.js +51 -0
- package/dist/Disclosure-BNKij7-v.js +45 -0
- package/dist/ElementLibraryPage-8jNO6YmE.js +2256 -0
- package/dist/ElementLibrarySequenceDocument-B-W8SPzn.js +3979 -0
- package/dist/EnsureThemeProvider-BvlNjAd0.js +24 -0
- package/dist/EntityTagBadge-1OlP6p0c.js +25 -0
- package/dist/EntityTagPicker-BBrU5cE0.js +137 -0
- package/dist/ExecuteStepDocument-B4j1mdRT.js +189 -0
- package/dist/ExecutionDetailDocument-D6QuM-kp.js +875 -0
- package/dist/ExecutionDetailPage-D4CBtFdo.js +12217 -0
- package/dist/ExecutionDetailPage-DvQ667OE.d.ts +10 -0
- package/dist/ExecutionStatusBadge-BsDVor9t.js +221 -0
- package/dist/ExecutionsListDocument-Dan7ZiqB.js +459 -0
- package/dist/ExecutionsListPage-B3XT8ITL.js +4307 -0
- package/dist/FailureTriagePanel-DOJMaJ0n.js +1285 -0
- package/dist/FileDownloadUrlDocument-CVOYKcL5.js +92 -0
- package/dist/FluidGridsDocsLink-bX0Hnhxr.js +66 -0
- package/dist/FluidGridsMark-CE2blT7K.js +74 -0
- package/dist/HeldLoadRegion-BtTxbvOW.js +34 -0
- package/dist/HistoryPage-BLoRpJ1R.d.ts +6 -0
- package/dist/HistoryPage-BSBISXoj.js +2835 -0
- package/dist/Icon-BtQ0HXLh.js +160 -0
- package/dist/InsightsPage-D7ybj8N9.js +11245 -0
- package/dist/IsolationSetting-vy911E8b.js +1153 -0
- package/dist/LibraryParts-DOeNgR8A.js +413 -0
- package/dist/ManagedAiPolicyAuthority-BxwJ3ptd.js +40 -0
- package/dist/ManagedAiPolicyAuthority-DM3t3wNr.d.ts +18 -0
- package/dist/ManagedAiPolicyAuthorityContext-CNkxIOZ1.js +10 -0
- package/dist/McpTriggerServers-BCPCAOWB.js +459 -0
- package/dist/MissingNodesInstallModal-rO_SEDrC.js +224 -0
- package/dist/NavigationV2Provider-DCDt35eG.js +17 -0
- package/dist/NodeSchemaIntrospectionDocument-C1vAIcHd.js +95 -0
- package/dist/NodesPage-DEbnz9iU.d.ts +6 -0
- package/dist/NodesPage-O7KeeKtd.js +653 -0
- package/dist/OfflineIcon-TwMKYWjA.js +207 -0
- package/dist/OpenTemplateAsCodeButton-BhWJWIF3.js +94 -0
- package/dist/PaidTemplateConfirm-_G3ag6S4.js +28 -0
- package/dist/PublishCustomNodeAction-CIySbK4c.js +134 -0
- package/dist/RecordTaskDialog-BkpCDvhR.js +2078 -0
- package/dist/RunActionsMenu-DodOgIQm.js +59 -0
- package/dist/RunnerStatusPill-C1v967iq.js +24 -0
- package/dist/RunnersPage-dB0RSdY_.js +1929 -0
- package/dist/SandboxRuntimeExhaustedNotice-BFOIF93C.js +120 -0
- package/dist/SchedulesPage-DPWr1yvf.js +1607 -0
- package/dist/SearchBox-BGtYjvfs.js +49 -0
- package/dist/SequenceEditor-CFiHeHkR.js +497 -0
- package/dist/SettingsPage-0CQBNPZV.js +8695 -0
- package/dist/StewardPages-DAJhepen.js +47 -0
- package/dist/StewardRunImportPanel-Kva2DO0u.js +2844 -0
- package/dist/StoreTemplateCardCompact-CHn5kP7A.js +2166 -0
- package/dist/TagFilterSelect-CyA8QrS7.js +42 -0
- package/dist/TaskQueuesPage-DdnDCyat.js +3571 -0
- package/dist/TechnicalDetails-B0Oi4aZw.js +19 -0
- package/dist/TemplateConfigurationModal-CdvCYJLM.js +332 -0
- package/dist/TemplateDetailPanel-CbiKciuB.js +222 -0
- package/dist/TemplatePreview-cx7-NOeG.js +868 -0
- package/dist/TemplatesPage-BG3H-6v6.d.ts +10 -0
- package/dist/TemplatesPage-BVQpGYIV.js +3251 -0
- package/dist/TerminateExecutionDocument-B_HKNVrN.js +581 -0
- package/dist/TranslationBridge-Bd4aJKMs.d.ts +11 -0
- package/dist/TranslationBridge-Da-TPgQm.js +68 -0
- package/dist/TriggerWorkflowDocument-D9Km2Vv2.js +460 -0
- package/dist/UiSequencePickerSequenceDocument-BSYnSDV7.js +607 -0
- package/dist/UiStepScreenshot-Qh4QMyUp.js +146 -0
- package/dist/UsageTimeSeriesDocument-DcInx9-z.js +177 -0
- package/dist/VariablesPage-ChfGuW22.js +2243 -0
- package/dist/VersionDiffDialog-Bd2AeUwf.js +1702 -0
- package/dist/VersionLifecycleBar-BBeWVtz-.js +143 -0
- package/dist/WebhookDeliveriesPage-D66bua0j.js +1563 -0
- package/dist/WorkflowBuilder-B6wQD1TK.js +539 -0
- package/dist/WorkflowBuilder-DR4ku8Tr.js +1611 -0
- package/dist/WorkflowDefinitionDocument-DZLbTPUZ.js +321 -0
- package/dist/WorkflowEmbed-BXfFGy0i.js +708 -0
- package/dist/WorkflowEmbed-Cbqe1s1z.d.ts +6 -0
- package/dist/WorkflowPinnedDataDocument-BODT5omd.js +782 -0
- package/dist/WorkflowProposalCard-BruukdeF.js +96 -0
- package/dist/WorkflowProposalDocument-BdUbsrd0.js +620 -0
- package/dist/WorkflowSearchRedirect-C7zJ2MKH.js +40 -0
- package/dist/WorkflowSettingsDrawer-MVU1BKfY.d.ts +18 -0
- package/dist/WorkflowSettingsDrawer-gazs97WR.js +196 -0
- package/dist/WorkflowShareDialog-e8jJtLjU.js +469 -0
- package/dist/WorkflowVersionsDocument-DRVOp8Uj.js +3213 -0
- package/dist/WorkflowsList--hR2_8gf.js +4593 -0
- package/dist/WorkflowsList-CcNDQge5.d.ts +6 -0
- package/dist/WorkflowsListPageDocument-CnzcQm_o.js +934 -0
- package/dist/addonCatalog-CbZS4deh.js +58 -0
- package/dist/addonCatalog-sjlonAmR.d.ts +15 -0
- package/dist/addons.d.ts +3 -0
- package/dist/addons.js +4 -0
- package/dist/agent-form-Bfvm32j1.js +83 -0
- package/dist/agent-tools.d.ts +3 -0
- package/dist/agent-tools.js +5 -0
- package/dist/agentTools-CyL7DLOF.js +320 -0
- package/dist/ai-usage-BrxDgvdR.js +240 -0
- package/dist/aiCreditsBridge-BuE92tKo.js +49 -0
- package/dist/api-BKq-nIOZ.js +2286 -0
- package/dist/api-Ol7I8NxE.js +8289 -0
- package/dist/apollo-type-policies.d.ts +11 -0
- package/dist/apollo-type-policies.js +64 -0
- package/dist/askAboutBridge-ByYsQams.js +106 -0
- package/dist/askQuestions-Cmx7VnMm.js +742 -0
- package/dist/assert-rules-lfYEMc99.js +318 -0
- package/dist/assistant.d.ts +94 -0
- package/dist/assistant.js +99 -0
- package/dist/attach-node-helpers-HDKQOtrD.js +32 -0
- package/dist/badge-CXfPhoMH.js +26 -0
- package/dist/basil.generated-BK-EHbwN.js +10 -0
- package/dist/browser-steps-DMpS5TyB.js +533 -0
- package/dist/builderTimings-pvGnK1m-.js +510 -0
- package/dist/button-DG7y_FVJ.js +48 -0
- package/dist/canvasNoteTools-BxuP_AYO.js +137 -0
- package/dist/card-Bomy_1UG.js +44 -0
- package/dist/catalogGrid-BOrfMgi-.js +41 -0
- package/dist/channel-CPyQ1NR1.js +212 -0
- package/dist/chips-CvNrYJZa.js +27 -0
- package/dist/client-holder-C0M5Cfwl.js +68 -0
- package/dist/cn-QqidFIgr.js +10 -0
- package/dist/code-editor-diagnostics-Zr0cIcx1.js +46 -0
- package/dist/code-editor-field-x_JrY8KR.js +113 -0
- package/dist/codec-client-DPuD6mw7.js +515 -0
- package/dist/conditionBuilder-DwfEF0Q-.js +1144 -0
- package/dist/config-DO68jw5k.js +322 -0
- package/dist/constants-DgbVc24O.d.ts +296 -0
- package/dist/constants-DlRnHBfQ.js +217 -0
- package/dist/convert-browser-action-pfecelF7.js +347 -0
- package/dist/convert-dialog-B_o22NiJ.js +382 -0
- package/dist/create-workflow-first-Azg3JUdX.js +120 -0
- package/dist/definition-canvas-Bsda-rDT.js +31 -0
- package/dist/dialog-BVd152GS.js +94 -0
- package/dist/durable-nodes-BXyYCLxT.js +91 -0
- package/dist/duration-CDb7-mT_.js +33 -0
- package/dist/edge-mapper-wEAdGVU2.js +4477 -0
- package/dist/element-library-DkSlg_VE.js +727 -0
- package/dist/entities-I_0kio3q.js +38 -0
- package/dist/error-advice-QLr5NCm7.js +65 -0
- package/dist/errors-ClKb5sEt.js +188 -0
- package/dist/executions.d.ts +3 -0
- package/dist/executions.js +5 -0
- package/dist/feature-flags-B2qetXKd.js +385 -0
- package/dist/field-label-DPZRmE_B.js +153 -0
- package/dist/firstWorkflow-C_h0KMB2.js +133 -0
- package/dist/flags.d.ts +3 -0
- package/dist/flags.js +4 -0
- package/dist/flow-builder-DIvLOhz0.js +28038 -0
- package/dist/flow-store-holder-CUN7Terz.js +52 -0
- package/dist/fluent.generated-CA_e6-4l.js +14 -0
- package/dist/fluidgridsEvents-bbEQbwU6.js +175 -0
- package/dist/fluidgridsTheme-DUhvOgoy.js +297 -0
- package/dist/global-client-BQPuFrFa.js +433 -0
- package/dist/global-operations-BG6YgxrM.js +136 -0
- package/dist/graphql-types-UTYtujY9.js +21358 -0
- package/dist/history.d.ts +3 -0
- package/dist/history.js +4 -0
- package/dist/index-AoJAa5vU.d.ts +164958 -0
- package/dist/index-DEMT3iAM.d.ts +120 -0
- package/dist/index-ROZzNGyY.d.ts +76 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +8123 -0
- package/dist/ion.generated-mbajjcAg.js +10 -0
- package/dist/label-Lzb8ZXf_.js +29 -0
- package/dist/labels-rXd9gYQz.js +1236 -0
- package/dist/liveCanvas-D5ytXDp8.js +103 -0
- package/dist/logos.generated-X6_0kjVR.js +21 -0
- package/dist/logs-panel-Cw0DkG0l.js +468 -0
- package/dist/lucide.generated-B6NVd3GT.js +29 -0
- package/dist/marksStore-a9oIMMot.js +175 -0
- package/dist/mcp-trigger-D0nRdvq5.js +307 -0
- package/dist/mdi.generated-D1BV74d6.js +292 -0
- package/dist/menus-CU3hDGYl.js +160 -0
- package/dist/mynaui.generated-DMWr5cXz.js +66 -0
- package/dist/navigation-v2.d.ts +3 -0
- package/dist/navigation-v2.js +5 -0
- package/dist/node-detail-view-Cgm5H1P-.js +1372 -0
- package/dist/node-editor-tab-body-CZ0fVuVP.js +187 -0
- package/dist/node-operation-selection-CdV3KI_V.js +3534 -0
- package/dist/node-registry-refresh-s3okf83X.js +27 -0
- package/dist/node-role-TMbnkmeP.js +132 -0
- package/dist/node-type-icon-BZa8n4iG.js +33 -0
- package/dist/nodes.d.ts +3 -0
- package/dist/nodes.js +4 -0
- package/dist/notesKey-5EaREBGA.js +12 -0
- package/dist/observability.d.ts +3 -0
- package/dist/observability.js +5 -0
- package/dist/offset-pages-zghoClB3.js +55 -0
- package/dist/operations-BBmT9ToP.js +663 -0
- package/dist/operations-WxRJWeqO.js +3133 -0
- package/dist/output-files-Ba8bu5lv.js +196 -0
- package/dist/page-operation-DrWuhd6Y.js +129 -0
- package/dist/page-twins.d.ts +13 -0
- package/dist/page-twins.js +186 -0
- package/dist/pageControlSpecs-DZJ9K37m.js +134 -0
- package/dist/pageControlsBridge-0pX9s-3k.js +54 -0
- package/dist/pageControlsBridge-DAuT3w7L.d.ts +36 -0
- package/dist/panels-PfBBAToE.js +346 -0
- package/dist/parts-B7fBcw-B.js +346 -0
- package/dist/popover-Dms9Vz3j.js +3389 -0
- package/dist/preloadable-lazy-Pp47mqQ9.js +65 -0
- package/dist/proactive.d.ts +66 -0
- package/dist/proactive.js +237 -0
- package/dist/quick-config-panel-DFd77xho.js +451 -0
- package/dist/quota-DeA_CJ2e.js +175 -0
- package/dist/quota.d.ts +3 -0
- package/dist/quota.js +4 -0
- package/dist/read-only-context-Dt9N9SIG.js +18 -0
- package/dist/relative-time-Dxt8ZIIu.js +55 -0
- package/dist/results-CwK_yDxK.js +325 -0
- package/dist/rolldown-runtime-hDbaFkMy.js +18 -0
- package/dist/route-data.d.ts +12 -0
- package/dist/route-data.js +69 -0
- package/dist/route-match-C-0_EnAt.d.ts +5 -0
- package/dist/route-match-DMkUICYV.js +41 -0
- package/dist/route-preload-C4DlGoCd.js +120 -0
- package/dist/run-display-UjLAoYqQ.js +81 -0
- package/dist/run-history-arGiHzGU.js +285 -0
- package/dist/run-list-links-DJn4Mf1T.js +98 -0
- package/dist/run-mode-USmM0-Uo.js +82 -0
- package/dist/run-parity-CWXqEJqM.js +144 -0
- package/dist/runsQuota-B6SyTbne.js +100 -0
- package/dist/runsQuota-DsniKiSg.d.ts +20 -0
- package/dist/safe-expression-Cw7-SCsm.js +1251 -0
- package/dist/save-status-store-C7nEYpfb.js +631 -0
- package/dist/schedule-panel-B4GYXzXQ.js +13774 -0
- package/dist/schedule-rules-ggVKRkBH.js +358 -0
- package/dist/secrets-Re_wSiE3.js +153 -0
- package/dist/settings.d.ts +4 -0
- package/dist/settings.js +6 -0
- package/dist/shared-DAWGGMSM.js +177 -0
- package/dist/sidebar-node-editor-6eSSgCzc.js +178 -0
- package/dist/solar.generated-CGYuUQAC.js +10 -0
- package/dist/stableTabbedDialog-BBhrfXGe.js +20 -0
- package/dist/start-url-CT6Yz96K.js +24 -0
- package/dist/status-CessxGpm.js +55 -0
- package/dist/store-icon-OctYp5zP.js +155 -0
- package/dist/styles-WGmTnZ2n.js +26 -0
- package/dist/styles.css +139 -0
- package/dist/svg-spinners.generated-CIPT7IhM.js +10 -0
- package/dist/template-code-CzN6JWNV.js +191 -0
- package/dist/template-graph-DLF9dygU.js +20 -0
- package/dist/template-preview-DcIIKOOL.js +32 -0
- package/dist/template-price-CdUHZRMF.js +40 -0
- package/dist/templates.d.ts +3 -0
- package/dist/templates.js +5 -0
- package/dist/theme-provider-CntfC4_i.js +23 -0
- package/dist/transient-DgZfhDfN.js +57 -0
- package/dist/typed-calls-C5tO03wq.js +26 -0
- package/dist/ui-script-By74Guk3.js +1094 -0
- package/dist/ui-script-editor-CqPu2bCN.js +2447 -0
- package/dist/ui-step-fix-8uM2_Hft.js +67 -0
- package/dist/ui-step-fix-store-CcO1FdRx.js +19 -0
- package/dist/ui-step-run-context-o7bLE6KP.js +46 -0
- package/dist/ui-target-editor-D2JhB_lD.js +673 -0
- package/dist/uiMarkTools-CSznnO1i.js +1054 -0
- package/dist/upgradePrompt-BAFBKKW5.js +72 -0
- package/dist/use-bare-node-registry-O6mKJO_n.js +11498 -0
- package/dist/use-browser-available-hj8wc3Kb.js +241 -0
- package/dist/use-edge-mapper-schemas-Bonofxow.js +496 -0
- package/dist/use-extension-bridge-B9ZreOkQ.js +608 -0
- package/dist/use-mobile-BTqCUjzS.js +27 -0
- package/dist/use-sdk-query-C697xZVv.js +116 -0
- package/dist/use-workflow-code-editor-CFoRFrZ5.js +753 -0
- package/dist/useActionParam-B2tU2BlY.js +85 -0
- package/dist/useAgentTokenStream-Bko_J0d0.js +4217 -0
- package/dist/useBrowserClients-3v95-gSh.js +103 -0
- package/dist/useCodeWorkflowInsights-w0tz9Ap_.js +600 -0
- package/dist/useConnections-DsgEJs05.js +439 -0
- package/dist/useDebouncedValue-BFekcv6n.js +18 -0
- package/dist/useDurableParity-8fnMZmBc.js +1787 -0
- package/dist/useEntityTags-D0spL6Ut.js +460 -0
- package/dist/useExecutions-2u5nGJJk.js +681 -0
- package/dist/useFluidGridsAnalytics-VM8lAi2x.js +238 -0
- package/dist/useGlobalStoreClient-BTdhkA2I.js +24 -0
- package/dist/useHumanRequests-zlYDp3l1.js +221 -0
- package/dist/useNavigationV2-C2WeqN7d.js +29 -0
- package/dist/useNavigationV2-DANUmg12.d.ts +9 -0
- package/dist/useObservability-BRlQ0tOA.js +285 -0
- package/dist/useRequestedProposal-B7uPXfZB.js +51 -0
- package/dist/useRunHistory-CXCMUPyf.js +2759 -0
- package/dist/useRunLive-D0JvVZT2.js +1060 -0
- package/dist/useRunnerList-Dbi59i1K.js +446 -0
- package/dist/useRunners-URUc5quU.js +173 -0
- package/dist/useRunsPage-DG656UCK.js +2709 -0
- package/dist/useVariables-BIelxcWr.js +463 -0
- package/dist/useVersionHistoryData-CTjqVw7l.js +292 -0
- package/dist/useWorkflowCodeExport-pqxyLHD1.js +522 -0
- package/dist/useWorkflowListExport-hcZNvTaB.js +232 -0
- package/dist/useWorkflowOrganization-CpBbOrs7.js +1772 -0
- package/dist/useWorkflowProposal-BH0VdNMA.js +3280 -0
- package/dist/useWorkflows-Cvg-Z_IE.js +1606 -0
- package/dist/utils-fvBb5qOD.js +89 -0
- package/dist/webhook-deliveries-AvQujaZy.js +99 -0
- package/dist/workflow-builder-CJygVkVv.d.ts +2 -0
- package/dist/workflow-builder.d.ts +3 -0
- package/dist/workflow-builder.js +8 -0
- package/dist/workflow-code-transfer-Bsy0JKAZ.js +323 -0
- package/dist/workflow-embed.d.ts +3 -0
- package/dist/workflow-embed.js +4 -0
- package/dist/workflow-git-sync--K9ZsPDC.js +263 -0
- package/dist/workflow-host.d.ts +6 -0
- package/dist/workflow-host.js +11 -0
- package/dist/workflow-pages-D-7ByLTB.d.ts +68 -0
- package/dist/workflow-pages.d.ts +3 -0
- package/dist/workflow-pages.js +115 -0
- package/dist/workflow-preview-canvas-CO8yzdE3.js +848 -0
- package/dist/workflow-preview.d.ts +65 -0
- package/dist/workflow-preview.js +4 -0
- package/dist/workflow-route.d.ts +33 -0
- package/dist/workflow-route.js +4 -0
- package/dist/workflow-save-state-D0l-DkLf.js +767 -0
- package/dist/workflow-transfer-CQnQC-ke.js +104 -0
- package/dist/workflowRouteData-BkfVOc-O.js +169 -0
- package/dist/workflows-list.d.ts +10 -0
- package/dist/workflows-list.js +5 -0
- package/package.json +320 -4
|
@@ -0,0 +1,496 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { U as useFlowStore } from "./node-operation-selection-CdV3KI_V.js";
|
|
3
|
+
import { H as selectedOperationOf, ht as useNodeRegistryRevision, mt as resolveMappingInput, pn as fieldsFromIO, ut as edgeMappingDefinition } from "./use-bare-node-registry-O6mKJO_n.js";
|
|
4
|
+
import { n as getFluidGridsClient } from "./client-holder-C0M5Cfwl.js";
|
|
5
|
+
import { t as NodeSchemaIntrospectionDocument } from "./NodeSchemaIntrospectionDocument-C1vAIcHd.js";
|
|
6
|
+
import { useEffect, useMemo, useState } from "react";
|
|
7
|
+
|
|
8
|
+
// src/builder/lib/mapper-schema.ts
|
|
9
|
+
const QUERY_TYPE = "Query";
|
|
10
|
+
const SCALAR_TYPES = {
|
|
11
|
+
string: "String",
|
|
12
|
+
number: "Float",
|
|
13
|
+
integer: "Int",
|
|
14
|
+
boolean: "Boolean",
|
|
15
|
+
id: "ID"
|
|
16
|
+
};
|
|
17
|
+
/** The Mapper's scalar name for a manifest type label (`JSON` when unknown). */
|
|
18
|
+
function mapperScalarType(type) {
|
|
19
|
+
return SCALAR_TYPES[type.toLowerCase().trim()] ?? "JSON";
|
|
20
|
+
}
|
|
21
|
+
function emptySchema() {
|
|
22
|
+
return {
|
|
23
|
+
types: {},
|
|
24
|
+
queryType: QUERY_TYPE,
|
|
25
|
+
mutationType: null,
|
|
26
|
+
subscriptionType: null
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function field(name, type, isList = false) {
|
|
30
|
+
return {
|
|
31
|
+
name,
|
|
32
|
+
type,
|
|
33
|
+
isNonNull: false,
|
|
34
|
+
isList,
|
|
35
|
+
args: []
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Add the object type for `children` to `schema` and return its name. Names
|
|
40
|
+
* are derived from the side and a counter, so two fields called `data` at
|
|
41
|
+
* different depths never share a type.
|
|
42
|
+
*/
|
|
43
|
+
function addObjectType(schema, prefix, children, counter) {
|
|
44
|
+
const name = `${prefix}${counter.next++}`;
|
|
45
|
+
const fields = {};
|
|
46
|
+
for (const child of children) fields[child.key] = fieldFor(schema, prefix, child, counter);
|
|
47
|
+
schema.types[name] = {
|
|
48
|
+
name,
|
|
49
|
+
kind: "type",
|
|
50
|
+
fields
|
|
51
|
+
};
|
|
52
|
+
return name;
|
|
53
|
+
}
|
|
54
|
+
function fieldFor(schema, prefix, node, counter) {
|
|
55
|
+
const children = node.children ?? [];
|
|
56
|
+
if (node.type === "array") {
|
|
57
|
+
const element = children[0];
|
|
58
|
+
const elementType = element && element.children && element.children.length > 0 ? addObjectType(schema, prefix, element.children, counter) : mapperScalarType(element?.type ?? "any");
|
|
59
|
+
return field(node.key, `[${elementType}]`, true);
|
|
60
|
+
}
|
|
61
|
+
if (children.length > 0) return field(node.key, addObjectType(schema, prefix, children, counter));
|
|
62
|
+
return field(node.key, mapperScalarType(node.type));
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* The source side: `Query.<operation>` returns the fields the next node
|
|
66
|
+
* receives. `fields` come from `resolveMappingInput` (live output or declared
|
|
67
|
+
* output fields).
|
|
68
|
+
*/
|
|
69
|
+
function sourceMapperSchema(operation, fields) {
|
|
70
|
+
const schema = emptySchema();
|
|
71
|
+
const outputType = addObjectType(schema, "SourceOutput", fields, { next: 1 });
|
|
72
|
+
schema.types[QUERY_TYPE] = {
|
|
73
|
+
name: QUERY_TYPE,
|
|
74
|
+
kind: "type",
|
|
75
|
+
fields: { [operation]: field(operation, outputType) }
|
|
76
|
+
};
|
|
77
|
+
return schema;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* The target side: `Query.<operation>(state: TargetInput)`, where the input
|
|
81
|
+
* holds the operation's declared input fields followed by any other field the
|
|
82
|
+
* connection already maps. Fields stay top level: a mapping is written per
|
|
83
|
+
* field, the same unit the step editor writes.
|
|
84
|
+
*/
|
|
85
|
+
function targetMapperSchema(operation, fields, mappedFields = []) {
|
|
86
|
+
const schema = emptySchema();
|
|
87
|
+
const inputFields = {};
|
|
88
|
+
for (const node of fields) inputFields[node.key] = {
|
|
89
|
+
...field(node.key, node.type === "array" ? "[JSON]" : node.children && node.children.length > 0 ? "JSON" : mapperScalarType(node.type), node.type === "array"),
|
|
90
|
+
isNonNull: node.required === true
|
|
91
|
+
};
|
|
92
|
+
for (const name of mappedFields) if (!Object.hasOwn(inputFields, name)) inputFields[name] = field(name, "JSON");
|
|
93
|
+
const inputTypeName = "TargetInput";
|
|
94
|
+
const inputType = {
|
|
95
|
+
name: inputTypeName,
|
|
96
|
+
kind: "input",
|
|
97
|
+
fields: inputFields,
|
|
98
|
+
inputFields
|
|
99
|
+
};
|
|
100
|
+
schema.types[inputTypeName] = inputType;
|
|
101
|
+
schema.types[QUERY_TYPE] = {
|
|
102
|
+
name: QUERY_TYPE,
|
|
103
|
+
kind: "type",
|
|
104
|
+
fields: { [operation]: {
|
|
105
|
+
...field(operation, "JSON"),
|
|
106
|
+
args: [{
|
|
107
|
+
name: "state",
|
|
108
|
+
type: inputTypeName,
|
|
109
|
+
isNonNull: false,
|
|
110
|
+
isList: false
|
|
111
|
+
}]
|
|
112
|
+
} }
|
|
113
|
+
};
|
|
114
|
+
return schema;
|
|
115
|
+
}
|
|
116
|
+
/** Whether a Mapper schema describes at least one field on its side. */
|
|
117
|
+
function hasMapperFields(schema) {
|
|
118
|
+
if (!schema) return false;
|
|
119
|
+
return Object.values(schema.types).some((type) => type.name !== QUERY_TYPE && Object.keys(type.inputFields ?? type.fields).length > 0);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Wrap the return type of `operation` in an introspected store-node schema
|
|
123
|
+
* under the operation name, the shape the engine stores the result in
|
|
124
|
+
* (`{ createCard: { … } }`). Returns the schema unchanged when it has no such
|
|
125
|
+
* operation.
|
|
126
|
+
*/
|
|
127
|
+
function wrapOperationResult(schema, operation) {
|
|
128
|
+
for (const root of [schema.queryType, schema.mutationType]) {
|
|
129
|
+
if (!root) continue;
|
|
130
|
+
const rootType = schema.types[root];
|
|
131
|
+
const opField = rootType?.fields[operation];
|
|
132
|
+
if (!rootType || !opField) continue;
|
|
133
|
+
let wrapperName = `${operation}Result`;
|
|
134
|
+
while (Object.hasOwn(schema.types, wrapperName)) wrapperName += "_";
|
|
135
|
+
return {
|
|
136
|
+
...schema,
|
|
137
|
+
types: {
|
|
138
|
+
...schema.types,
|
|
139
|
+
[wrapperName]: {
|
|
140
|
+
name: wrapperName,
|
|
141
|
+
kind: "type",
|
|
142
|
+
fields: { [operation]: {
|
|
143
|
+
...opField,
|
|
144
|
+
args: []
|
|
145
|
+
} }
|
|
146
|
+
},
|
|
147
|
+
[root]: {
|
|
148
|
+
...rootType,
|
|
149
|
+
fields: {
|
|
150
|
+
...rootType.fields,
|
|
151
|
+
[operation]: {
|
|
152
|
+
...opField,
|
|
153
|
+
type: wrapperName,
|
|
154
|
+
isList: false,
|
|
155
|
+
isNonNull: false
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
return schema;
|
|
163
|
+
}
|
|
164
|
+
function isRecord$1(value) {
|
|
165
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* The version a placed node runs at, as the worker reads it
|
|
169
|
+
* (`node.data.version`, then the node's own `version`, then the manifest
|
|
170
|
+
* snapshot's), or undefined when none is recorded.
|
|
171
|
+
*/
|
|
172
|
+
function placedNodeVersion(node) {
|
|
173
|
+
if (!isRecord$1(node)) return void 0;
|
|
174
|
+
const data = isRecord$1(node.data) ? node.data : void 0;
|
|
175
|
+
const nodeData = isRecord$1(data?.nodeData) ? data.nodeData : void 0;
|
|
176
|
+
for (const candidate of [
|
|
177
|
+
data?.version,
|
|
178
|
+
node.version,
|
|
179
|
+
nodeData?.version
|
|
180
|
+
]) if (typeof candidate === "string" && candidate.trim() !== "") return candidate.trim();
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
// src/builder/components/lib/introspection-parser.ts
|
|
184
|
+
/**
|
|
185
|
+
* Parse GraphQL introspection data into our internal schema format
|
|
186
|
+
*/
|
|
187
|
+
function parseIntrospectionSchema(introspectionData) {
|
|
188
|
+
const customSchema = {
|
|
189
|
+
types: {},
|
|
190
|
+
queryType: null,
|
|
191
|
+
mutationType: null,
|
|
192
|
+
subscriptionType: null
|
|
193
|
+
};
|
|
194
|
+
try {
|
|
195
|
+
const schema = introspectionData.__schema || introspectionData.data?.__schema;
|
|
196
|
+
if (!schema) {
|
|
197
|
+
console.error("Invalid introspection data: missing __schema", introspectionData);
|
|
198
|
+
return customSchema;
|
|
199
|
+
}
|
|
200
|
+
if (schema.queryType) customSchema.queryType = schema.queryType.name;
|
|
201
|
+
if (schema.mutationType) customSchema.mutationType = schema.mutationType.name;
|
|
202
|
+
if (schema.subscriptionType) customSchema.subscriptionType = schema.subscriptionType.name;
|
|
203
|
+
if (Array.isArray(schema.types)) schema.types.forEach((type) => {
|
|
204
|
+
if (type.name && type.name.startsWith("__")) return;
|
|
205
|
+
switch (type.kind) {
|
|
206
|
+
case "OBJECT":
|
|
207
|
+
processObjectType(type, customSchema);
|
|
208
|
+
if (type.name === customSchema.queryType || type.name === customSchema.mutationType) {}
|
|
209
|
+
break;
|
|
210
|
+
case "INPUT_OBJECT":
|
|
211
|
+
processInputObjectType(type, customSchema);
|
|
212
|
+
break;
|
|
213
|
+
case "ENUM":
|
|
214
|
+
processEnumType(type, customSchema);
|
|
215
|
+
break;
|
|
216
|
+
case "INTERFACE":
|
|
217
|
+
processInterfaceType(type, customSchema);
|
|
218
|
+
break;
|
|
219
|
+
case "UNION":
|
|
220
|
+
processUnionType(type, customSchema);
|
|
221
|
+
break;
|
|
222
|
+
case "SCALAR": processScalarType(type, customSchema);
|
|
223
|
+
}
|
|
224
|
+
});
|
|
225
|
+
if (customSchema.mutationType && customSchema.types[customSchema.mutationType]) Object.keys(customSchema.types[customSchema.mutationType].fields || {});
|
|
226
|
+
return customSchema;
|
|
227
|
+
} catch (error) {
|
|
228
|
+
console.error("Error parsing introspection schema:", error);
|
|
229
|
+
return customSchema;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
function processObjectType(type, customSchema) {
|
|
233
|
+
const fields = {};
|
|
234
|
+
if (Array.isArray(type.fields)) type.fields.forEach((field) => {
|
|
235
|
+
fields[field.name] = processField(field);
|
|
236
|
+
});
|
|
237
|
+
customSchema.types[type.name] = {
|
|
238
|
+
name: type.name,
|
|
239
|
+
kind: "type",
|
|
240
|
+
fields
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
function processInputObjectType(type, customSchema) {
|
|
244
|
+
const inputFields = {};
|
|
245
|
+
if (Array.isArray(type.inputFields)) type.inputFields.forEach((field) => {
|
|
246
|
+
inputFields[field.name] = processInputFieldValue(field);
|
|
247
|
+
});
|
|
248
|
+
customSchema.types[type.name] = {
|
|
249
|
+
name: type.name,
|
|
250
|
+
kind: "input",
|
|
251
|
+
fields: {},
|
|
252
|
+
inputFields
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
function processEnumType(type, customSchema) {
|
|
256
|
+
customSchema.types[type.name] = {
|
|
257
|
+
name: type.name,
|
|
258
|
+
kind: "enum",
|
|
259
|
+
fields: {}
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
function processInterfaceType(type, customSchema) {
|
|
263
|
+
const fields = {};
|
|
264
|
+
if (Array.isArray(type.fields)) type.fields.forEach((field) => {
|
|
265
|
+
fields[field.name] = processField(field);
|
|
266
|
+
});
|
|
267
|
+
customSchema.types[type.name] = {
|
|
268
|
+
name: type.name,
|
|
269
|
+
kind: "interface",
|
|
270
|
+
fields
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
function processUnionType(type, customSchema) {
|
|
274
|
+
customSchema.types[type.name] = {
|
|
275
|
+
name: type.name,
|
|
276
|
+
kind: "union",
|
|
277
|
+
fields: {}
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
function processScalarType(type, customSchema) {
|
|
281
|
+
customSchema.types[type.name] = {
|
|
282
|
+
name: type.name,
|
|
283
|
+
kind: "scalar",
|
|
284
|
+
fields: {}
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
function processField(field) {
|
|
288
|
+
const args = [];
|
|
289
|
+
if (Array.isArray(field.args)) field.args.forEach((arg) => {
|
|
290
|
+
args.push(processInputValue(arg));
|
|
291
|
+
});
|
|
292
|
+
const typeInfo = extractTypeInfo(field.type);
|
|
293
|
+
return {
|
|
294
|
+
name: field.name,
|
|
295
|
+
type: typeInfo.typeName,
|
|
296
|
+
isNonNull: typeInfo.isNonNull,
|
|
297
|
+
isList: typeInfo.isList,
|
|
298
|
+
args
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
function processInputValue(inputValue) {
|
|
302
|
+
const typeInfo = extractTypeInfo(inputValue.type);
|
|
303
|
+
return {
|
|
304
|
+
name: inputValue.name,
|
|
305
|
+
type: typeInfo.typeName,
|
|
306
|
+
isNonNull: typeInfo.isNonNull,
|
|
307
|
+
isList: typeInfo.isList
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
function processInputFieldValue(inputValue) {
|
|
311
|
+
const typeInfo = extractTypeInfo(inputValue.type);
|
|
312
|
+
return {
|
|
313
|
+
name: inputValue.name,
|
|
314
|
+
type: typeInfo.typeName,
|
|
315
|
+
isNonNull: typeInfo.isNonNull,
|
|
316
|
+
isList: typeInfo.isList,
|
|
317
|
+
args: []
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
function extractTypeInfo(typeRef) {
|
|
321
|
+
let typeName = "";
|
|
322
|
+
let isNonNull = false;
|
|
323
|
+
let isList = false;
|
|
324
|
+
function processTypeRef(ref) {
|
|
325
|
+
if (!ref) return "Unknown";
|
|
326
|
+
if (ref.kind === "NON_NULL") {
|
|
327
|
+
isNonNull = true;
|
|
328
|
+
return processTypeRef(ref.ofType);
|
|
329
|
+
}
|
|
330
|
+
if (ref.kind === "LIST") {
|
|
331
|
+
isList = true;
|
|
332
|
+
return processTypeRef(ref.ofType);
|
|
333
|
+
}
|
|
334
|
+
return ref.name || "Unknown";
|
|
335
|
+
}
|
|
336
|
+
typeName = processTypeRef(typeRef);
|
|
337
|
+
return {
|
|
338
|
+
typeName,
|
|
339
|
+
isNonNull,
|
|
340
|
+
isList
|
|
341
|
+
};
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
// src/builder/components/mapper/use-edge-mapper-schemas.ts
|
|
345
|
+
/**
|
|
346
|
+
* The Mapper's view of one connection (BOFF-16275): the source and target
|
|
347
|
+
* schemas, the operations they describe, and the connection's stored mapping.
|
|
348
|
+
*
|
|
349
|
+
* Schemas come from the node manifests and the latest run, as the step
|
|
350
|
+
* editor (NDV) shows them (see `lib/mapper-schema.ts`). A store node whose
|
|
351
|
+
* manifest declares no fields falls back to introspecting its endpoint
|
|
352
|
+
* through wspace-workflow-svc, at the version the node was placed with.
|
|
353
|
+
* Built-in (`internal:*`) nodes have no endpoint to introspect.
|
|
354
|
+
*/
|
|
355
|
+
/** The operation name the Mapper shows when a node declares none. */
|
|
356
|
+
const DEFAULT_MAPPER_OPERATION = "execute";
|
|
357
|
+
function isRecord(value) {
|
|
358
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
359
|
+
}
|
|
360
|
+
function isStoreNode(node) {
|
|
361
|
+
return !!node?.type && !node.type.startsWith("internal:");
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* Introspect a store node's endpoint at the version it was placed with.
|
|
365
|
+
* Null when the service answers nothing.
|
|
366
|
+
*/
|
|
367
|
+
async function introspectStoreNode(nodeType, version) {
|
|
368
|
+
const data = (await getFluidGridsClient().query({
|
|
369
|
+
query: NodeSchemaIntrospectionDocument,
|
|
370
|
+
variables: {
|
|
371
|
+
nodeType,
|
|
372
|
+
version
|
|
373
|
+
}
|
|
374
|
+
})).data?.nodeSchemaIntrospection;
|
|
375
|
+
return data ? parseIntrospectionSchema(data) : null;
|
|
376
|
+
}
|
|
377
|
+
/** What to introspect for one side: a store node with a recorded version. */
|
|
378
|
+
function introspectionTarget(node, wanted) {
|
|
379
|
+
if (!wanted || !node?.type) return null;
|
|
380
|
+
const version = placedNodeVersion(node);
|
|
381
|
+
return version ? {
|
|
382
|
+
nodeType: node.type,
|
|
383
|
+
version
|
|
384
|
+
} : null;
|
|
385
|
+
}
|
|
386
|
+
/** The node's display name on the canvas, else its type. */
|
|
387
|
+
function nodeDisplayName(node) {
|
|
388
|
+
const data = isRecord(node?.data) ? node.data : void 0;
|
|
389
|
+
const nodeData = isRecord(data?.nodeData) ? data.nodeData : void 0;
|
|
390
|
+
for (const candidate of [
|
|
391
|
+
data?.label,
|
|
392
|
+
data?.name,
|
|
393
|
+
nodeData?.name
|
|
394
|
+
]) if (typeof candidate === "string" && candidate.trim() !== "") return candidate;
|
|
395
|
+
return node?.type ?? "";
|
|
396
|
+
}
|
|
397
|
+
function useEdgeMapperView(edgeId, sourceId, targetId) {
|
|
398
|
+
const sourceNode = useFlowStore((s) => s.workflow.nodes.find((node) => node.id === sourceId));
|
|
399
|
+
const targetNode = useFlowStore((s) => s.workflow.nodes.find((node) => node.id === targetId));
|
|
400
|
+
const edge = useFlowStore((s) => s.workflow.edges.find((candidate) => candidate.id === edgeId));
|
|
401
|
+
const executionLogs = useFlowStore((s) => s.execution.logs);
|
|
402
|
+
const currentRunId = useFlowStore((s) => s.execution.currentRunId);
|
|
403
|
+
const registryRevision = useNodeRegistryRevision();
|
|
404
|
+
const storedMapping = useMemo(() => edgeMappingDefinition(edge), [edge]);
|
|
405
|
+
const mappedFieldsKey = Object.keys(storedMapping).join("\0");
|
|
406
|
+
const sourceOp = useMemo(() => {
|
|
407
|
+
const data = isRecord(sourceNode?.data) ? sourceNode.data : void 0;
|
|
408
|
+
return selectedOperationOf(data, sourceNode?.type);
|
|
409
|
+
}, [sourceNode, registryRevision]);
|
|
410
|
+
const targetOp = useMemo(() => {
|
|
411
|
+
const data = isRecord(targetNode?.data) ? targetNode.data : void 0;
|
|
412
|
+
return selectedOperationOf(data, targetNode?.type);
|
|
413
|
+
}, [targetNode, registryRevision]);
|
|
414
|
+
const operationName = (node, op) => {
|
|
415
|
+
const data = isRecord(node?.data) ? node.data : void 0;
|
|
416
|
+
const pinned = typeof data?.operation_name === "string" ? data.operation_name : "";
|
|
417
|
+
return op?.name || pinned || "execute";
|
|
418
|
+
};
|
|
419
|
+
const sourceOperation = operationName(sourceNode, sourceOp);
|
|
420
|
+
const targetOperation = operationName(targetNode, targetOp);
|
|
421
|
+
const declaredSource = useMemo(() => {
|
|
422
|
+
const { fields } = resolveMappingInput({
|
|
423
|
+
source: sourceNode,
|
|
424
|
+
operation: sourceOp,
|
|
425
|
+
runId: currentRunId,
|
|
426
|
+
logs: executionLogs
|
|
427
|
+
});
|
|
428
|
+
return sourceMapperSchema(sourceOperation, fields);
|
|
429
|
+
}, [
|
|
430
|
+
sourceNode,
|
|
431
|
+
sourceOp,
|
|
432
|
+
sourceOperation,
|
|
433
|
+
currentRunId,
|
|
434
|
+
executionLogs
|
|
435
|
+
]);
|
|
436
|
+
const declaredTarget = useMemo(() => targetMapperSchema(targetOperation, fieldsFromIO(targetOp?.input_fields), mappedFieldsKey ? mappedFieldsKey.split("\0") : []), [
|
|
437
|
+
targetOp,
|
|
438
|
+
targetOperation,
|
|
439
|
+
mappedFieldsKey
|
|
440
|
+
]);
|
|
441
|
+
const needsSourceIntrospection = isStoreNode(sourceNode) && !hasMapperFields(declaredSource);
|
|
442
|
+
const needsTargetIntrospection = isStoreNode(targetNode) && !hasMapperFields(declaredTarget);
|
|
443
|
+
const sourceTarget = introspectionTarget(sourceNode, needsSourceIntrospection);
|
|
444
|
+
const targetTarget = introspectionTarget(targetNode, needsTargetIntrospection);
|
|
445
|
+
const sourceType = sourceTarget?.nodeType ?? "";
|
|
446
|
+
const sourceVersion = sourceTarget?.version ?? "";
|
|
447
|
+
const targetType = targetTarget?.nodeType ?? "";
|
|
448
|
+
const targetVersion = targetTarget?.version ?? "";
|
|
449
|
+
const introspectionKey = [
|
|
450
|
+
sourceType,
|
|
451
|
+
sourceVersion,
|
|
452
|
+
targetType,
|
|
453
|
+
targetVersion
|
|
454
|
+
].join("|");
|
|
455
|
+
const wantsIntrospection = introspectionKey !== "|||";
|
|
456
|
+
const [introspected, setIntrospected] = useState(null);
|
|
457
|
+
useEffect(() => {
|
|
458
|
+
if (!wantsIntrospection) return;
|
|
459
|
+
let cancelled = false;
|
|
460
|
+
const load = (nodeType, version) => nodeType && version ? introspectStoreNode(nodeType, version).catch(() => null) : Promise.resolve(null);
|
|
461
|
+
Promise.all([load(sourceType, sourceVersion), load(targetType, targetVersion)]).then(([source, target]) => {
|
|
462
|
+
if (!cancelled) setIntrospected({
|
|
463
|
+
key: introspectionKey,
|
|
464
|
+
source,
|
|
465
|
+
target
|
|
466
|
+
});
|
|
467
|
+
});
|
|
468
|
+
return () => {
|
|
469
|
+
cancelled = true;
|
|
470
|
+
};
|
|
471
|
+
}, [
|
|
472
|
+
introspectionKey,
|
|
473
|
+
wantsIntrospection,
|
|
474
|
+
sourceType,
|
|
475
|
+
sourceVersion,
|
|
476
|
+
targetType,
|
|
477
|
+
targetVersion
|
|
478
|
+
]);
|
|
479
|
+
const current = introspected?.key === introspectionKey ? introspected : null;
|
|
480
|
+
const loading = wantsIntrospection && current === null;
|
|
481
|
+
const sourceSchema = current?.source ? wrapOperationResult(current.source, sourceOperation) : declaredSource;
|
|
482
|
+
const targetSchema = current?.target ? current.target : declaredTarget;
|
|
483
|
+
return {
|
|
484
|
+
sourceNode,
|
|
485
|
+
targetNode,
|
|
486
|
+
sourceOperation,
|
|
487
|
+
targetOperation,
|
|
488
|
+
sourceSchema,
|
|
489
|
+
targetSchema,
|
|
490
|
+
storedMapping,
|
|
491
|
+
loading,
|
|
492
|
+
unavailable: !loading && !hasMapperFields(sourceSchema) && !hasMapperFields(targetSchema)
|
|
493
|
+
};
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
export { useEdgeMapperView as n, hasMapperFields as r, nodeDisplayName as t };
|