feat(map): render classified unit identity aspects

This commit is contained in:
Codex
2026-07-24 11:43:20 +03:00
parent 49f0c449c1
commit c859ae4db0
11 changed files with 320 additions and 7 deletions
+8 -2
View File
@@ -6,7 +6,8 @@ export type MapSubjectDetailField = {
source: "fact" | "attribute" | "geometry" | "context";
field: string;
label: string;
format: "text" | "number" | "timestamp" | "boolean" | "coordinate" | "signal_state" | "movement_state" | "telemetry_readings";
format: "text" | "number" | "timestamp" | "boolean" | "coordinate" | "signal_state" | "movement_state" | "string_list" | "telemetry_readings";
dataClass?: "operational" | "restricted";
unit?: string;
allowedReadingIds?: string[];
};
@@ -57,7 +58,12 @@ export function buildMapSubjectCardModel(
bindingId?: string;
dataProductId?: string;
profile?: MapSubjectDetailProfile;
aspects?: Record<string, { fact: MapRuntimeFact; bindingId?: string; dataProductId?: string }>;
aspects?: Record<string, {
fact: MapRuntimeFact;
bindingId?: string;
dataProductId?: string;
dataClass?: "operational" | "restricted";
}>;
},
): MapSubjectCardModel | null;