/** * Graph Database Enums * * Type definitions for graph database operations * Based on Ductape Graph API documentation */ /** * Supported graph database types * As documented in overview.md */ export declare enum GraphType { NEO4J = "neo4j", NEPTUNE = "neptune", COSMOS_GREMLIN = "cosmos-gremlin", SPANNER_GRAPH = "spanner-graph", ARANGODB = "arangodb", MEMGRAPH = "memgraph" } /** * Traversal direction for graph queries * As documented in traversals.md */ export declare enum TraversalDirection { OUTGOING = "OUTGOING", INCOMING = "INCOMING", BOTH = "BOTH" } /** * Node index types * As documented in overview.md */ export declare enum NodeIndexType { BTREE = "btree", FULLTEXT = "fulltext", VECTOR = "vector", RANGE = "range", POINT = "point", TEXT = "text" } /** * Node constraint types * As documented in overview.md */ export declare enum NodeConstraintType { UNIQUE = "UNIQUE", EXISTS = "EXISTS", NODE_KEY = "NODE_KEY" } /** * Transaction isolation levels for graph databases * As documented in transactions.md */ export declare enum GraphIsolationLevel { READ_COMMITTED = "READ_COMMITTED", SERIALIZABLE = "SERIALIZABLE" } /** * Transaction status */ export declare enum GraphTransactionStatus { ACTIVE = "active", COMMITTED = "committed", ROLLED_BACK = "rolled_back", FAILED = "failed" } /** * Error types for graph operations * As documented in overview.md */ export declare enum GraphErrorType { CONNECTION_ERROR = "CONNECTION_ERROR", QUERY_ERROR = "QUERY_ERROR", VALIDATION_ERROR = "VALIDATION_ERROR", NOT_FOUND = "NOT_FOUND", CONSTRAINT_ERROR = "CONSTRAINT_ERROR", TRANSACTION_ERROR = "TRANSACTION_ERROR", TIMEOUT_ERROR = "TIMEOUT_ERROR", AUTHENTICATION_ERROR = "AUTHENTICATION_ERROR", CONFIGURATION_ERROR = "CONFIGURATION_ERROR", UNSUPPORTED_OPERATION = "UNSUPPORTED_OPERATION" } /** * Graph database features (for capability checking) */ export declare enum GraphFeature { TRANSACTIONS = "transactions", SCHEMA_INDEXES = "schema_indexes", FULL_TEXT_SEARCH = "full_text_search", VECTOR_SEARCH = "vector_search", COMPUTED_PROPERTIES = "computed_properties", TRIGGERS = "triggers", CHANGE_STREAMS = "change_streams", MULTI_TENANCY = "multi_tenancy", GRAPH_ALGORITHMS = "graph_algorithms", GEOSPATIAL = "geospatial" } /** * Sort order for query results */ export declare enum GraphSortOrder { ASC = "asc", DESC = "desc" }