Move app models

This commit is contained in:
Dennis Reimann 2024-05-27 11:34:40 +02:00
parent 516132c32b
commit 28f26004c4
No known key found for this signature in database
GPG key ID: 5009E1797F03F8D0
11 changed files with 12 additions and 7 deletions

View file

@ -4,6 +4,7 @@ using System.Threading.Tasks;
using BTCPayServer.Client.Models;
using BTCPayServer.Lightning;
using NBitcoin;
using LightningPayment = BTCPayApp.CommonServer.Models.LightningPayment;
namespace BTCPayApp.CommonServer;

View file

@ -1,6 +1,6 @@
using System;
namespace BTCPayApp.CommonServer;
namespace BTCPayApp.CommonServer.Models;
public class AccessTokenResult(string accessToken, string refreshToken, DateTimeOffset expiry)
{

View file

@ -1,4 +1,4 @@
namespace BTCPayApp.CommonServer;
namespace BTCPayApp.CommonServer.Models;
public class AppInstanceInfo
{

View file

@ -2,7 +2,7 @@ using System;
using System.Collections.Generic;
using BTCPayServer.Lightning;
namespace BTCPayApp.CommonServer;
namespace BTCPayApp.CommonServer.Models;
public partial class LightningPayment
{

View file

@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace BTCPayApp.CommonServer;
namespace BTCPayApp.CommonServer.Models;
public class SignupRequest
{

View file

@ -1,4 +1,4 @@
namespace BTCPayApp.CommonServer;
namespace BTCPayApp.CommonServer.Models;
public class SignupResult
{

View file

@ -3,6 +3,7 @@ using System;
using System.Linq;
using System.Threading.Tasks;
using BTCPayApp.CommonServer;
using BTCPayApp.CommonServer.Models;
using BTCPayServer.Abstractions.Constants;
using BTCPayServer.Abstractions.Contracts;
using BTCPayServer.Abstractions.Extensions;

View file

@ -1,7 +1,8 @@
#nullable enable
#nullable enable
using System;
using System.Threading.Tasks;
using BTCPayApp.CommonServer;
using BTCPayApp.CommonServer.Models;
using BTCPayServer.Abstractions.Constants;
using BTCPayServer.Abstractions.Contracts;
using BTCPayServer.Abstractions.Extensions;

View file

@ -5,6 +5,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BTCPayApp.CommonServer;
using BTCPayApp.CommonServer.Models;
using BTCPayServer.Abstractions.Constants;
using BTCPayServer.HostedServices;
using BTCPayServer.Services;

View file

@ -8,6 +8,7 @@ using System.Threading;
using System.Threading.Tasks;
using AngleSharp.Dom.Events;
using BTCPayApp.CommonServer;
using BTCPayApp.CommonServer.Models;
using BTCPayServer.Events;
using BTCPayServer.Payments.Lightning;
using BTCPayServer.Services.Invoices;

View file

@ -10,7 +10,7 @@ using BTCPayServer.Controllers;
using BTCPayServer.Lightning;
using Microsoft.AspNetCore.SignalR;
using NBitcoin;
using LightningPayment = BTCPayApp.CommonServer.LightningPayment;
using LightningPayment = BTCPayApp.CommonServer.Models.LightningPayment;
namespace BTCPayServer.App;