MCPcopy Create free account
hub / github.com/beeglebug/behave-flow / getNodeSpecJSON

Function getNodeSpecJSON

src/util/getNodeSpecJSON.ts:11–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9let nodeSpecJSON: NodeSpecJSON[] | undefined = undefined;
10
11export const getNodeSpecJSON = (): NodeSpecJSON[] => {
12 if (nodeSpecJSON === undefined) {
13 const registry = new Registry();
14 registerCoreProfile(registry);
15 registerSceneProfile(registry);
16 nodeSpecJSON = writeNodeSpecsToJSON(registry);
17 }
18 return nodeSpecJSON;
19};

Callers 5

flowToBehave.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected