Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #88 from PlexRipper/dev
Release v0.8.7
- Loading branch information
Showing
94 changed files
with
4,964 additions
and
1,501 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
namespace PlexRipper.Application.Common | ||
{ | ||
public class AuthPin | ||
{ | ||
[JsonProperty(Required = Required.Always)] | ||
public List<PlexError> Errors { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public int Id { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public string Code { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public bool Trusted { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public string ClientIdentifier { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public AuthPinLocation Location { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public int ExpiresIn { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public DateTime CreatedAt { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public DateTime ExpiresAt { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public string AuthToken { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public string NewRegistration { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace PlexRipper.Application.Common | ||
{ | ||
public class AuthPinLocation | ||
{ | ||
[JsonProperty(Required = Required.Always)] | ||
public string Code { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public bool EuropeanUnionMember { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public string ContinentCode { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public string Country { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public string City { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public string TimeZone { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public string PostalCode { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public string Subdivisions { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public string Coordinates { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System.Collections.Generic; | ||
using FluentResults; | ||
using Newtonsoft.Json; | ||
|
||
namespace PlexRipper.Application.Common | ||
{ | ||
public class PlexErrorsResponse | ||
{ | ||
[JsonProperty(Required = Required.Always)] | ||
public List<PlexError> Errors { get; set; } | ||
} | ||
|
||
public class PlexError : Error | ||
{ | ||
[JsonProperty(Required = Required.Always)] | ||
public int Code { get; set; } | ||
|
||
[JsonProperty(Required = Required.Always)] | ||
public int Status { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/Application/Common/Interfaces/Services/IMigrationService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
using PlexRipper.Domain; | ||
|
||
namespace PlexRipper.Application.Common | ||
{ | ||
public interface IMigrationService : ISetupAsync { } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.