{
  "id": "@typed/fx#RefGraph.addNode",
  "canonicalId": "@typed/fx/RefGraph#addNode",
  "symbol": {
    "id": "@typed/fx#RefGraph.addNode",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "RefGraph.addNode",
    "kind": "constant",
    "signatures": [
      "export declare const addNode: {\n    <N>(data: N): <E, T extends Graph.Kind, Err, R>(ref: RefGraph<N, E, T, Err, R>) => Effect.Effect<Graph.Graph<N, E, T>, Err, R>;\n    <N, E, T extends Graph.Kind, Err, R>(ref: RefGraph<N, E, T, Err, R>, data: N): Effect.Effect<Graph.Graph<N, E, T>, Err, R>;\n};"
    ],
    "summary": "Add a node to the graph.",
    "sections": {
      "Why": "Add a node to the graph. The operation remains attached to the RefSubject's versioned state\nboundary.",
      "Ownership and lifetime": "Running add node performs one serialized graph transition and resolves with its committed value.\nIt acquires no resource; failures and services remain those of the source ref."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/RefGraph.ts",
      "line": 131
    },
    "since": "1.18.0",
    "category": "State updates"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#RefGraph.addNode",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "RefGraph",
    "qualifiedName": "RefGraph.addNode",
    "declarationKey": "declaration:11131354fc9ec3125756a95d",
    "family": "variable",
    "signatures": [
      "export declare const addNode: {\n    <N>(data: N): <E, T extends Graph.Kind, Err, R>(ref: RefGraph<N, E, T, Err, R>) => Effect.Effect<Graph.Graph<N, E, T>, Err, R>;\n    <N, E, T extends Graph.Kind, Err, R>(ref: RefGraph<N, E, T, Err, R>, data: N): Effect.Effect<Graph.Graph<N, E, T>, Err, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefGraph.ts",
        "start": {
          "line": 131,
          "column": 14
        },
        "end": {
          "line": 153,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefGraph.ts",
        "start": {
          "line": 132,
          "column": 3
        },
        "end": {
          "line": 136,
          "column": 52
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefGraph.ts",
        "start": {
          "line": 137,
          "column": 3
        },
        "end": {
          "line": 140,
          "column": 50
        }
      }
    ],
    "aliases": [
      "@typed/fx/RefGraph#addNode"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#RefGraph",
    "static": false,
    "importedFrom": "declaration:11131354fc9ec3125756a95d"
  },
  "declaration": {
    "declarationKey": "declaration:11131354fc9ec3125756a95d",
    "name": "addNode",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const addNode: {\n    <N>(data: N): <E, T extends Graph.Kind, Err, R>(ref: RefGraph<N, E, T, Err, R>) => Effect.Effect<Graph.Graph<N, E, T>, Err, R>;\n    <N, E, T extends Graph.Kind, Err, R>(ref: RefGraph<N, E, T, Err, R>, data: N): Effect.Effect<Graph.Graph<N, E, T>, Err, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefGraph.ts",
            "start": {
              "line": 131,
              "column": 14
            },
            "end": {
              "line": 153,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<N>(data: N): <E, T extends Graph.Kind, Err, R>(ref: RefGraph<N, E, T, Err, R>) => Effect.Effect<Graph.Graph<N, E, T>, Err, R>;",
          "<N, E, T extends Graph.Kind, Err, R>(ref: RefGraph<N, E, T, Err, R>, data: N): Effect.Effect<Graph.Graph<N, E, T>, Err, R>;"
        ],
        "typeParameters": [
          "N",
          "E",
          "T extends Graph.Kind",
          "Err",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefGraph.ts",
            "start": {
              "line": 132,
              "column": 3
            },
            "end": {
              "line": 136,
              "column": 52
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefGraph.ts",
            "start": {
              "line": 137,
              "column": 3
            },
            "end": {
              "line": 140,
              "column": 50
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const addNode: {\n    <N>(data: N): <E, T extends Graph.Kind, Err, R>(ref: RefGraph<N, E, T, Err, R>) => Effect.Effect<Graph.Graph<N, E, T>, Err, R>;\n    <N, E, T extends Graph.Kind, Err, R>(ref: RefGraph<N, E, T, Err, R>, data: N): Effect.Effect<Graph.Graph<N, E, T>, Err, R>;\n};"
    ],
    "typeParameters": [
      "N",
      "E",
      "T extends Graph.Kind",
      "Err",
      "R"
    ],
    "summary": "Add a node to the graph.",
    "sections": {
      "Why": "Add a node to the graph. The operation remains attached to the RefSubject's versioned state\nboundary.",
      "Ownership and lifetime": "Running add node performs one serialized graph transition and resolves with its committed value.\nIt acquires no resource; failures and services remain those of the source ref."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefGraph.ts",
        "start": {
          "line": 131,
          "column": 14
        },
        "end": {
          "line": 153,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefGraph.ts",
        "start": {
          "line": 132,
          "column": 3
        },
        "end": {
          "line": 136,
          "column": 52
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefGraph.ts",
        "start": {
          "line": 137,
          "column": 3
        },
        "end": {
          "line": 140,
          "column": 50
        }
      }
    ],
    "since": "1.18.0",
    "category": "State updates"
  }
}
