Canvas: Generate graph state out of dodo-app config
Restructure code, create shared config lib.
Change-Id: I2cf06d35c486d4557484daf8618a2c215316fa7e
diff --git a/apps/canvas/config/src/index.ts b/apps/canvas/config/src/index.ts
new file mode 100644
index 0000000..d064f1c
--- /dev/null
+++ b/apps/canvas/config/src/index.ts
@@ -0,0 +1,51 @@
+export {
+ Auth,
+ AuthDisabled,
+ AuthEnabled,
+ Config,
+ ConfigSchema,
+ ConfigWithInputSchema,
+ Domain,
+ Ingress,
+ MongoDB,
+ PortDomain,
+ PortValue,
+ PostgreSQL,
+ Service,
+ ServiceTypes,
+ Volume,
+ ConfigWithInput,
+ VolumeType,
+} from "./types.js";
+
+export {
+ AppNode,
+ NodeType,
+ Network,
+ ServiceNode,
+ BoundEnvVar,
+ GatewayTCPNode,
+ GatewayHttpsNode,
+ GithubNode,
+ serviceAnalyzisSchema,
+ ServiceData,
+ VolumeNode,
+ PostgreSQLNode,
+ MongoDBNode,
+ Port,
+ EnvVar,
+ NodeData,
+ InitData,
+ NetworkData,
+ GatewayHttpsData,
+ GatewayTCPData,
+ ServiceInfo,
+ Env,
+ VolumeData,
+ PostgreSQLData,
+ MongoDBData,
+ GithubData,
+ envSchema,
+} from "./graph.js";
+
+export { generateDodoConfig, configToGraph } from "./config.js";