feat: decouple knowledge maps from project ids

This commit is contained in:
xuelong committed 2026-08-26 01:15:39 -07:00
1 parent ca2bc5f583
commit 988fc66438
10 files changed
+843 -116

No files matched your search

+12
View File
@@ -134,10 +134,21 @@ export type ProjectSummary = {
name?: string;
description?: string | null;
status?: string;
metadata_jsonb?: {
spatial_map?: Partial<SpatialMapConfig>;
[key: string]: unknown;
};
created_at?: string;
updated_at?: string;
};
export type SpatialMapScope = "libo" | "guizhou";
export type SpatialMapConfig = {
enabled: boolean;
scope: SpatialMapScope;
};
export type GraphReleaseSummary = {
graph_release_id: string | number;
project_id: string;
@@ -155,6 +166,7 @@ export type GraphProjectProvisionRequest = {
display_name: string;
tenant_id?: string;
graph_name?: string;
spatial_map?: SpatialMapConfig;
schema: Record<string, unknown>;
graph_data: {
nodes: Array<Record<string, unknown>>;