KnowledgeOS API Reference
    Preparing search index...

    Variable EVENT_DOMAINSConst

    EVENT_DOMAINS: {
        edge: readonly ["EdgeCreated", "EdgeUpdated", "EdgeDeleted"];
        label: readonly ["LabelAdded", "LabelRemoved"];
        lifecycle: readonly [
            "GraphInitialized",
            "GraphActivated",
            "GraphSuspended",
            "GraphShuttingDown",
            "GraphStopped",
            "GraphError",
        ];
        node: readonly ["NodeCreated", "NodeUpdated", "NodeDeleted"];
        registration: readonly ["ParticipantRegistered", "ParticipantDeregistered"];
        transaction: readonly [
            "TransactionStarted",
            "TransactionCommitted",
            "TransactionRolledBack",
        ];
    }

    Type Declaration

    • Readonlyedge: readonly ["EdgeCreated", "EdgeUpdated", "EdgeDeleted"]
    • Readonlylabel: readonly ["LabelAdded", "LabelRemoved"]
    • Readonlylifecycle: readonly [
          "GraphInitialized",
          "GraphActivated",
          "GraphSuspended",
          "GraphShuttingDown",
          "GraphStopped",
          "GraphError",
      ]
    • Readonlynode: readonly ["NodeCreated", "NodeUpdated", "NodeDeleted"]
    • Readonlyregistration: readonly ["ParticipantRegistered", "ParticipantDeregistered"]
    • Readonlytransaction: readonly ["TransactionStarted", "TransactionCommitted", "TransactionRolledBack"]