@dudousxd/nestjs-catalog-react 0.11.0 → 0.12.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/dist/index.d.ts CHANGED
@@ -15,14 +15,14 @@ export { CatalogSearch, type CatalogSearchProps } from './search-console';
15
15
  export { SavedQueryPanel } from './SavedQueryPanel';
16
16
  export { CATALOG_EVENT_META, type CatalogTraceSource, eventMeta, TraceExplorer, useTraceSource, } from './TraceExplorer';
17
17
  export { ConnectionPanel, type ConnectionPanelProps, connectionOptionsFor, describeConnection, } from './ConnectionPanel';
18
- export { PipelineConsole, type PipelineConsoleProps } from './PipelineConsole';
18
+ export { type ColumnChoice, type ConnectorSchemaDiscovery, type DiscoveredColumn, type DiscoveredTypeDraft, initialChoices, PipelineConsole, type PipelineConsoleProps, proposalFrom, type SchemaDiscoveryBridge, type SchemaDrift, } from './PipelineConsole';
19
19
  export { TransformEditor, type TransformEditorProps } from './TransformEditor';
20
20
  export { AccessConsole, type AccessConsoleProps } from './AccessConsole';
21
- export { type CatalogWorkflow, describeDurability, isWorkflowNodeKind, newLocalId, nodeName, producedTypes, WORKFLOW_NODE_ID_PATTERN, WORKFLOW_NODE_KINDS, 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';
21
+ export { type CatalogWorkflow, describeDurability, type DurabilityCopy, isWorkflowNodeKind, newLocalId, nodeName, producedTypes, WORKFLOW_NODE_ID_PATTERN, WORKFLOW_NODE_KINDS, 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';
22
22
  export { WORKFLOW_NAME } from './workflow/name';
23
- export { canConnect, type ConnectionVerdict, edgeId, hasBlockingProblem, problemsByNode, validateWorkflow, type WorkflowProblem, type WorkflowProblemCode, wouldCycle, } from './workflow/validate';
24
- export { type CatalogClient, type CatalogIdentity, type CatalogPersonRole, type CatalogPersonSummary, type CatalogPrincipalSummary, CatalogProvider, type CatalogProviderProps, type CatalogTransport, type ConnectionInput, type ConnectorInput, catalogQueryKeys, type PersonInput, type PersonUpsertResult, type PipelineCapabilities, type TransformInput, useCatalogClient, } from './context';
25
- export { type AccessRoutes, accessRoutes, DEFAULT_ACCESS_BASE_PATH, DEFAULT_PIPELINE_BASE_PATH, embedRoutes, type PipelineRoutes, pipelineRoutes, } from './routes';
23
+ export { canConnect, type ConnectionVerdict, edgeId, hasBlockingProblem, problemsByNode, type ValidateOptions, validateWorkflow, type WorkflowDraft, type WorkflowProblem, type WorkflowProblemCode, type WorkflowProblemLevel, wouldCycle, } from './workflow/validate';
24
+ export { type CatalogClient, type CatalogIdentity, type CatalogPeoplePage, type CatalogPersonRole, type CatalogPersonSummary, type CatalogPrincipalSummary, CatalogProvider, type CatalogProviderProps, type CatalogTransport, type ConnectionInput, type ConnectorInput, catalogQueryKeys, type PersonInput, type PersonUpsertResult, type PipelineCapabilities, type TransformInput, useCatalogClient, } from './context';
25
+ export { type AccessRoutes, accessRoutes, DEFAULT_ACCESS_BASE_PATH, DEFAULT_PIPELINE_BASE_PATH, DEFAULT_PUBLISH_BASE_PATH, embedRoutes, type PeopleQuery, type PipelineRoutes, pipelineRoutes, } from './routes';
26
26
  export { ConfirmDialog } from './ui/dialog';
27
27
  export { FieldGroup, TextAreaField, TextField } from './ui/field';
28
28
  export { Select, SelectField, type SelectOption } from './ui/select';
package/dist/index.js CHANGED
@@ -26,7 +26,20 @@ export { CATALOG_EVENT_META, eventMeta, TraceExplorer, useTraceSource, } from '.
26
26
  // fetch. These used to live in the consuming app, which meant any other host
27
27
  // installing this package got a console with no way to manage a load.
28
28
  export { ConnectionPanel, connectionOptionsFor, describeConnection, } from './ConnectionPanel';
29
- export { PipelineConsole } from './PipelineConsole';
29
+ // The schema-discovery seam, whole.
30
+ //
31
+ // `PipelineConsoleProps['schemaDiscovery']` is a bridge the HOST implements —
32
+ // this package cannot ask a connector for its columns, only render the answer —
33
+ // and every one of these was reachable from that prop's type and from nowhere
34
+ // else. So the only way to write the bridge with its signature spelled out was
35
+ // to name it through an indexed access on a component's props, or to deep-import
36
+ // a file inside `dist/`. Both are the caller paying for a list that fell behind.
37
+ //
38
+ // `initialChoices` and `proposalFrom` come with them because they are the rules
39
+ // that decide whether a schema somebody ticked is one the publish route will
40
+ // accept — pure and deliberately outside the panel, per their own docblocks, and
41
+ // worth nothing there if the only way to run them is to render it.
42
+ export { initialChoices, PipelineConsole, proposalFrom, } from './PipelineConsole';
30
43
  export { TransformEditor } from './TransformEditor';
31
44
  export { AccessConsole } from './AccessConsole';
32
45
  // The authored graph: sources wired through transforms into sinks.
@@ -62,6 +75,11 @@ export { CatalogProvider, catalogQueryKeys, useCatalogClient, } from './context'
62
75
  // mount those endpoints wherever it likes and tell the provider where they are.
63
76
  // See routes.ts for why they are here rather than in the server package.
64
77
  export { accessRoutes, DEFAULT_ACCESS_BASE_PATH, DEFAULT_PIPELINE_BASE_PATH,
78
+ // The third default, which had been left out while its two siblings were
79
+ // exported — so `CatalogProviderProps.publishBasePath` was documented as
80
+ // defaulting to a constant a host could not name, and the way to override it
81
+ // relative to the default was to retype the string and hope.
82
+ DEFAULT_PUBLISH_BASE_PATH,
65
83
  // The embed paths, which the catalog controller does serve — exported so a
66
84
  // host writing its own embed consumer need not restate them. See routes.ts.
67
85
  embedRoutes, pipelineRoutes, } from './routes';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dudousxd/nestjs-catalog-react",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "Ready-made React screens for @dudousxd/nestjs-catalog — a model manager and a generic object explorer you can drop into your own app shell.",
5
5
  "license": "MIT",
6
6
  "author": "Davide Carvalho",
@@ -106,7 +106,7 @@
106
106
  "@tiptap/pm": "3.29.2",
107
107
  "tiptap-markdown": "0.9.0",
108
108
  "@tiptap/core": "3.29.2",
109
- "@dudousxd/nestjs-catalog": "0.8.0"
109
+ "@dudousxd/nestjs-catalog": "0.9.0"
110
110
  },
111
111
  "dependencies": {
112
112
  "clsx": "2.1.1",