Initialize governed Dataflow module

This commit is contained in:
2026-07-28 01:28:17 +02:00
commit 223c008ff3
44 changed files with 6204 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
import { createElement, lazy } from "react";
import type { PlatformWebModule } from "@govoplan/core-webui";
import "./styles/dataflow.css";
import "@xyflow/react/dist/style.css";
const DataflowPage = lazy(() => import("./features/dataflow/DataflowPage"));
const readScopes = ["dataflow:pipeline:read", "dataflow:pipeline:admin"];
export const dataflowModule: PlatformWebModule = {
id: "dataflow",
label: "Dataflow",
version: "0.1.14",
optionalDependencies: [
"access",
"audit",
"connectors",
"files",
"notifications",
"policy",
"reporting",
"risk_compliance",
"workflow"
],
navItems: [
{ to: "/dataflow", label: "Dataflow", iconName: "waypoints", anyOf: readScopes, order: 72 }
],
routes: [
{
path: "/dataflow",
anyOf: readScopes,
order: 72,
render: ({ settings, auth }) => createElement(DataflowPage, { settings, auth })
}
]
};
export default dataflowModule;