@@ -20,11 +20,11 @@ export class OfflineDB extends AbstractOfflineDB {
2020
2121 upsertChannels = api . upsertChannels ;
2222
23- // FIXME
23+ // TODO: Rename currentUserId -> userId in the next major version as it is technically breaking.
2424 upsertUserSyncStatus = ( { userId, lastSyncedAt, execute } : UpsertUserSyncStatusType ) =>
2525 api . upsertUserSyncStatus ( { currentUserId : userId , execute, lastSyncedAt } ) ;
2626
27- // FIXME
27+ // TODO: Rename currentUserId -> userId in the next major version as it is technically breaking.
2828 upsertAppSettings = ( { appSettings, userId, execute } : UpsertAppSettingsType ) =>
2929 api . upsertAppSettings ( { appSettings, currentUserId : userId , execute } ) ;
3030
@@ -40,16 +40,17 @@ export class OfflineDB extends AbstractOfflineDB {
4040
4141 updateMessage = api . updateMessage ;
4242
43- // FIXME
43+ // TODO: Rename currentUserId -> userId in the next major version as it is technically breaking.
4444 getChannels = ( { cids, userId } : GetChannelsType ) =>
4545 api . getChannels ( { channelIds : cids , currentUserId : userId } ) ;
4646
47- // FIXME
47+ // TODO: Rename currentUserId -> userId in the next major version as it is technically breaking.
4848 getChannelsForQuery = ( { userId, filters, sort } : GetChannelsForQueryType ) =>
4949 api . getChannelsForFilterSort ( { currentUserId : userId , filters, sort } ) ;
5050
5151 getAllChannelCids = api . getAllChannelIds ;
52- // FIXME
52+
53+ // TODO: Rename currentUserId -> userId in the next major version as it is technically breaking.
5354 getLastSyncedAt = ( { userId } : GetLastSyncedAtType ) =>
5455 api . getLastSyncedAt ( { currentUserId : userId } ) ;
5556
0 commit comments