1
0
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:
Kyle Spearrin
2016-06-30 00:36:44 -04:00
parent 8653a76e26
commit 7a48128e43
8 changed files with 26 additions and 20 deletions

View File

@@ -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; }
}
}