-
Notifications
You must be signed in to change notification settings - Fork 1
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 #14 from gpproton/revert-prerendering-attempts
Revert prerendering attempts
- Loading branch information
Showing
550 changed files
with
17,489 additions
and
6,487 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Generate docs with docfx | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
actions: read | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
publish-docs: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Dotnet Setup | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.x | ||
|
||
- run: dotnet tool restore | ||
- run: dotnet r docs | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
# Upload entire repository | ||
path: 'docs/_site' | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
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 |
---|---|---|
|
@@ -481,4 +481,5 @@ $RECYCLE.BIN/ | |
static-files | ||
**/wwwroot/lib | ||
secret.json | ||
published | ||
published | ||
_site |
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
using System.ComponentModel.DataAnnotations; | ||
|
||
namespace CashClaim.Common.Base; | ||
|
||
public abstract class BaseEntity : IBaseEntity { | ||
[Key, Required] public Guid Id { 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,7 @@ | ||
namespace CashClaim.Common.Base; | ||
|
||
public abstract class BaseResponse { | ||
public Guid? Id { get; set; } | ||
public DateTime CreatedAt { get; set; } | ||
public DateTime? ModifiedAt { 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,5 @@ | ||
namespace CashClaim.Common.Base; | ||
|
||
public interface IBaseEntity { | ||
public Guid Id { 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,8 @@ | ||
namespace CashClaim.Common.Base; | ||
|
||
public class ITimedEntity : IBaseEntity { | ||
public Guid Id { get; set; } | ||
public DateTime CreatedAt { get; set; } | ||
public DateTime? ModifiedAt { get; set; } | ||
public DateTime? DeletedAt { 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,7 @@ | ||
namespace CashClaim.Common.Base; | ||
|
||
public abstract class TimedEntity : ITimedEntity { | ||
new public DateTime CreatedAt { get; set; } | ||
new public DateTime? ModifiedAt { get; set; } | ||
new public DateTime? DeletedAt { 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,8 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" /> | ||
<PackageReference Include="Nextended.Core" /> | ||
</ItemGroup> | ||
|
||
</Project> |
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,12 @@ | ||
namespace CashClaim.Common.Dtos; | ||
|
||
public class AuthResponse { | ||
public bool Confirmed { get; set; } | ||
public DateTime? ExpiryTimeStamp { get; set; } | ||
public int ExpiresIn { get; set; } | ||
public string? Token { get; set; } | ||
public string Message { get; set; } = string.Empty; | ||
public string UserName { get; set; } = string.Empty; | ||
public string Role { get; set; } = string.Empty; | ||
public UserResponse? Data { 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,13 @@ | ||
using CashClaim.Common.Base; | ||
|
||
namespace CashClaim.Common.Dtos; | ||
|
||
public class BankAccountResponse : BaseResponse { | ||
public string FullName { get; set; } = string.Empty; | ||
public BankResponse? Bank { get; set; } | ||
public Guid? BankId { get; set; } | ||
public UserResponse? Owner { get; set; } | ||
public Guid? OwnerId { get; set; } | ||
public string Number { get; set; } = string.Empty; | ||
public string Description { get; set; } = string.Empty; | ||
} |
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,10 @@ | ||
using CashClaim.Common.Base; | ||
|
||
namespace CashClaim.Common.Dtos; | ||
|
||
public class BankResponse : BaseResponse { | ||
public string Name { get; set; } = string.Empty; | ||
public string SwiftCode { get; set; } = string.Empty; | ||
public string Description { get; set; } = string.Empty; | ||
public bool Active { 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,12 @@ | ||
using CashClaim.Common.Base; | ||
|
||
namespace CashClaim.Common.Dtos; | ||
|
||
public class CategoryResponse : BaseResponse { | ||
public string Name { get; set; } = string.Empty; | ||
public CompanyResponse? Company { get; set; } | ||
public Guid? CompanyId { get; set; } | ||
public string Description { get; set; } = string.Empty; | ||
public bool Active { get; set; } | ||
public string Icon { get; set; } = string.Empty; | ||
} |
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,26 @@ | ||
using CashClaim.Common.Base; | ||
using CashClaim.Common.Enums; | ||
|
||
namespace CashClaim.Common.Dtos; | ||
|
||
public class ClaimResponse : BaseResponse { | ||
public string Description { get; set; } = string.Empty; | ||
public string Notes { get; set; } = string.Empty; | ||
public decimal Amount { get; set; } = 100; | ||
public ClaimPriority Priority { get; set; } = ClaimPriority.Normal; | ||
public CategoryResponse? Category { get; set; } | ||
public Guid? CategoryId { get; set; } | ||
public CompanyResponse? Company { get; set; } | ||
public Guid? CompanyId { get; set; } | ||
public CurrencyResponse? Currency { get; set; } | ||
public Guid? CurrencyId { get; set; } | ||
public ClaimStatus Status { get; set; } = ClaimStatus.Pending; | ||
public UserResponse? Owner { get; set; } | ||
public UserResponse? ReviewedBy { get; set; } | ||
public DateTime? ReviewedAt { get; set; } | ||
public UserResponse? ConfirmedBy { get; set; } | ||
public DateTime? ConfirmedAt { get; set; } | ||
public UserResponse? ApprovedBy { get; set; } | ||
public DateTime? ApprovedAt { get; set; } | ||
public ICollection<FileResponse> Files { get; set; } = default!; | ||
} |
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,19 @@ | ||
using CashClaim.Common.Base; | ||
using CashClaim.Common.Enums; | ||
|
||
namespace CashClaim.Common.Dtos; | ||
|
||
public class ClaimStateResponse : BaseResponse { | ||
public string? Description { get; set; } | ||
public string? Notes { get; set; } | ||
public string? Currency { get; set; } = "$"; | ||
public decimal Amount { get; set; } | ||
public string? Category { get; set; } | ||
public ClaimStatus Status { get; set; } | ||
public string? Owner { get; set; } | ||
public Guid? OwnerId { get; set; } | ||
public bool Approved { get; set; } | ||
public bool Completed { get; set; } | ||
|
||
public bool Payed { 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,10 @@ | ||
using CashClaim.Common.Base; | ||
|
||
namespace CashClaim.Common.Dtos; | ||
|
||
public class CommentResponse : BaseResponse { | ||
public ClaimResponse? Claim { get; set; } | ||
public PaymentResponse? Payment { get; set; } | ||
public UserResponse? Owner { get; set; } | ||
public string Content { get; set; } = string.Empty; | ||
} |
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,12 @@ | ||
using CashClaim.Common.Base; | ||
|
||
namespace CashClaim.Common.Dtos; | ||
|
||
public class CompanyResponse : BaseResponse { | ||
public string ShortName { get; set; } = string.Empty; | ||
public string FullName { get; set; } = string.Empty; | ||
public string AdminEmail { get; set; } = string.Empty; | ||
public UserResponse? Manager { get; set; } | ||
public Guid? ManagerId { get; set; } | ||
public bool Active { 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,13 @@ | ||
using CashClaim.Common.Base; | ||
|
||
namespace CashClaim.Common.Dtos; | ||
|
||
public class CurrencyResponse : BaseResponse { | ||
public string Name { get; set; } = string.Empty; | ||
|
||
public string Symbol { get; set; } = string.Empty; | ||
public string Code { get; set; } = string.Empty; | ||
public decimal Rate { get; set; } | ||
public string Description { get; set; } = string.Empty; | ||
public bool Active { 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,9 @@ | ||
using CashClaim.Common.Base; | ||
|
||
namespace CashClaim.Common.Dtos; | ||
|
||
public class DomainResponse : BaseResponse { | ||
public string Address { get; set; } = string.Empty; | ||
public bool Active { get; set; } | ||
public string Description { get; set; } = string.Empty; | ||
} |
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,11 @@ | ||
using CashClaim.Common.Base; | ||
using CashClaim.Common.Enums; | ||
|
||
namespace CashClaim.Common.Dtos; | ||
|
||
public class EventResponse : BaseResponse { | ||
public EventType Type { get; set; } = EventType.Claim; | ||
public ClaimResponse? Claim { get; set; } | ||
public PaymentResponse? Payment { get; set; } | ||
public string Description { get; set; } = string.Empty; | ||
} |
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,10 @@ | ||
using CashClaim.Common.Base; | ||
|
||
namespace CashClaim.Common.Dtos; | ||
|
||
public class FileResponse : BaseResponse { | ||
public string Name { get; set; } = string.Empty; | ||
public string Path { get; set; } = string.Empty; | ||
public string Extension { get; set; } = string.Empty; | ||
public UserResponse? Owner { 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,12 @@ | ||
using CashClaim.Common.Base; | ||
using CashClaim.Common.Enums; | ||
|
||
namespace CashClaim.Common.Dtos; | ||
|
||
public class NotificationResponse : BaseResponse { | ||
public UserResponse? Owner { get; set; } | ||
public Guid? OwnerId { get; set; } | ||
public bool Disabled { get; set; } | ||
public ICollection<NotificationChannels> Channels { get; set; } = default!; | ||
public ICollection<EventType> Types { get; set; } = default!; | ||
} |
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,20 @@ | ||
using CashClaim.Common.Base; | ||
|
||
namespace CashClaim.Common.Dtos; | ||
|
||
public class PaymentResponse : BaseResponse { | ||
public string Description { get; set; } = string.Empty; | ||
public decimal Amount { get; set; } | ||
public string Notes { get; set; } = string.Empty; | ||
public UserResponse? Owner { get; set; } | ||
public Guid? OwnerId { get; set; } | ||
public CompanyResponse? Company { get; set; } | ||
public Guid? CompanyId { get; set; } | ||
public UserResponse? CreatedBy { get; set; } | ||
public Guid? CreatedById { get; set; } | ||
public DateTime? ConfirmedAt { get; set; } | ||
public bool Confirmed => ConfirmedAt != null; | ||
public int Count { get; set; } | ||
public ICollection<ClaimResponse> Claims { get; set; } = default!; | ||
public ICollection<FileResponse> Files { get; set; } = default!; | ||
} |
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,15 @@ | ||
using CashClaim.Common.Base; | ||
|
||
namespace CashClaim.Common.Dtos; | ||
|
||
public class PaymentStateResponse : BaseResponse { | ||
public string Description { get; set; } = string.Empty; | ||
public decimal Amount { get; set; } | ||
public string Notes { get; set; } = string.Empty; | ||
public string? Owner { get; set; } | ||
public Guid? OwnerId { get; set; } | ||
public string? CreatedBy { get; set; } | ||
public DateTime? ConfirmedAt { get; set; } | ||
public bool Confirmed => ConfirmedAt != null; | ||
public int Count { get; set; } | ||
} |
Oops, something went wrong.