@dudousxd/nestjs-catalog-react 0.34.2 → 0.36.0
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 +1 -0
- package/dist/AccessConsole.d.ts +1 -1
- package/dist/AccessConsole.js +19 -19
- package/dist/CatalogManager.js +11 -11
- package/dist/ConnectionPanel.js +9 -9
- package/dist/CoverageLedger.js +1 -1
- package/dist/DashboardBoard.js +10 -10
- package/dist/EditableField.js +1 -1
- package/dist/FlowView.js +4 -4
- package/dist/GovernanceTimeline.d.ts +1 -1
- package/dist/GovernanceTimeline.js +10 -8
- package/dist/LoadExpectationSection.js +6 -6
- package/dist/LoadedBySection.d.ts +1 -1
- package/dist/LoadedBySection.js +4 -4
- package/dist/ObjectExplorer.js +20 -18
- package/dist/PipelineConsole.js +9 -9
- package/dist/QueryConsole.js +7 -7
- package/dist/SavedQueryPanel.js +7 -7
- package/dist/TraceExplorer.d.ts +3 -2
- package/dist/TraceExplorer.js +22 -14
- package/dist/TransformEditor.js +8 -8
- package/dist/WorkflowCanvas.js +30 -30
- package/dist/charts/bklit/area-chart-loading.d.ts +2 -2
- package/dist/charts/bklit/area-chart-loading.js +4 -4
- package/dist/charts/bklit/area-chart.d.ts +3 -3
- package/dist/charts/bklit/area-chart.js +7 -7
- package/dist/charts/bklit/area-gradient-defs.d.ts +1 -1
- package/dist/charts/bklit/area-gradient-defs.js +1 -1
- package/dist/charts/bklit/area.d.ts +4 -4
- package/dist/charts/bklit/area.js +11 -11
- package/dist/charts/bklit/bar-chart-loading.d.ts +1 -1
- package/dist/charts/bklit/bar-chart-loading.js +1 -1
- package/dist/charts/bklit/bar-chart.d.ts +2 -2
- package/dist/charts/bklit/bar-chart.js +12 -12
- package/dist/charts/bklit/bar-squares.d.ts +1 -1
- package/dist/charts/bklit/bar-squares.js +5 -5
- package/dist/charts/bklit/bar-x-axis.js +2 -2
- package/dist/charts/bklit/bar-y-axis.js +2 -2
- package/dist/charts/bklit/bar.js +4 -4
- package/dist/charts/bklit/chart-context.d.ts +4 -4
- package/dist/charts/bklit/chart-context.js +1 -1
- package/dist/charts/bklit/chart-loading-label.js +3 -3
- package/dist/charts/bklit/chart-reveal-clip.js +1 -1
- package/dist/charts/bklit/grid.js +3 -3
- package/dist/charts/bklit/highlight-segment-bounds.d.ts +2 -2
- package/dist/charts/bklit/line-chart-loading.d.ts +2 -2
- package/dist/charts/bklit/line-chart-loading.js +4 -4
- package/dist/charts/bklit/line-chart.d.ts +3 -3
- package/dist/charts/bklit/line-chart.js +6 -6
- package/dist/charts/bklit/line-loading-pulse.d.ts +1 -1
- package/dist/charts/bklit/line-loading-pulse.js +3 -3
- package/dist/charts/bklit/line-series-terminal-marker.js +2 -2
- package/dist/charts/bklit/line.d.ts +4 -4
- package/dist/charts/bklit/line.js +11 -11
- package/dist/charts/bklit/loading-sweep.js +2 -2
- package/dist/charts/bklit/motion-utils.js +1 -1
- package/dist/charts/bklit/pattern-area.js +1 -1
- package/dist/charts/bklit/pattern-preset.js +1 -1
- package/dist/charts/bklit/projection-config.d.ts +1 -1
- package/dist/charts/bklit/projection-config.js +3 -3
- package/dist/charts/bklit/projection-line-end-marker.d.ts +1 -1
- package/dist/charts/bklit/projection-line-end-marker.js +1 -1
- package/dist/charts/bklit/projection-line.d.ts +1 -1
- package/dist/charts/bklit/projection-line.js +2 -2
- package/dist/charts/bklit/reference-area-config.js +1 -1
- package/dist/charts/bklit/reference-area-registration-context.d.ts +1 -1
- package/dist/charts/bklit/series-dash-tail-overlay.js +2 -2
- package/dist/charts/bklit/series-highlight-layer.js +3 -3
- package/dist/charts/bklit/series-hover-dim.js +2 -2
- package/dist/charts/bklit/series-markers.d.ts +1 -1
- package/dist/charts/bklit/series-markers.js +4 -4
- package/dist/charts/bklit/series-point-marker.js +1 -1
- package/dist/charts/bklit/time-series-chart-shell.d.ts +2 -2
- package/dist/charts/bklit/time-series-chart-shell.js +20 -20
- package/dist/charts/bklit/tooltip/chart-tooltip.d.ts +4 -4
- package/dist/charts/bklit/tooltip/chart-tooltip.js +8 -8
- package/dist/charts/bklit/tooltip/index.d.ts +6 -6
- package/dist/charts/bklit/tooltip/index.js +6 -6
- package/dist/charts/bklit/tooltip/tooltip-box.d.ts +1 -1
- package/dist/charts/bklit/tooltip/tooltip-box.js +3 -3
- package/dist/charts/bklit/tooltip/tooltip-content.js +1 -1
- package/dist/charts/bklit/tooltip/tooltip-dot.d.ts +1 -1
- package/dist/charts/bklit/tooltip/tooltip-dot.js +2 -2
- package/dist/charts/bklit/tooltip/tooltip-indicator.d.ts +2 -2
- package/dist/charts/bklit/tooltip/tooltip-indicator.js +3 -3
- package/dist/charts/bklit/use-animated-series-path.js +2 -2
- package/dist/charts/bklit/use-animated-y-domains.d.ts +2 -2
- package/dist/charts/bklit/use-animated-y-domains.js +2 -2
- package/dist/charts/bklit/use-chart-interaction.d.ts +1 -1
- package/dist/charts/bklit/use-chart-interaction.js +2 -2
- package/dist/charts/bklit/use-chart-phase-orchestrator.d.ts +1 -1
- package/dist/charts/bklit/use-chart-phase-orchestrator.js +1 -1
- package/dist/charts/bklit/use-grid-shimmer.js +1 -1
- package/dist/charts/bklit/use-highlight-segment.js +3 -3
- package/dist/charts/bklit/use-mount-progress.js +1 -1
- package/dist/charts/bklit/x-axis.js +5 -5
- package/dist/charts/bklit/y-axis-scales.d.ts +1 -1
- package/dist/charts/bklit/y-domain-utils.d.ts +2 -2
- package/dist/charts/bklit/y-domain-utils.js +2 -2
- package/dist/charts/bklit.d.ts +1 -1
- package/dist/charts/bklit.js +11 -11
- package/dist/charts/body.js +4 -4
- package/dist/charts/components/shimmering-text.js +1 -1
- package/dist/charts/css.d.ts +2 -2
- package/dist/charts/css.js +1 -1
- package/dist/charts/recharts.d.ts +1 -1
- package/dist/charts/recharts.js +2 -2
- package/dist/charts/skeleton.js +1 -1
- package/dist/connection-form.js +3 -3
- package/dist/context.d.ts +50 -24
- package/dist/context.js +48 -16
- package/dist/diff/RevisionDiff.d.ts +1 -1
- package/dist/diff/RevisionDiff.js +7 -7
- package/dist/embed/EmbeddedChart.d.ts +2 -2
- package/dist/embed/EmbeddedChart.js +4 -4
- package/dist/embed/EmbeddedDashboard.d.ts +2 -2
- package/dist/embed/EmbeddedDashboard.js +6 -6
- package/dist/embed/actions.d.ts +1 -1
- package/dist/embed/actions.js +2 -2
- package/dist/embed/chart-card.d.ts +2 -2
- package/dist/embed/chart-card.js +7 -7
- package/dist/embed/index.d.ts +5 -5
- package/dist/embed/index.js +4 -4
- package/dist/embed/slots.js +1 -1
- package/dist/export/index.d.ts +6 -6
- package/dist/export/index.js +6 -6
- package/dist/export/pdf.d.ts +2 -2
- package/dist/export/pdf.js +2 -2
- package/dist/export/png.d.ts +1 -1
- package/dist/export/png.js +1 -1
- package/dist/export/serialize.js +1 -1
- package/dist/export/use-pdf-export.d.ts +2 -2
- package/dist/export/use-pdf-export.js +3 -3
- package/dist/export/use-png-export.d.ts +1 -1
- package/dist/export/use-png-export.js +1 -1
- package/dist/index.d.ts +46 -46
- package/dist/index.js +46 -46
- package/dist/routes.d.ts +3 -2
- package/dist/routes.js +4 -4
- package/dist/schema-discovery.js +2 -2
- package/dist/search-console.d.ts +2 -2
- package/dist/search-console.js +8 -8
- package/dist/sharing.js +2 -2
- package/dist/source-connection.d.ts +1 -1
- package/dist/source-connection.js +6 -6
- package/dist/source-fields.d.ts +2 -2
- package/dist/source-fields.js +6 -6
- package/dist/ui/button.js +1 -1
- package/dist/ui/chart.js +1 -1
- package/dist/ui/code-editor.d.ts +2 -2
- package/dist/ui/code-editor.js +2 -2
- package/dist/ui/combobox.js +1 -1
- package/dist/ui/data-table.js +1 -1
- package/dist/ui/dialog.js +1 -1
- package/dist/ui/field.js +1 -1
- package/dist/ui/rich-text-field.js +2 -2
- package/dist/ui/select.js +1 -1
- package/dist/ui/sheet.js +2 -2
- package/dist/ui/switch.js +1 -1
- package/dist/ui/tabs.js +1 -1
- package/dist/ui/tooltip.js +1 -1
- package/dist/workflow/canvas-menu.d.ts +1 -1
- package/dist/workflow/canvas-menu.js +4 -4
- package/dist/workflow/create.d.ts +1 -1
- package/dist/workflow/create.js +4 -4
- package/dist/workflow/edges.d.ts +1 -1
- package/dist/workflow/edges.js +1 -1
- package/dist/workflow/graph.d.ts +2 -2
- package/dist/workflow/graph.js +2 -2
- package/dist/workflow/history.d.ts +1 -1
- package/dist/workflow/history.js +6 -6
- package/dist/workflow/index.d.ts +4 -4
- package/dist/workflow/index.js +4 -4
- package/dist/workflow/lifecycle.d.ts +2 -2
- package/dist/workflow/lifecycle.js +8 -8
- package/dist/workflow/menu.d.ts +2 -2
- package/dist/workflow/menu.js +3 -3
- package/dist/workflow/nodes.d.ts +2 -2
- package/dist/workflow/nodes.js +3 -3
- package/dist/workflow/place.d.ts +1 -1
- package/dist/workflow/place.js +1 -1
- package/dist/workflow/removal.d.ts +1 -1
- package/dist/workflow/removal.js +1 -1
- package/dist/workflow/runs.js +6 -6
- package/dist/workflow/shape.d.ts +1 -1
- package/dist/workflow/shape.js +1 -1
- package/dist/workflow/validate.d.ts +1 -1
- package/dist/workflow/validate.js +3 -3
- package/dist/workflow/wiring.d.ts +1 -1
- package/dist/workflow/wiring.js +4 -4
- package/package.json +9 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
export { CatalogManager, type CatalogManagerProps } from './CatalogManager';
|
|
2
|
-
export { CoverageLedger } from './CoverageLedger';
|
|
3
|
-
export { EditableField } from './EditableField';
|
|
4
|
-
export { DELETE_STRATEGIES, LoadExpectationSection, type LoadExpectationSectionProps, } from './LoadExpectationSection';
|
|
5
|
-
export { LoadedBySection, type LoadedBySectionProps, loadersOf, } from './LoadedBySection';
|
|
6
|
-
export { cn } from './cn';
|
|
7
|
-
export { ObjectExplorer, type ObjectExplorerProps } from './ObjectExplorer';
|
|
8
|
-
export { DashboardBoard } from './DashboardBoard';
|
|
9
|
-
export { CHART_COLORS, type ChartRenderer, type ChartRendererProps, getChartRenderer, registerChartRenderer, registeredChartLibraries, seriesFrom, } from './charts/registry';
|
|
10
|
-
export { ChartEmpty, ChartFailed, ChartSkeleton, type ChartSkeletonProps, } from './charts/skeleton';
|
|
11
|
-
export { CssBarChart, looksLikeTimeSeries } from './charts/css';
|
|
12
|
-
export { EMBED_ACTIONS, type EmbedAction, type EmbedActions, EmbeddedChart, type EmbeddedChartPayload, type EmbeddedChartProps, EmbeddedDashboard, type EmbeddedDashboardPayload, type EmbeddedDashboardProps, type EmbedFailureSlot, type EmbedLoadingSlot, chartsInLayoutOrder, resolveEmbedActions, } from './embed';
|
|
13
|
-
export { FlowView } from './FlowView';
|
|
14
|
-
export { GovernanceTimeline } from './GovernanceTimeline';
|
|
15
|
-
export { QueryConsole, type QueryConsoleProps } from './QueryConsole';
|
|
16
|
-
export { CatalogSearch, type CatalogSearchProps } from './search-console';
|
|
17
|
-
export { SavedQueryPanel } from './SavedQueryPanel';
|
|
18
|
-
export { CATALOG_EVENT_META, type CatalogTraceSource, eventMeta, TraceExplorer, useTraceSource, } from './TraceExplorer';
|
|
19
|
-
export { ConnectionPanel, type ConnectionPanelProps, connectionOptionsFor, describeConnection, } from './ConnectionPanel';
|
|
20
|
-
export { CONNECTABLE_KINDS, CONNECTION_KIND_OPTIONS, CONNECTION_KINDS, type ConnectableKind, type ConnectableKindSpec, ConnectionCheckResult, type ConnectionDraft, ConnectionKindFields, type ConnectionKindSpec, type UnconnectableKindSpec, type UpdateDraft, connectableSpec, connectionConfigFor, connectionDraftFrom, connectionIsIncomplete, redactedCredentialIn, toConnectableKind, } from './connection-form';
|
|
21
|
-
export { SourceConnectionCreator } from './source-connection';
|
|
22
|
-
export { PipelineConsole, type PipelineConsoleProps, } from './PipelineConsole';
|
|
23
|
-
export { type ColumnChoice, type ConnectorSchemaDiscovery, type DiscoveredColumn, type DiscoveredTypeDraft, initialChoices, narrowDiscovery, proposalFrom, type SchemaDiscoveryBridge, SchemaDiscoveryPanel, type SchemaDrift, } from './schema-discovery';
|
|
24
|
-
export { TransformEditor, type TransformEditorProps } from './TransformEditor';
|
|
25
|
-
export { DiffBody, RevisionHistory, type RevisionHistoryProps, RevisionHistoryButton, RevisionHistorySheet, type RevisionHistorySheetProps, type RevisionSubject, type RevisionSubjectKind, } from './diff/RevisionDiff';
|
|
26
|
-
export { AccessConsole, type AccessConsoleProps } from './AccessConsole';
|
|
27
|
-
export { type CallableWorkflowRef, type CatalogWorkflow, describeDurability, describeStorage, type DurabilityCopy, isWorkflowNodeKind, newLocalId, nodeName, producedTypes, type StorageAvailability, type StorageCopy, WORKFLOW_NODE_ID_PATTERN, WORKFLOW_NODE_KINDS, type WorkflowCallNode, type WorkflowDurability, type WorkflowEdge, type WorkflowGraph, type WorkflowInput, type WorkflowNode, type WorkflowNodeKind, type WorkflowRun, type WorkflowRunNode, type WorkflowSinkNode, type WorkflowSourceNode, type WorkflowTransformNode, } from './workflow/model';
|
|
28
|
-
export { WORKFLOW_NAME } from './workflow/name';
|
|
29
|
-
export { checkShapes, type ShapeKnowledge, type SourceColumn, type SourceShape, type TargetProperty, type TargetShape, } from './workflow/shape';
|
|
30
|
-
export { canConnect, type ConnectionVerdict, edgeId, hasBlockingProblem, problemsByNode, type ValidateOptions, validateWorkflow, type WorkflowDraft, type WorkflowProblem, type WorkflowProblemCode, type WorkflowProblemLevel, wouldCycle, } from './workflow/validate';
|
|
31
|
-
export { attachTransformIds, buildWorkflowTemplate, type EnrichOptions, enrichWithLookup, fanOutTypes, type FanOutOptions, type FanOutTarget, FILE_DROP_KINDS, type FileDropOptions, joinSources, type JoinOptions, loadFileDrop, type PeriodicFullReloadOptions, periodicFullReload, planIsRunnable, planToWorkflowInput, refuseUnusableColumnNames, RELOAD_CADENCE_IDS, RELOAD_CADENCES, type ReloadCadence, replicateTable, type ReplicateTableOptions, SOURCE_KINDS, type TemplateDeclaration, type TemplateExpectation, type TemplateOutcome, type TemplatePlan, type TemplateRefusal, type TemplateRefusalCode, type TemplateRequest, type TemplateSchedule, type TemplateTransformRequest, withinMsFor, WORKFLOW_TEMPLATE_IDS, WORKFLOW_TEMPLATES, type WorkflowTemplateId, type WorkflowTemplateMeta, } from './workflow/templates';
|
|
32
|
-
export { type CatalogClient, type CatalogIdentity, type CatalogRevision, type CatalogPeoplePage, type CatalogPersonRole, type CatalogPersonSummary, type CatalogPrincipalSummary, CatalogProvider, type CatalogProviderProps, type CatalogTransport, type ConnectionInput, type ConnectionUse, catalogQueryKeys, type DeleteReconciliation, type LoadExpectation, type LoadExpectationInput, type ResolvedLoadExpectation, type RowCountBound, type StoredLoadExpectation, type PersonInput, type PersonUpsertResult, type PipelineCapabilities, type CallableWorkflowList, type ScheduledWorkflow, type TransformInput, type ListedReusableNode, type ReusableNodeInput, type ReusableNodeUsage, type SavedNodeAsReusable, type WorkflowReleaseInput, type WorkflowRunOptions, type WorkflowScheduleInput, useCatalogClient, } from './context';
|
|
33
|
-
export { type AccessRoutes, accessRoutes, DEFAULT_ACCESS_BASE_PATH, DEFAULT_PIPELINE_BASE_PATH, DEFAULT_PUBLISH_BASE_PATH, embedRoutes, type PeopleQuery, type PipelineRoutes, pipelineRoutes, } from './routes';
|
|
34
|
-
export { ConfirmDialog } from './ui/dialog';
|
|
35
|
-
export { FieldGroup, TextAreaField, TextField } from './ui/field';
|
|
36
|
-
export { Select, SelectField, type SelectOption } from './ui/select';
|
|
37
|
-
export { Combobox, ComboboxField, type ComboOption, type ComboboxProps } from './ui/combobox';
|
|
38
|
-
export { Switch } from './ui/switch';
|
|
39
|
-
export { Sheet } from './ui/sheet';
|
|
40
|
-
export { CodeEditor, type CodeEditorHandle, type CodeEditorProps, codeEditorRoot, codeEditorText, } from './ui/code-editor';
|
|
41
|
-
export { CATALOG_CODE_LANGUAGES, CATALOG_CODE_THEMES, type CatalogCodeLanguage, type CatalogCodeTheme, TRANSFORM_HIGHLIGHTED_AS, } from './ui/code-languages';
|
|
42
|
-
export { RichTextField, RichTextView, type RichTextFieldProps, } from './ui/rich-text-field';
|
|
43
|
-
export { Button, type ButtonProps, type ButtonSize, type ButtonVariant } from './ui/button';
|
|
44
|
-
export { Tabs, TabsList, TabsPanel, TabsTab } from './ui/tabs';
|
|
45
|
-
export { Tooltip, TooltipProvider } from './ui/tooltip';
|
|
46
|
-
export { buildChartPdfSource, canRasterise, type ChartPdfExporter, type ChartPdfSource, defaultPngFilename, downloadSvgAsPng, type ExportBackground, exportSvgAsPdf, findExportableSvg, getPdfExporter, type PdfExport, type PdfSourceOptions, type PngExport, type PngExportOptions, type PngExportTarget, rasteriseSerializedSvg, registerPdfExporter, serializeSvg, subscribeToPdfExporter, type SvgRasteriser, svgToPngBlob, useHasExportableSvg, usePdfExport, usePngExport, } from './export';
|
|
1
|
+
export { CatalogManager, type CatalogManagerProps } from './CatalogManager.js';
|
|
2
|
+
export { CoverageLedger } from './CoverageLedger.js';
|
|
3
|
+
export { EditableField } from './EditableField.js';
|
|
4
|
+
export { DELETE_STRATEGIES, LoadExpectationSection, type LoadExpectationSectionProps, } from './LoadExpectationSection.js';
|
|
5
|
+
export { LoadedBySection, type LoadedBySectionProps, loadersOf, } from './LoadedBySection.js';
|
|
6
|
+
export { cn } from './cn.js';
|
|
7
|
+
export { ObjectExplorer, type ObjectExplorerProps } from './ObjectExplorer.js';
|
|
8
|
+
export { DashboardBoard } from './DashboardBoard.js';
|
|
9
|
+
export { CHART_COLORS, type ChartRenderer, type ChartRendererProps, getChartRenderer, registerChartRenderer, registeredChartLibraries, seriesFrom, } from './charts/registry.js';
|
|
10
|
+
export { ChartEmpty, ChartFailed, ChartSkeleton, type ChartSkeletonProps, } from './charts/skeleton.js';
|
|
11
|
+
export { CssBarChart, looksLikeTimeSeries } from './charts/css.js';
|
|
12
|
+
export { EMBED_ACTIONS, type EmbedAction, type EmbedActions, EmbeddedChart, type EmbeddedChartPayload, type EmbeddedChartProps, EmbeddedDashboard, type EmbeddedDashboardPayload, type EmbeddedDashboardProps, type EmbedFailureSlot, type EmbedLoadingSlot, chartsInLayoutOrder, resolveEmbedActions, } from './embed/index.js';
|
|
13
|
+
export { FlowView } from './FlowView.js';
|
|
14
|
+
export { GovernanceTimeline } from './GovernanceTimeline.js';
|
|
15
|
+
export { QueryConsole, type QueryConsoleProps } from './QueryConsole.js';
|
|
16
|
+
export { CatalogSearch, type CatalogSearchProps } from './search-console.js';
|
|
17
|
+
export { SavedQueryPanel } from './SavedQueryPanel.js';
|
|
18
|
+
export { CATALOG_EVENT_META, type CatalogTraceSource, eventMeta, TraceExplorer, useTraceSource, } from './TraceExplorer.js';
|
|
19
|
+
export { ConnectionPanel, type ConnectionPanelProps, connectionOptionsFor, describeConnection, } from './ConnectionPanel.js';
|
|
20
|
+
export { CONNECTABLE_KINDS, CONNECTION_KIND_OPTIONS, CONNECTION_KINDS, type ConnectableKind, type ConnectableKindSpec, ConnectionCheckResult, type ConnectionDraft, ConnectionKindFields, type ConnectionKindSpec, type UnconnectableKindSpec, type UpdateDraft, connectableSpec, connectionConfigFor, connectionDraftFrom, connectionIsIncomplete, redactedCredentialIn, toConnectableKind, } from './connection-form.js';
|
|
21
|
+
export { SourceConnectionCreator } from './source-connection.js';
|
|
22
|
+
export { PipelineConsole, type PipelineConsoleProps, } from './PipelineConsole.js';
|
|
23
|
+
export { type ColumnChoice, type ConnectorSchemaDiscovery, type DiscoveredColumn, type DiscoveredTypeDraft, initialChoices, narrowDiscovery, proposalFrom, type SchemaDiscoveryBridge, SchemaDiscoveryPanel, type SchemaDrift, } from './schema-discovery.js';
|
|
24
|
+
export { TransformEditor, type TransformEditorProps } from './TransformEditor.js';
|
|
25
|
+
export { DiffBody, RevisionHistory, type RevisionHistoryProps, RevisionHistoryButton, RevisionHistorySheet, type RevisionHistorySheetProps, type RevisionSubject, type RevisionSubjectKind, } from './diff/RevisionDiff.js';
|
|
26
|
+
export { AccessConsole, type AccessConsoleProps } from './AccessConsole.js';
|
|
27
|
+
export { type CallableWorkflowRef, type CatalogWorkflow, describeDurability, describeStorage, type DurabilityCopy, isWorkflowNodeKind, newLocalId, nodeName, producedTypes, type StorageAvailability, type StorageCopy, WORKFLOW_NODE_ID_PATTERN, WORKFLOW_NODE_KINDS, type WorkflowCallNode, type WorkflowDurability, type WorkflowEdge, type WorkflowGraph, type WorkflowInput, type WorkflowNode, type WorkflowNodeKind, type WorkflowRun, type WorkflowRunNode, type WorkflowSinkNode, type WorkflowSourceNode, type WorkflowTransformNode, } from './workflow/model.js';
|
|
28
|
+
export { WORKFLOW_NAME } from './workflow/name.js';
|
|
29
|
+
export { checkShapes, type ShapeKnowledge, type SourceColumn, type SourceShape, type TargetProperty, type TargetShape, } from './workflow/shape.js';
|
|
30
|
+
export { canConnect, type ConnectionVerdict, edgeId, hasBlockingProblem, problemsByNode, type ValidateOptions, validateWorkflow, type WorkflowDraft, type WorkflowProblem, type WorkflowProblemCode, type WorkflowProblemLevel, wouldCycle, } from './workflow/validate.js';
|
|
31
|
+
export { attachTransformIds, buildWorkflowTemplate, type EnrichOptions, enrichWithLookup, fanOutTypes, type FanOutOptions, type FanOutTarget, FILE_DROP_KINDS, type FileDropOptions, joinSources, type JoinOptions, loadFileDrop, type PeriodicFullReloadOptions, periodicFullReload, planIsRunnable, planToWorkflowInput, refuseUnusableColumnNames, RELOAD_CADENCE_IDS, RELOAD_CADENCES, type ReloadCadence, replicateTable, type ReplicateTableOptions, SOURCE_KINDS, type TemplateDeclaration, type TemplateExpectation, type TemplateOutcome, type TemplatePlan, type TemplateRefusal, type TemplateRefusalCode, type TemplateRequest, type TemplateSchedule, type TemplateTransformRequest, withinMsFor, WORKFLOW_TEMPLATE_IDS, WORKFLOW_TEMPLATES, type WorkflowTemplateId, type WorkflowTemplateMeta, } from './workflow/templates.js';
|
|
32
|
+
export { type CatalogClient, type CatalogIdentity, type CatalogRevision, type CatalogPeoplePage, type AuditEventFilters, auditFilterParams, type EventListQuery, type TraceListQuery, type CatalogPersonRole, type CatalogPersonSummary, type CatalogPrincipalSummary, CatalogProvider, type CatalogProviderProps, type CatalogTransport, type ConnectionInput, type ConnectionUse, catalogQueryKeys, type DeleteReconciliation, type LoadExpectation, type LoadExpectationInput, type ResolvedLoadExpectation, type RowCountBound, type StoredLoadExpectation, type PersonInput, type PersonUpsertResult, type PipelineCapabilities, type CallableWorkflowList, type ScheduledWorkflow, type TransformInput, type ListedReusableNode, type ReusableNodeInput, type ReusableNodeUsage, type SavedNodeAsReusable, type WorkflowReleaseInput, type WorkflowRunOptions, type WorkflowScheduleInput, useCatalogClient, } from './context.js';
|
|
33
|
+
export { type AccessRoutes, accessRoutes, DEFAULT_ACCESS_BASE_PATH, DEFAULT_PIPELINE_BASE_PATH, DEFAULT_PUBLISH_BASE_PATH, embedRoutes, type PeopleQuery, type PipelineRoutes, pipelineRoutes, } from './routes.js';
|
|
34
|
+
export { ConfirmDialog } from './ui/dialog.js';
|
|
35
|
+
export { FieldGroup, TextAreaField, TextField } from './ui/field.js';
|
|
36
|
+
export { Select, SelectField, type SelectOption } from './ui/select.js';
|
|
37
|
+
export { Combobox, ComboboxField, type ComboOption, type ComboboxProps } from './ui/combobox.js';
|
|
38
|
+
export { Switch } from './ui/switch.js';
|
|
39
|
+
export { Sheet } from './ui/sheet.js';
|
|
40
|
+
export { CodeEditor, type CodeEditorHandle, type CodeEditorProps, codeEditorRoot, codeEditorText, } from './ui/code-editor.js';
|
|
41
|
+
export { CATALOG_CODE_LANGUAGES, CATALOG_CODE_THEMES, type CatalogCodeLanguage, type CatalogCodeTheme, TRANSFORM_HIGHLIGHTED_AS, } from './ui/code-languages.js';
|
|
42
|
+
export { RichTextField, RichTextView, type RichTextFieldProps, } from './ui/rich-text-field.js';
|
|
43
|
+
export { Button, type ButtonProps, type ButtonSize, type ButtonVariant } from './ui/button.js';
|
|
44
|
+
export { Tabs, TabsList, TabsPanel, TabsTab } from './ui/tabs.js';
|
|
45
|
+
export { Tooltip, TooltipProvider } from './ui/tooltip.js';
|
|
46
|
+
export { buildChartPdfSource, canRasterise, type ChartPdfExporter, type ChartPdfSource, defaultPngFilename, downloadSvgAsPng, type ExportBackground, exportSvgAsPdf, findExportableSvg, getPdfExporter, type PdfExport, type PdfSourceOptions, type PngExport, type PngExportOptions, type PngExportTarget, rasteriseSerializedSvg, registerPdfExporter, serializeSvg, subscribeToPdfExporter, type SvgRasteriser, svgToPngBlob, useHasExportableSvg, usePdfExport, usePngExport, } from './export/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
export { CatalogManager } from './CatalogManager';
|
|
2
|
-
export { CoverageLedger } from './CoverageLedger';
|
|
3
|
-
export { EditableField } from './EditableField';
|
|
1
|
+
export { CatalogManager } from './CatalogManager.js';
|
|
2
|
+
export { CoverageLedger } from './CoverageLedger.js';
|
|
3
|
+
export { EditableField } from './EditableField.js';
|
|
4
4
|
// Mounted on the Model screen already. Exported because a host that builds its
|
|
5
5
|
// own type panel out of this package's parts should not have to rebuild the one
|
|
6
6
|
// section that can say an incremental load of a type is currently refused.
|
|
7
|
-
export { DELETE_STRATEGIES, LoadExpectationSection, } from './LoadExpectationSection';
|
|
7
|
+
export { DELETE_STRATEGIES, LoadExpectationSection, } from './LoadExpectationSection.js';
|
|
8
8
|
// Mounted on the Model screen too, directly above the expectation section — the
|
|
9
9
|
// two are one question in two halves: who loads this type, and what is checked
|
|
10
10
|
// when they do. `loadersOf` is exported beside the component because it is the
|
|
11
11
|
// whole rule (a graph's SINKS decide, not its stored `targetType`), and a host
|
|
12
12
|
// that renders its own row wants the rule rather than a second reading of it.
|
|
13
|
-
export { LoadedBySection, loadersOf, } from './LoadedBySection';
|
|
14
|
-
export { cn } from './cn';
|
|
15
|
-
export { ObjectExplorer } from './ObjectExplorer';
|
|
16
|
-
export { DashboardBoard } from './DashboardBoard';
|
|
17
|
-
export { CHART_COLORS, getChartRenderer, registerChartRenderer, registeredChartLibraries, seriesFrom, } from './charts/registry';
|
|
18
|
-
export { ChartEmpty, ChartFailed, ChartSkeleton, } from './charts/skeleton';
|
|
13
|
+
export { LoadedBySection, loadersOf, } from './LoadedBySection.js';
|
|
14
|
+
export { cn } from './cn.js';
|
|
15
|
+
export { ObjectExplorer } from './ObjectExplorer.js';
|
|
16
|
+
export { DashboardBoard } from './DashboardBoard.js';
|
|
17
|
+
export { CHART_COLORS, getChartRenderer, registerChartRenderer, registeredChartLibraries, seriesFrom, } from './charts/registry.js';
|
|
18
|
+
export { ChartEmpty, ChartFailed, ChartSkeleton, } from './charts/skeleton.js';
|
|
19
19
|
// The fallback every other renderer degrades to, and the guard that decides
|
|
20
20
|
// when a time-scale chart cannot draw what a saved query asked for.
|
|
21
|
-
export { CssBarChart, looksLikeTimeSeries } from './charts/css';
|
|
21
|
+
export { CssBarChart, looksLikeTimeSeries } from './charts/css.js';
|
|
22
22
|
// Embedding: the same charts, in an application that is not this one. Output
|
|
23
23
|
// only — see src/embed/actions.ts for what an embed deliberately cannot do.
|
|
24
|
-
export { EMBED_ACTIONS, EmbeddedChart, EmbeddedDashboard, chartsInLayoutOrder, resolveEmbedActions, } from './embed';
|
|
25
|
-
export { FlowView } from './FlowView';
|
|
26
|
-
export { GovernanceTimeline } from './GovernanceTimeline';
|
|
27
|
-
export { QueryConsole } from './QueryConsole';
|
|
24
|
+
export { EMBED_ACTIONS, EmbeddedChart, EmbeddedDashboard, chartsInLayoutOrder, resolveEmbedActions, } from './embed/index.js';
|
|
25
|
+
export { FlowView } from './FlowView.js';
|
|
26
|
+
export { GovernanceTimeline } from './GovernanceTimeline.js';
|
|
27
|
+
export { QueryConsole } from './QueryConsole.js';
|
|
28
28
|
// One box across the whole catalog: types, properties, saved queries, boards.
|
|
29
29
|
// Not mounted anywhere by this package — a host places it wherever its shell
|
|
30
30
|
// wants a search, and tells it where each kind of thing lives with the same
|
|
31
31
|
// `explorerHref` shape `CatalogManager` takes.
|
|
32
|
-
export { CatalogSearch } from './search-console';
|
|
33
|
-
export { SavedQueryPanel } from './SavedQueryPanel';
|
|
34
|
-
export { CATALOG_EVENT_META, eventMeta, TraceExplorer, useTraceSource, } from './TraceExplorer';
|
|
32
|
+
export { CatalogSearch } from './search-console.js';
|
|
33
|
+
export { SavedQueryPanel } from './SavedQueryPanel.js';
|
|
34
|
+
export { CATALOG_EVENT_META, eventMeta, TraceExplorer, useTraceSource, } from './TraceExplorer.js';
|
|
35
35
|
// Getting data in: the addresses a pipeline reads through and the code that
|
|
36
36
|
// reshapes what it fetches. These used to live in the consuming app, which meant
|
|
37
37
|
// any other host installing this package got a console with no way to manage a
|
|
@@ -41,7 +41,7 @@ export { CATALOG_EVENT_META, eventMeta, TraceExplorer, useTraceSource, } from '.
|
|
|
41
41
|
// published workflow runs as — nothing authors one — so authoring a pipeline is
|
|
42
42
|
// `WorkflowCanvas`, on the `/workflow` subpath, and this is the two shared
|
|
43
43
|
// objects it borrows.
|
|
44
|
-
export { ConnectionPanel, connectionOptionsFor, describeConnection, } from './ConnectionPanel';
|
|
44
|
+
export { ConnectionPanel, connectionOptionsFor, describeConnection, } from './ConnectionPanel.js';
|
|
45
45
|
// What a connection IS, as data: which kinds can be one, what each needs, and
|
|
46
46
|
// the two rules — completeness, and the redaction placeholder — that decide
|
|
47
47
|
// whether a form may send one.
|
|
@@ -50,15 +50,15 @@ export { ConnectionPanel, connectionOptionsFor, describeConnection, } from './Co
|
|
|
50
50
|
// node's inspector on the canvas has its own, behind the `/workflow` subpath,
|
|
51
51
|
// and a host assembling a third should be reading these rather than restating
|
|
52
52
|
// what an S3 connection needs.
|
|
53
|
-
export { CONNECTABLE_KINDS, CONNECTION_KIND_OPTIONS, CONNECTION_KINDS, ConnectionCheckResult, ConnectionKindFields, connectableSpec, connectionConfigFor, connectionDraftFrom, connectionIsIncomplete, redactedCredentialIn, toConnectableKind, } from './connection-form';
|
|
53
|
+
export { CONNECTABLE_KINDS, CONNECTION_KIND_OPTIONS, CONNECTION_KINDS, ConnectionCheckResult, ConnectionKindFields, connectableSpec, connectionConfigFor, connectionDraftFrom, connectionIsIncomplete, redactedCredentialIn, toConnectableKind, } from './connection-form.js';
|
|
54
54
|
// Creating a connection from wherever a source is being configured.
|
|
55
55
|
//
|
|
56
56
|
// On the root entry and not behind `/workflow`, for the reason
|
|
57
57
|
// `SchemaDiscoveryPanel` is: it imports no React Flow, and it is the other half
|
|
58
58
|
// of the same offer — the sink's panel makes the type, this makes the address. A
|
|
59
59
|
// host assembling its own source inspector should be able to mount either.
|
|
60
|
-
export { SourceConnectionCreator } from './source-connection';
|
|
61
|
-
export { PipelineConsole, } from './PipelineConsole';
|
|
60
|
+
export { SourceConnectionCreator } from './source-connection.js';
|
|
61
|
+
export { PipelineConsole, } from './PipelineConsole.js';
|
|
62
62
|
// The schema-discovery seam, whole.
|
|
63
63
|
//
|
|
64
64
|
// `SchemaDiscoveryBridge` is a bridge a HOST may implement — this package cannot
|
|
@@ -75,8 +75,8 @@ export { PipelineConsole, } from './PipelineConsole';
|
|
|
75
75
|
// `SchemaDiscoveryPanel` is exported for the same reason it stopped living
|
|
76
76
|
// inside a screen: the canvas mounts it from behind the `/workflow` subpath, and
|
|
77
77
|
// a host assembling its own source inspector should be able to do the same.
|
|
78
|
-
export { initialChoices, narrowDiscovery, proposalFrom, SchemaDiscoveryPanel, } from './schema-discovery';
|
|
79
|
-
export { TransformEditor } from './TransformEditor';
|
|
78
|
+
export { initialChoices, narrowDiscovery, proposalFrom, SchemaDiscoveryPanel, } from './schema-discovery.js';
|
|
79
|
+
export { TransformEditor } from './TransformEditor.js';
|
|
80
80
|
// Why one load came out different from the last one.
|
|
81
81
|
//
|
|
82
82
|
// The screens above already carry their own way in — the transform editor, the
|
|
@@ -91,8 +91,8 @@ export { TransformEditor } from './TransformEditor';
|
|
|
91
91
|
// diff is `@pierre/diffs` now, which is a peer dependency a host already has
|
|
92
92
|
// installed, and re-exporting a weaker second differ from here would be handing
|
|
93
93
|
// out an answer that can disagree with the one this screen shows.
|
|
94
|
-
export { DiffBody, RevisionHistory, RevisionHistoryButton, RevisionHistorySheet, } from './diff/RevisionDiff';
|
|
95
|
-
export { AccessConsole } from './AccessConsole';
|
|
94
|
+
export { DiffBody, RevisionHistory, RevisionHistoryButton, RevisionHistorySheet, } from './diff/RevisionDiff.js';
|
|
95
|
+
export { AccessConsole } from './AccessConsole.js';
|
|
96
96
|
// The authored graph: sources wired through transforms into sinks.
|
|
97
97
|
//
|
|
98
98
|
// `<WorkflowCanvas />` itself is **not** exported here. It imports
|
|
@@ -114,8 +114,8 @@ export { AccessConsole } from './AccessConsole';
|
|
|
114
114
|
// Most of what follows is re-exported from `@dudousxd/nestjs-catalog/client`
|
|
115
115
|
// rather than declared here — a node, an edge and a graph have one definition,
|
|
116
116
|
// and it belongs to the package that executes them. See `workflow/model.ts`.
|
|
117
|
-
export { describeDurability, describeStorage, isWorkflowNodeKind, newLocalId, nodeName, producedTypes, WORKFLOW_NODE_ID_PATTERN, WORKFLOW_NODE_KINDS, } from './workflow/model';
|
|
118
|
-
export { WORKFLOW_NAME } from './workflow/name';
|
|
117
|
+
export { describeDurability, describeStorage, isWorkflowNodeKind, newLocalId, nodeName, producedTypes, WORKFLOW_NODE_ID_PATTERN, WORKFLOW_NODE_KINDS, } from './workflow/model.js';
|
|
118
|
+
export { WORKFLOW_NAME } from './workflow/name.js';
|
|
119
119
|
// Whether what a source reads fits the type its sink writes.
|
|
120
120
|
//
|
|
121
121
|
// The canvas answers this for itself now — it holds what `discoverSourceSchema`
|
|
@@ -124,20 +124,20 @@ export { WORKFLOW_NAME } from './workflow/name';
|
|
|
124
124
|
// because the comparison is pure and a host may well want it somewhere else: a
|
|
125
125
|
// pre-flight before a scheduled run, say. `ConnectorSchemaDiscovery` above is
|
|
126
126
|
// already a `SourceShape`, so that caller has one for free.
|
|
127
|
-
export { checkShapes, } from './workflow/shape';
|
|
127
|
+
export { checkShapes, } from './workflow/shape.js';
|
|
128
128
|
// Core's rules, run in the browser, plus the questions core cannot answer:
|
|
129
129
|
// whether a connection is legal mid-drag, whether a node names a transform that
|
|
130
130
|
// still exists, and whether a source supplies the columns its sink writes.
|
|
131
131
|
// Exported so a host can run the same checks before it offers a save — never so
|
|
132
132
|
// it can skip the server's, which is the authority.
|
|
133
|
-
export { canConnect, edgeId, hasBlockingProblem, problemsByNode, validateWorkflow, wouldCycle, } from './workflow/validate';
|
|
133
|
+
export { canConnect, edgeId, hasBlockingProblem, problemsByNode, validateWorkflow, wouldCycle, } from './workflow/validate.js';
|
|
134
134
|
// The prefilled graphs, on this entry point rather than on `/workflow` because
|
|
135
135
|
// they import no React Flow: a template produces nodes, edges, transform bodies
|
|
136
136
|
// and expectation payloads, and a host should be able to build one — or check
|
|
137
137
|
// what it would decide — without installing a canvas to do it. Whether a screen
|
|
138
138
|
// then draws the result is the canvas's business, not the template's.
|
|
139
|
-
export { attachTransformIds, buildWorkflowTemplate, enrichWithLookup, fanOutTypes, FILE_DROP_KINDS, joinSources, loadFileDrop, periodicFullReload, planIsRunnable, planToWorkflowInput, refuseUnusableColumnNames, RELOAD_CADENCE_IDS, RELOAD_CADENCES, replicateTable, SOURCE_KINDS, withinMsFor, WORKFLOW_TEMPLATE_IDS, WORKFLOW_TEMPLATES, } from './workflow/templates';
|
|
140
|
-
export { CatalogProvider, catalogQueryKeys, useCatalogClient, } from './context';
|
|
139
|
+
export { attachTransformIds, buildWorkflowTemplate, enrichWithLookup, fanOutTypes, FILE_DROP_KINDS, joinSources, loadFileDrop, periodicFullReload, planIsRunnable, planToWorkflowInput, refuseUnusableColumnNames, RELOAD_CADENCE_IDS, RELOAD_CADENCES, replicateTable, SOURCE_KINDS, withinMsFor, WORKFLOW_TEMPLATE_IDS, WORKFLOW_TEMPLATES, } from './workflow/templates.js';
|
|
140
|
+
export { auditFilterParams, CatalogProvider, catalogQueryKeys, useCatalogClient, } from './context.js';
|
|
141
141
|
// The paths behind the pipeline and access screens, exported so a host can
|
|
142
142
|
// mount those endpoints wherever it likes and tell the provider where they are.
|
|
143
143
|
// See routes.ts for why they are here rather than in the server package.
|
|
@@ -149,29 +149,29 @@ export { accessRoutes, DEFAULT_ACCESS_BASE_PATH, DEFAULT_PIPELINE_BASE_PATH,
|
|
|
149
149
|
DEFAULT_PUBLISH_BASE_PATH,
|
|
150
150
|
// The embed paths, which the catalog controller does serve — exported so a
|
|
151
151
|
// host writing its own embed consumer need not restate them. See routes.ts.
|
|
152
|
-
embedRoutes, pipelineRoutes, } from './routes';
|
|
152
|
+
embedRoutes, pipelineRoutes, } from './routes.js';
|
|
153
153
|
// The vendored primitives. Exported because a host composing its own screen out
|
|
154
154
|
// of this package's parts should not have to rebuild a tooltip to match.
|
|
155
|
-
export { ConfirmDialog } from './ui/dialog';
|
|
156
|
-
export { FieldGroup, TextAreaField, TextField } from './ui/field';
|
|
157
|
-
export { Select, SelectField } from './ui/select';
|
|
158
|
-
export { Combobox, ComboboxField } from './ui/combobox';
|
|
159
|
-
export { Switch } from './ui/switch';
|
|
160
|
-
export { Sheet } from './ui/sheet';
|
|
155
|
+
export { ConfirmDialog } from './ui/dialog.js';
|
|
156
|
+
export { FieldGroup, TextAreaField, TextField } from './ui/field.js';
|
|
157
|
+
export { Select, SelectField } from './ui/select.js';
|
|
158
|
+
export { Combobox, ComboboxField } from './ui/combobox.js';
|
|
159
|
+
export { Switch } from './ui/switch.js';
|
|
160
|
+
export { Sheet } from './ui/sheet.js';
|
|
161
161
|
// `codeEditorRoot` and `codeEditorText` come with it because the editor renders
|
|
162
162
|
// into a shadow root: without them a host cannot assert on its own screen, and
|
|
163
163
|
// every consumer would rediscover the tag name by reading our source.
|
|
164
|
-
export { CodeEditor, codeEditorRoot, codeEditorText, } from './ui/code-editor';
|
|
164
|
+
export { CodeEditor, codeEditorRoot, codeEditorText, } from './ui/code-editor.js';
|
|
165
165
|
// The grammars and themes the editor above can be given, which is a shorter list
|
|
166
166
|
// than Shiki's and is the reason `dist/spa` is not nine tenths grammar files. A
|
|
167
167
|
// host reads `CatalogCodeLanguage` off `CodeEditorProps` anyway; it is named here
|
|
168
168
|
// so the set can be asserted against, and so the build plugin that enforces it —
|
|
169
169
|
// `@dudousxd/nestjs-catalog-react/bundler` — has something to point at.
|
|
170
|
-
export { CATALOG_CODE_LANGUAGES, CATALOG_CODE_THEMES, TRANSFORM_HIGHLIGHTED_AS, } from './ui/code-languages';
|
|
171
|
-
export { RichTextField, RichTextView, } from './ui/rich-text-field';
|
|
172
|
-
export { Button } from './ui/button';
|
|
173
|
-
export { Tabs, TabsList, TabsPanel, TabsTab } from './ui/tabs';
|
|
174
|
-
export { Tooltip, TooltipProvider } from './ui/tooltip';
|
|
170
|
+
export { CATALOG_CODE_LANGUAGES, CATALOG_CODE_THEMES, TRANSFORM_HIGHLIGHTED_AS, } from './ui/code-languages.js';
|
|
171
|
+
export { RichTextField, RichTextView, } from './ui/rich-text-field.js';
|
|
172
|
+
export { Button } from './ui/button.js';
|
|
173
|
+
export { Tabs, TabsList, TabsPanel, TabsTab } from './ui/tabs.js';
|
|
174
|
+
export { Tooltip, TooltipProvider } from './ui/tooltip.js';
|
|
175
175
|
// Getting a chart out of the console as a file.
|
|
176
176
|
//
|
|
177
177
|
// PNG needs no dependency at all — a serialised SVG, a canvas and `toBlob` are
|
|
@@ -185,4 +185,4 @@ export { Tooltip, TooltipProvider } from './ui/tooltip';
|
|
|
185
185
|
// want, which is the same argument `charts/registry.tsx` makes about chart
|
|
186
186
|
// libraries. The host registers something backed by its own document pipeline,
|
|
187
187
|
// and where nobody did, no PDF action appears.
|
|
188
|
-
export { buildChartPdfSource, canRasterise, defaultPngFilename, downloadSvgAsPng, exportSvgAsPdf, findExportableSvg, getPdfExporter, rasteriseSerializedSvg, registerPdfExporter, serializeSvg, subscribeToPdfExporter, svgToPngBlob, useHasExportableSvg, usePdfExport, usePngExport, } from './export';
|
|
188
|
+
export { buildChartPdfSource, canRasterise, defaultPngFilename, downloadSvgAsPng, exportSvgAsPdf, findExportableSvg, getPdfExporter, rasteriseSerializedSvg, registerPdfExporter, serializeSvg, subscribeToPdfExporter, svgToPngBlob, useHasExportableSvg, usePdfExport, usePngExport, } from './export/index.js';
|
package/dist/routes.d.ts
CHANGED
|
@@ -328,9 +328,10 @@ export interface AccessRoutes {
|
|
|
328
328
|
*/
|
|
329
329
|
people(query?: PeopleQuery): string;
|
|
330
330
|
}
|
|
331
|
+
/** `search`, plus the Aviary offset paging params `page` (1-based) and `size`. */
|
|
331
332
|
export interface PeopleQuery {
|
|
332
333
|
search?: string;
|
|
333
|
-
|
|
334
|
-
|
|
334
|
+
page?: number;
|
|
335
|
+
size?: number;
|
|
335
336
|
}
|
|
336
337
|
export declare function accessRoutes(basePath?: string): AccessRoutes;
|
package/dist/routes.js
CHANGED
|
@@ -170,10 +170,10 @@ export function accessRoutes(basePath = DEFAULT_ACCESS_BASE_PATH) {
|
|
|
170
170
|
const params = new URLSearchParams();
|
|
171
171
|
if (query?.search)
|
|
172
172
|
params.set('search', query.search);
|
|
173
|
-
if (query?.
|
|
174
|
-
params.set('
|
|
175
|
-
if (query?.
|
|
176
|
-
params.set('
|
|
173
|
+
if (query?.page !== undefined)
|
|
174
|
+
params.set('page', String(query.page));
|
|
175
|
+
if (query?.size !== undefined)
|
|
176
|
+
params.set('size', String(query.size));
|
|
177
177
|
const search = params.toString();
|
|
178
178
|
return search ? `${base}/people?${search}` : `${base}/people`;
|
|
179
179
|
},
|
package/dist/schema-discovery.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
import { useMutation } from '@tanstack/react-query';
|
|
3
3
|
import { CircleCheck, Loader2, Save, ScanSearch, TriangleAlert } from 'lucide-react';
|
|
4
4
|
import { useState } from 'react';
|
|
5
|
-
import { cn } from './cn';
|
|
6
|
-
import { Button } from './ui/button';
|
|
5
|
+
import { cn } from './cn.js';
|
|
6
|
+
import { Button } from './ui/button.js';
|
|
7
7
|
const MUTED = 'text-zinc-400 dark:text-zinc-500';
|
|
8
8
|
const RULE = 'border-zinc-200 dark:border-zinc-800';
|
|
9
9
|
/**
|
package/dist/search-console.d.ts
CHANGED
|
@@ -14,10 +14,10 @@ export interface CatalogSearchProps {
|
|
|
14
14
|
/** Where a dashboard opens. Omit to render dashboard rows as plain rows. */
|
|
15
15
|
dashboardHref?: (id: string) => string;
|
|
16
16
|
/** How many rows to ask for. The server caps whatever this says. */
|
|
17
|
-
|
|
17
|
+
size?: number;
|
|
18
18
|
placeholder?: string;
|
|
19
19
|
/** Heading copy, so the host can call this whatever its users call it. */
|
|
20
20
|
title?: string;
|
|
21
21
|
eyebrow?: string;
|
|
22
22
|
}
|
|
23
|
-
export declare function CatalogSearch({ explorerHref, savedQueryHref, dashboardHref,
|
|
23
|
+
export declare function CatalogSearch({ explorerHref, savedQueryHref, dashboardHref, size, placeholder, title, eyebrow, }: CatalogSearchProps): import("react").JSX.Element;
|
package/dist/search-console.js
CHANGED
|
@@ -2,9 +2,9 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
import { useQuery } from '@tanstack/react-query';
|
|
3
3
|
import { ArrowUpRight, Search } from 'lucide-react';
|
|
4
4
|
import { useEffect, useMemo, useState } from 'react';
|
|
5
|
-
import { cn } from './cn';
|
|
6
|
-
import { catalogQueryKeys, useCatalogClient } from './context';
|
|
7
|
-
import { TextField } from './ui/field';
|
|
5
|
+
import { cn } from './cn.js';
|
|
6
|
+
import { catalogQueryKeys, useCatalogClient } from './context.js';
|
|
7
|
+
import { TextField } from './ui/field.js';
|
|
8
8
|
/**
|
|
9
9
|
* One box that crosses the catalog.
|
|
10
10
|
*
|
|
@@ -66,7 +66,7 @@ const RANK_TONE = {
|
|
|
66
66
|
* is not instant, and above the interval at which anybody types.
|
|
67
67
|
*/
|
|
68
68
|
const DEBOUNCE_MS = 200;
|
|
69
|
-
export function CatalogSearch({ explorerHref, savedQueryHref, dashboardHref,
|
|
69
|
+
export function CatalogSearch({ explorerHref, savedQueryHref, dashboardHref, size, placeholder = 'A type, a column, a report — whatever you remember', title = 'Search', eyebrow = 'Across the catalog', }) {
|
|
70
70
|
const client = useCatalogClient();
|
|
71
71
|
const [term, setTerm] = useState('');
|
|
72
72
|
const [debounced, setDebounced] = useState('');
|
|
@@ -76,8 +76,8 @@ export function CatalogSearch({ explorerHref, savedQueryHref, dashboardHref, lim
|
|
|
76
76
|
}, [term]);
|
|
77
77
|
const trimmed = debounced.trim();
|
|
78
78
|
const { data, isFetching, isError } = useQuery({
|
|
79
|
-
queryKey: catalogQueryKeys.search(trimmed,
|
|
80
|
-
queryFn: () => client.search(trimmed,
|
|
79
|
+
queryKey: catalogQueryKeys.search(trimmed, size),
|
|
80
|
+
queryFn: () => client.search(trimmed, size),
|
|
81
81
|
// An empty box asks nothing. The route answers an empty term with an empty
|
|
82
82
|
// result rather than a 400, so this is politeness rather than protection —
|
|
83
83
|
// but a request fired on mount, before anybody has typed, is a request the
|
|
@@ -89,7 +89,7 @@ export function CatalogSearch({ explorerHref, savedQueryHref, dashboardHref, lim
|
|
|
89
89
|
staleTime: 15_000,
|
|
90
90
|
});
|
|
91
91
|
const grouped = useMemo(() => {
|
|
92
|
-
const hits = data?.
|
|
92
|
+
const hits = data?.data ?? [];
|
|
93
93
|
return KIND_ORDER.map((kind) => [kind, hits.filter((hit) => hit.kind === kind)]).filter(([, rows]) => rows.length > 0);
|
|
94
94
|
}, [data]);
|
|
95
95
|
function hrefFor(hit) {
|
|
@@ -103,7 +103,7 @@ export function CatalogSearch({ explorerHref, savedQueryHref, dashboardHref, lim
|
|
|
103
103
|
return savedQueryHref?.(hit.id);
|
|
104
104
|
return dashboardHref?.(hit.id);
|
|
105
105
|
}
|
|
106
|
-
return (_jsxs("div", { className: "mx-auto flex h-full max-w-3xl flex-col px-6 py-8", children: [_jsxs("header", { className: "shrink-0", children: [_jsx("p", { className: cn('font-mono text-[10px] uppercase tracking-[0.14em]', MUTED), children: eyebrow }), _jsx("h2", { className: "mt-1 text-2xl font-semibold tracking-tight", children: title })] }), _jsxs("div", { className: "relative mt-5 shrink-0", children: [_jsx(Search, { size: 14, className: cn('pointer-events-none absolute right-2.5 top-[1.9rem] z-10', MUTED) }), _jsx(TextField, { label: "Search the catalog", value: term, onChange: setTerm, placeholder: placeholder })] }), _jsxs("div", { className: "mt-4 min-h-0 flex-1 overflow-y-auto", children: [_jsx(Status, { term: trimmed, isError: isError, isFetching: isFetching, total: data?.total, shown: data?.
|
|
106
|
+
return (_jsxs("div", { className: "mx-auto flex h-full max-w-3xl flex-col px-6 py-8", children: [_jsxs("header", { className: "shrink-0", children: [_jsx("p", { className: cn('font-mono text-[10px] uppercase tracking-[0.14em]', MUTED), children: eyebrow }), _jsx("h2", { className: "mt-1 text-2xl font-semibold tracking-tight", children: title })] }), _jsxs("div", { className: "relative mt-5 shrink-0", children: [_jsx(Search, { size: 14, className: cn('pointer-events-none absolute right-2.5 top-[1.9rem] z-10', MUTED) }), _jsx(TextField, { label: "Search the catalog", value: term, onChange: setTerm, placeholder: placeholder })] }), _jsxs("div", { className: "mt-4 min-h-0 flex-1 overflow-y-auto", children: [_jsx(Status, { term: trimmed, isError: isError, isFetching: isFetching, total: data?.total, shown: data?.data.length, truncated: data?.truncated }), grouped.map(([kind, rows]) => (_jsxs("section", { className: "mb-5", children: [_jsxs("div", { className: cn('flex items-baseline justify-between border-b px-1 pb-1', RULE), children: [_jsx("span", { className: cn('font-mono text-[10px] uppercase tracking-[0.14em]', MUTED), children: KIND_LABEL[kind] }), _jsx("span", { className: cn('font-mono text-[10px]', MUTED), children: rows.length })] }), rows.map((hit) => (_jsx(Row, { hit: hit, href: hrefFor(hit) }, `${hit.kind}:${hit.typeName ?? ''}:${hit.id}`)))] }, kind)))] })] }));
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
109
|
* The line above the results, which has four things to say and must not confuse
|
package/dist/sharing.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Lock, Share2 } from 'lucide-react';
|
|
3
|
-
import { cn } from './cn';
|
|
4
|
-
import { Button } from './ui/button';
|
|
3
|
+
import { cn } from './cn.js';
|
|
4
|
+
import { Button } from './ui/button.js';
|
|
5
5
|
const MUTED = 'text-zinc-400 dark:text-zinc-500';
|
|
6
6
|
const RULE = 'border-zinc-200 dark:border-zinc-800';
|
|
7
7
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CatalogConnection } from '@dudousxd/nestjs-catalog/client';
|
|
2
|
-
import { type ConnectableKind } from './connection-form';
|
|
2
|
+
import { type ConnectableKind } from './connection-form.js';
|
|
3
3
|
/**
|
|
4
4
|
* Making the address a source reads through, without leaving the canvas.
|
|
5
5
|
*
|
|
@@ -2,12 +2,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
3
3
|
import { Loader2, Plug, Plus } from 'lucide-react';
|
|
4
4
|
import { useState } from 'react';
|
|
5
|
-
import { cn } from './cn';
|
|
6
|
-
import { ConnectionCheckResult, ConnectionKindFields, connectableSpec, connectionConfigFor, connectionDraftFrom, connectionIsIncomplete, redactedCredentialIn, } from './connection-form';
|
|
7
|
-
import { catalogQueryKeys, useCatalogClient } from './context';
|
|
8
|
-
import { Button } from './ui/button';
|
|
9
|
-
import { TextField } from './ui/field';
|
|
10
|
-
import { WORKFLOW_NAME } from './workflow/name';
|
|
5
|
+
import { cn } from './cn.js';
|
|
6
|
+
import { ConnectionCheckResult, ConnectionKindFields, connectableSpec, connectionConfigFor, connectionDraftFrom, connectionIsIncomplete, redactedCredentialIn, } from './connection-form.js';
|
|
7
|
+
import { catalogQueryKeys, useCatalogClient } from './context.js';
|
|
8
|
+
import { Button } from './ui/button.js';
|
|
9
|
+
import { TextField } from './ui/field.js';
|
|
10
|
+
import { WORKFLOW_NAME } from './workflow/name.js';
|
|
11
11
|
const MUTED = 'text-zinc-400 dark:text-zinc-500';
|
|
12
12
|
const RULE = 'border-zinc-200 dark:border-zinc-800';
|
|
13
13
|
const REFUSAL = 'text-[11px] leading-relaxed text-red-600 dark:text-red-400';
|
package/dist/source-fields.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ConnectorKind, SnapshotRef } from '@dudousxd/nestjs-catalog/client';
|
|
2
|
-
import { type ConnectableKind } from './connection-form';
|
|
3
|
-
import { type StorageAvailability } from './workflow/model';
|
|
2
|
+
import { type ConnectableKind } from './connection-form.js';
|
|
3
|
+
import { type StorageAvailability } from './workflow/model.js';
|
|
4
4
|
/** A select hands back a string. Narrow it rather than promise it is a kind. */
|
|
5
5
|
export declare function toConnectorKind(value: string): ConnectorKind;
|
|
6
6
|
/** The sources that can be asked what changed. The rest always read it all. */
|
package/dist/source-fields.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { CATALOG_SOURCE_SNAPSHOT_KEY, CATALOG_SOURCE_TYPE_KEY, CONNECTOR_KINDS, SOURCE_FORMATS, catalogSnapshotRefusal, } from '@dudousxd/nestjs-catalog/client';
|
|
3
|
-
import { cn } from './cn';
|
|
4
|
-
import { CONNECTION_KINDS } from './connection-form';
|
|
5
|
-
import { FieldGroup, TextAreaField, TextField } from './ui/field';
|
|
6
|
-
import { SelectField } from './ui/select';
|
|
7
|
-
import { Switch } from './ui/switch';
|
|
8
|
-
import { describeStorage } from './workflow/model';
|
|
3
|
+
import { cn } from './cn.js';
|
|
4
|
+
import { CONNECTION_KINDS } from './connection-form.js';
|
|
5
|
+
import { FieldGroup, TextAreaField, TextField } from './ui/field.js';
|
|
6
|
+
import { SelectField } from './ui/select.js';
|
|
7
|
+
import { Switch } from './ui/switch.js';
|
|
8
|
+
import { describeStorage } from './workflow/model.js';
|
|
9
9
|
/**
|
|
10
10
|
* Describing where records are read from, in one place.
|
|
11
11
|
*
|
package/dist/ui/button.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from '../cn';
|
|
2
|
+
import { cn } from '../cn.js';
|
|
3
3
|
const BASE = cn('inline-flex shrink-0 items-center justify-center gap-1.5 whitespace-nowrap rounded-md', 'font-medium transition-colors outline-none', 'focus-visible:ring-2 focus-visible:ring-sky-500/40',
|
|
4
4
|
// Both, and deliberately: `disabled` alone still fires hover styles and still
|
|
5
5
|
// shows a pointer, so a dead button looks alive right up until it is clicked.
|
package/dist/ui/chart.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as RechartsPrimitive from 'recharts';
|
|
4
|
-
import { cn } from '../cn';
|
|
4
|
+
import { cn } from '../cn.js';
|
|
5
5
|
/**
|
|
6
6
|
* shadcn/ui's chart primitives, vendored.
|
|
7
7
|
*
|
package/dist/ui/code-editor.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { KeyboardEvent, Ref } from 'react';
|
|
2
|
-
import type { CatalogCodeLanguage } from './code-languages';
|
|
3
|
-
import { type CodeThemeType } from './code-theme';
|
|
2
|
+
import type { CatalogCodeLanguage } from './code-languages.js';
|
|
3
|
+
import { type CodeThemeType } from './code-theme.js';
|
|
4
4
|
/**
|
|
5
5
|
* A code editor: `@pierre/diffs` in edit mode, wrapped so the rest of this
|
|
6
6
|
* package can hand it a string and get one back.
|
package/dist/ui/code-editor.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Editor } from '@pierre/diffs/edit';
|
|
3
3
|
import { EditProvider, File } from '@pierre/diffs/react';
|
|
4
4
|
import { useImperativeHandle, useRef } from 'react';
|
|
5
|
-
import { cn } from '../cn';
|
|
6
|
-
import { useCodeThemeType } from './code-theme';
|
|
5
|
+
import { cn } from '../cn.js';
|
|
6
|
+
import { useCodeThemeType } from './code-theme.js';
|
|
7
7
|
/**
|
|
8
8
|
* The options every code surface in this package shares.
|
|
9
9
|
*
|
package/dist/ui/combobox.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { Autocomplete } from '@base-ui/react/autocomplete';
|
|
3
3
|
import { Check, ChevronsUpDown } from 'lucide-react';
|
|
4
4
|
import { useState } from 'react';
|
|
5
|
-
import { cn } from '../cn';
|
|
5
|
+
import { cn } from '../cn.js';
|
|
6
6
|
const CONTROL = cn('w-full rounded-md border py-1.5 pl-2 pr-7 text-xs outline-none', 'border-zinc-200 bg-white text-zinc-900 placeholder:text-zinc-400', 'dark:border-zinc-800 dark:bg-zinc-900 dark:text-zinc-100 dark:placeholder:text-zinc-600', 'focus-visible:border-sky-500 focus-visible:ring-2 focus-visible:ring-sky-500/15', 'disabled:opacity-40');
|
|
7
7
|
export function Combobox({ value, onValueChange, onSelect, options, emptyMessage = 'Nothing here matches that.', placeholder, disabled, ariaLabel, className, }) {
|
|
8
8
|
/**
|
package/dist/ui/data-table.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-run
|
|
|
2
2
|
import { coreCellsFeature, coreColumnsFeature, coreHeadersFeature, coreRowModelsFeature, coreRowsFeature, coreTablesFeature, createCoreRowModel, flexRender, useTable, } from '@tanstack/react-table';
|
|
3
3
|
import { ArrowDown, ArrowUp, ChevronsUpDown } from 'lucide-react';
|
|
4
4
|
import { useMemo } from 'react';
|
|
5
|
-
import { cn } from '../cn';
|
|
5
|
+
import { cn } from '../cn.js';
|
|
6
6
|
/**
|
|
7
7
|
* The v9 feature set, listed once.
|
|
8
8
|
*
|
package/dist/ui/dialog.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Dialog as BaseDialog } from '@base-ui/react/dialog';
|
|
3
3
|
import { Loader2 } from 'lucide-react';
|
|
4
|
-
import { cn } from '../cn';
|
|
4
|
+
import { cn } from '../cn.js';
|
|
5
5
|
/**
|
|
6
6
|
* A confirmation dialog, vendored in the shadcn style on Base UI.
|
|
7
7
|
*
|
package/dist/ui/field.js
CHANGED
|
@@ -4,8 +4,8 @@ import StarterKit from '@tiptap/starter-kit';
|
|
|
4
4
|
import { Bold, Check, Code, Italic, List, ListOrdered, X } from 'lucide-react';
|
|
5
5
|
import { useEffect, useState } from 'react';
|
|
6
6
|
import { Markdown } from 'tiptap-markdown';
|
|
7
|
-
import { cn } from '../cn';
|
|
8
|
-
import { Button } from './button';
|
|
7
|
+
import { cn } from '../cn.js';
|
|
8
|
+
import { Button } from './button.js';
|
|
9
9
|
/**
|
|
10
10
|
* A curated description, edited as rich text and stored as **markdown**.
|
|
11
11
|
*
|
package/dist/ui/select.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Select as BaseSelect } from '@base-ui/react/select';
|
|
3
3
|
import { Check, ChevronsUpDown } from 'lucide-react';
|
|
4
|
-
import { cn } from '../cn';
|
|
4
|
+
import { cn } from '../cn.js';
|
|
5
5
|
export function Select({ value, onValueChange, options, ariaLabel, placeholder = 'Choose…', disabled, className, }) {
|
|
6
6
|
const selected = options.find((option) => option.value === value);
|
|
7
7
|
return (_jsxs(BaseSelect.Root, { value: value,
|
package/dist/ui/sheet.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Dialog as BaseDialog } from '@base-ui/react/dialog';
|
|
3
3
|
import { X } from 'lucide-react';
|
|
4
|
-
import { cn } from '../cn';
|
|
5
|
-
import { Tooltip } from './tooltip';
|
|
4
|
+
import { cn } from '../cn.js';
|
|
5
|
+
import { Tooltip } from './tooltip.js';
|
|
6
6
|
/**
|
|
7
7
|
* A panel that slides in from the right, on Base UI's Dialog.
|
|
8
8
|
*
|