mirror of
https://github.com/bitwarden/mobile
synced 2026-01-19 00:43:18 +00:00
Push notification and sync fixes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Bit.App.Enums;
|
||||
using System;
|
||||
using Bit.App.Enums;
|
||||
|
||||
namespace Bit.App.Models
|
||||
{
|
||||
@@ -7,13 +8,19 @@ namespace Bit.App.Models
|
||||
public PushType Type { get; set; }
|
||||
}
|
||||
|
||||
public class SyncPushNotification : PushNotification
|
||||
public abstract class SyncPushNotification : PushNotification
|
||||
{
|
||||
public string UserId { get; set; }
|
||||
}
|
||||
|
||||
public class SyncCipherPushNotification : SyncPushNotification
|
||||
{
|
||||
public string CipherId { get; set; }
|
||||
public string Id { get; set; }
|
||||
public DateTime RevisionDate { get; set; }
|
||||
}
|
||||
|
||||
public class SyncCiphersPushNotification : SyncPushNotification
|
||||
{
|
||||
public DateTime Date { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user