feat: add isolated memory spaces
This commit is contained in:
@@ -5,8 +5,19 @@ export type TopicGranularity = 'abstract' | 'concrete' | 'mixed';
|
||||
export type JsonPrimitive = string | number | boolean | null;
|
||||
export type JsonValue = JsonPrimitive | JsonValue[] | { [key: string]: JsonValue };
|
||||
|
||||
export interface SpaceRecord {
|
||||
id: string;
|
||||
name: string;
|
||||
normalized_name: string;
|
||||
description: string | null;
|
||||
metadata: string | null;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
}
|
||||
|
||||
export interface TopicRecord {
|
||||
id: string;
|
||||
space_id: string;
|
||||
name: string;
|
||||
normalized_name: string;
|
||||
category: TopicCategory;
|
||||
@@ -19,6 +30,7 @@ export interface TopicRecord {
|
||||
|
||||
export interface FactRecord {
|
||||
id: string;
|
||||
space_id: string;
|
||||
statement: string;
|
||||
summary: string | null;
|
||||
source: string | null;
|
||||
@@ -45,6 +57,7 @@ export interface TopicRelationRecord {
|
||||
|
||||
export interface TopicAliasRecord {
|
||||
id: string;
|
||||
space_id: string;
|
||||
topic_id: string;
|
||||
alias: string;
|
||||
normalized_alias: string;
|
||||
|
||||
Reference in New Issue
Block a user