Verified Commit 63afcd93 authored by Michael Usachenko's avatar Michael Usachenko Committed by GitLab
Browse files

chore(ontology): move to centralized constants file

parent 3fa0db03
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4318,6 +4318,7 @@ checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
name = "ontology"
version = "0.1.0"
dependencies = [
 "const_format",
 "rust-embed",
 "serde",
 "serde_json",
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ use chrono::{DateTime, Utc};
use code_graph::analysis::types::GraphData;
use code_graph::indexer::{IndexingConfig, RepositoryIndexer};
use code_graph::loading::DirectoryFileSource;
use ontology::EDGE_TABLE;
use ontology::constants::EDGE_TABLE;
use tempfile::TempDir;
use tracing::{debug, info, warn};

+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ use std::sync::Arc;
use async_trait::async_trait;
use chrono::{DateTime, Utc};
use futures::future::try_join_all;
use ontology::EDGE_TABLE;
use ontology::constants::EDGE_TABLE;
use thiserror::Error;
use tracing::debug;

+2 −1
Original line number Diff line number Diff line
@@ -8,7 +8,8 @@ use arrow::record_batch::RecordBatch;
use datafusion::datasource::MemTable;
use datafusion::prelude::*;
use futures::StreamExt;
use ontology::{EDGE_TABLE, EdgeSourceEtlConfig, NodeEntity, Ontology};
use ontology::constants::EDGE_TABLE;
use ontology::{EdgeSourceEtlConfig, NodeEntity, Ontology};
use serde_json::Value;
use tracing::{debug, info};

+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ version.workspace = true
edition = "2024"

[dependencies]
const_format = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
serde_yaml = { workspace = true }
Loading