You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(runner): call sync directly when not in shim; allow URIs in .sync calls (#1463)
* feat(runner): call sync directly when not in shim; allow URIs in .sync calls
- Update storage.ts to call sync directly when not running in a shim environment.
- Allow either EntityId or URIs on sync call (eventually we'll deprecate the former)
* cleaner return value
* Changes to use URI instead of EntityId in internal APIs (#1464)
* Minor tweaks
- Use await instead of a promise chain in Storage.syncCell.
- Use URI isntead of Entity, since we also define this in memory/interface.ts.
* Change IStorageProvider API to be URI based instead of EntityId as well as the BaseStorageProvider implementation and the Storage class.
Moved BaseStorageProvider.toEntity into Storage.toURI, since this is the only place it's needed.
Changed IStorageProvider to use URI instead of EntityId, as well as the ProviderConnection and Provider classes.
Updated tests to use cell.getAsNormalizedFullLink to get the URI instead of EntityId.
---------
Co-authored-by: ubik2 <ubik2@users.noreply.github.com>
0 commit comments