Created Woodpecker CI/CD deployment
All checks were successful
ci/woodpecker/tag/api_build Pipeline was successful
ci/woodpecker/tag/api_uploadimage Pipeline was successful
ci/woodpecker/tag/web_uploadimage Pipeline was successful

- Created Dockerfile for packing up API and Web projects as Docker image
This commit is contained in:
2023-03-27 21:48:25 -05:00
parent baf38aa3cd
commit 9bbd12e4c3
145 changed files with 30955 additions and 18248 deletions

View File

@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using YABA.Common.DTOs.Tags;
using YABA.Common.Interfaces;
namespace YABA.Common.DTOs.Bookmarks
{
public class BookmarkDTO : IBookmark
{
public int Id { get; set; }
public DateTimeOffset CreatedOn { get; set; }
public DateTimeOffset LastModified { get; set; }
public string Title { get; set; }
public string? Description { get; set; }
public string? Note { get; set; }
public bool IsHidden { get; set; }
public string Url { get; set; }
public List<TagDTO>? Tags { get; set; } = new List<TagDTO>();
}
}

View File

@ -0,0 +1,18 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using YABA.Common.Interfaces;
namespace YABA.Common.DTOs.Bookmarks
{
public class CreateBookmarkRequestDTO : IBookmark
{
public string? Title { get; set; }
public string? Description { get; set; }
public string? Note { get; set; }
public bool IsHidden { get; set; }
public IEnumerable<string>? Tags { get; set; }
[Required]
public string Url { get; set; }
}
}

View File

@ -0,0 +1,16 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using YABA.Common.Interfaces;
namespace YABA.Common.DTOs.Bookmarks
{
public class UpdateBookmarkRequestDTO : IBookmark
{
public string? Title { get; set; }
public string? Description { get; set; }
public string? Note { get; set; }
public bool IsHidden { get; set; }
public string? Url { get; set; }
public IEnumerable<string>? Tags { get; set; }
}
}

View File

@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations;
namespace YABA.Common.DTOs.Tags
{
public class CreateTagDTO
{
[Required]
public string Name { get; set; }
public bool IsHidden { get; set; }
}
}

View File

@ -0,0 +1,9 @@
namespace YABA.Common.DTOs.Tags
{
public class TagDTO
{
public int Id { get; set; }
public string Name { get; set; }
public bool IsHidden { get; set; }
}
}

View File

@ -0,0 +1,10 @@
using System.ComponentModel.DataAnnotations;
namespace YABA.Common.DTOs.Tags
{
public class UpdateTagDTO
{
public string? Name { get; set; }
public bool? IsHidden { get; set; }
}
}

View File

@ -0,0 +1,12 @@
using System;
namespace YABA.Common.DTOs
{
public class UserDTO
{
public int Id { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset CreatedOn { get; set; }
public DateTimeOffset LastModified { get; set; }
}
}

View File

@ -0,0 +1,9 @@

namespace YABA.Common.DTOs
{
public class WebsiteMetaDataDTO
{
public string? Title { get; set; }
public string? Description { get; set; }
}
}