Teach package runtime edge materialization
This commit is contained in:
Vendored
+5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user