feat: add isolated memory spaces
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
export const SPACES_TABLE = 'spaces';
|
||||
export const TOPICS_TABLE = 'topics';
|
||||
export const FACTS_TABLE = 'facts';
|
||||
export const FACT_TOPICS_TABLE = 'fact_topics';
|
||||
@@ -5,8 +6,19 @@ export const TOPIC_RELATIONS_TABLE = 'topic_relations';
|
||||
export const TOPIC_ALIASES_TABLE = 'topic_aliases';
|
||||
export const FACT_EMBEDDINGS_TABLE = 'fact_embeddings';
|
||||
|
||||
export const SPACE_COLUMNS = [
|
||||
'id',
|
||||
'name',
|
||||
'normalized_name',
|
||||
'description',
|
||||
'metadata',
|
||||
'created_at',
|
||||
'updated_at',
|
||||
] as const;
|
||||
|
||||
export const TOPIC_COLUMNS = [
|
||||
'id',
|
||||
'space_id',
|
||||
'name',
|
||||
'normalized_name',
|
||||
'category',
|
||||
@@ -19,6 +31,7 @@ export const TOPIC_COLUMNS = [
|
||||
|
||||
export const FACT_COLUMNS = [
|
||||
'id',
|
||||
'space_id',
|
||||
'statement',
|
||||
'summary',
|
||||
'source',
|
||||
@@ -45,6 +58,7 @@ export const TOPIC_RELATION_COLUMNS = [
|
||||
|
||||
export const TOPIC_ALIAS_COLUMNS = [
|
||||
'id',
|
||||
'space_id',
|
||||
'topic_id',
|
||||
'alias',
|
||||
'normalized_alias',
|
||||
|
||||
Reference in New Issue
Block a user