Teach package runtime edge materialization

This commit is contained in:
Timothy J. Aveni
2026-07-15 07:54:17 -07:00
parent d2e3172a62
commit df4946e016
16 changed files with 271 additions and 44 deletions
+5
View File
@@ -14,6 +14,10 @@ export type FunctionRef = {
export type ConflictStrategy = "replace" | "preserve_conflicts" | "crdt";
export type Cardinality = "optional_one" | "exactly_one" | "many" | "many_unique" | "many_ordered" | "many_unique_ordered";
export type EdgeDirectionality = "directed" | "undirected";
export type EdgeMaterialization = {
class: SymbolRef;
connectProjection: string;
};
export type FieldStorageKind = "stored" | "derived" | "lazy" | "external" | "static_final";
export type FieldStorage = {
kind: FieldStorageKind;
@@ -63,6 +67,7 @@ export type EdgeEndpointSchema = {
projection: string;
cardinality: Cardinality;
indexed: boolean;
materialization?: EdgeMaterialization;
};
export type EdgeSchema = {
id: SymbolRef;