Add undirected edge support to package runtime
This commit is contained in:
@@ -26,6 +26,8 @@ export type Cardinality =
|
||||
| "many_ordered"
|
||||
| "many_unique_ordered";
|
||||
|
||||
export type EdgeDirectionality = "directed" | "undirected";
|
||||
|
||||
export type FieldStorageKind =
|
||||
| "stored"
|
||||
| "derived"
|
||||
@@ -92,6 +94,7 @@ export type EdgeEndpointSchema = {
|
||||
|
||||
export type EdgeSchema = {
|
||||
id: SymbolRef;
|
||||
directionality: EdgeDirectionality;
|
||||
sourceField: string;
|
||||
fromClass: SymbolRef;
|
||||
toClass: SymbolRef;
|
||||
|
||||
Reference in New Issue
Block a user