File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -972,11 +972,13 @@ const mapNodeTypeIdToLocal = async ({
972972 plugin,
973973 client,
974974 sourceSpaceId,
975+ sourceSpaceUri,
975976 sourceNodeTypeId,
976977} : {
977978 plugin : DiscourseGraphPlugin ;
978979 client : DGSupabaseClient ;
979980 sourceSpaceId : number ;
981+ sourceSpaceUri : string ;
980982 sourceNodeTypeId : string ;
981983} ) : Promise < string > => {
982984 // Find the schema in the source space with this nodeTypeId (my_concepts applies RLS)
@@ -1028,6 +1030,7 @@ const mapNodeTypeIdToLocal = async ({
10281030 keyImage : parsed . keyImage ,
10291031 created : now ,
10301032 modified : now ,
1033+ importedFromRid : `${ sourceSpaceUri } /${ sourceNodeTypeId } ` ,
10311034 } ;
10321035 plugin . settings . nodeTypes = [ ...plugin . settings . nodeTypes , newNodeType ] ;
10331036 await plugin . saveSettings ( ) ;
@@ -1089,6 +1092,7 @@ const processFileContent = async ({
10891092 plugin,
10901093 client,
10911094 sourceSpaceId,
1095+ sourceSpaceUri,
10921096 sourceNodeTypeId,
10931097 } ) ;
10941098
You can’t perform that action at this time.
0 commit comments