mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-05-20 14:04:46 +02:00
open source Notesnook API
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using MongoDB.Bson.Serialization.Attributes;
|
||||
using MongoDB.Bson.Serialization.Serializers;
|
||||
using Notesnook.API.Models;
|
||||
using Streetwriters.Common.Attributes;
|
||||
using Streetwriters.Common.Converters;
|
||||
using Streetwriters.Common.Interfaces;
|
||||
|
||||
namespace Notesnook.API.Interfaces
|
||||
{
|
||||
[BsonSerializer(typeof(ImpliedImplementationInterfaceSerializer<ISyncItem, SyncItem>))]
|
||||
[JsonInterfaceConverter(typeof(InterfaceConverter<ISyncItem, SyncItem>))]
|
||||
public interface ISyncItem
|
||||
{
|
||||
long DateSynced
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
string UserId { get; set; }
|
||||
string Algorithm { get; set; }
|
||||
string IV { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user