Currently, we have a file called veramo/plugins/googleDriveDataStore.ts and the utility functions used by this file are currently under utils/googleUtils.ts.
We need to refactor this structure a bit and make it like the following:
Create a new plugin directory called veramo/plugins/googleDriveDataStore
Move the current veramo/plugins/googleDriveDataStore.ts to veramo/plugins/googleDriveDataStore/index.ts
Move all the currently used functions and files for googleDriveDataStore(such as utils/googleUtils.ts) to veramo/plugins/googleDriveDataStore/ directory
Optimize and refactor any other code associated with googleDrive
Currently, the way we store the VCs on google drive is we are associating each VC with a vcID however, there is currently no way to differentiate which VC belongs to which account. So, if you have a VC on account one and you sync it to google drive, then log on to account two and try to sync it, you'll get the VCs that belong to account one. We need to come up with a way so that we only sync the VCs that belong to the account that is currently connected.
Currently, we have a file called veramo/plugins/googleDriveDataStore.ts and the utility functions used by this file are currently under utils/googleUtils.ts.
We need to refactor this structure a bit and make it like the following: