mirror of
				https://github.com/chartdb/chartdb.git
				synced 2025-10-31 03:53:55 +00:00 
			
		
		
		
	relationships except for Cardinality edit
This commit is contained in:
		| @@ -57,6 +57,7 @@ export interface ChartDBContext { | ||||
|     addRelationship: (relationship: DBRelationship) => void; | ||||
|     getRelationship: (id: string) => DBRelationship | null; | ||||
|     removeRelationship: (id: string) => void; | ||||
|     removeRelationships: (...ids: string[]) => void; | ||||
|     updateRelationship: ( | ||||
|         id: string, | ||||
|         relationship: Partial<DBRelationship> | ||||
| @@ -100,4 +101,5 @@ export const chartDBContext = createContext<ChartDBContext>({ | ||||
|     getRelationship: emptyFn, | ||||
|     removeRelationship: emptyFn, | ||||
|     updateRelationship: emptyFn, | ||||
|     removeRelationships: emptyFn, | ||||
| }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user