return { ref: NON_EXISTING_RESOURCE_REF, syncData: null };
}
if (!isString(refOrLatestData)) {
return this.toRemoteUserData(refOrLatestData);
}
// Last time synced resource and latest resource on server are same
if (lastSyncUserData?.ref === refOrLatestData) {
return lastSyncUserData;