mirror of
https://github.com/bitwarden/mobile
synced 2025-12-15 15:53:44 +00:00
Added icons for iOS. Broke out data access into repositories. Added syncing service.
This commit is contained in:
8
src/App/Models/Api/Request/TokenTwoFactorRequest.cs
Normal file
8
src/App/Models/Api/Request/TokenTwoFactorRequest.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Bit.App.Models.Api
|
||||
{
|
||||
public class TokenTwoFactorRequest
|
||||
{
|
||||
public string Code { get; set; }
|
||||
public string Provider { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,11 @@
|
||||
namespace Bit.App.Models.Api
|
||||
using System;
|
||||
|
||||
namespace Bit.App.Models.Api
|
||||
{
|
||||
public class FolderResponse
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public DateTime RevisionDate { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
14
src/App/Models/Api/Response/ListResponse.cs
Normal file
14
src/App/Models/Api/Response/ListResponse.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Bit.App.Models.Api
|
||||
{
|
||||
public class ListResponse<T>
|
||||
{
|
||||
public ListResponse(IEnumerable<T> data)
|
||||
{
|
||||
Data = data;
|
||||
}
|
||||
|
||||
public IEnumerable<T> Data { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
namespace Bit.App.Models.Api
|
||||
using System;
|
||||
|
||||
namespace Bit.App.Models.Api
|
||||
{
|
||||
public class SiteResponse
|
||||
{
|
||||
@@ -9,6 +11,7 @@
|
||||
public string Username { get; set; }
|
||||
public string Password { get; set; }
|
||||
public string Notes { get; set; }
|
||||
public DateTime RevisionDate { get; set; }
|
||||
|
||||
// Expandables
|
||||
public FolderResponse Folder { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user