mirror of https://github.com/abpframework/abp.git
52 changed files with 1332 additions and 17 deletions
@ -0,0 +1,74 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Admin.Blogs; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.Blogs; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IBlogAdminAppService), typeof(BlogAdminClientProxy))] |
||||
|
public partial class BlogAdminClientProxy : ClientProxyBase<IBlogAdminAppService>, IBlogAdminAppService |
||||
|
{ |
||||
|
public virtual async Task<BlogDto> GetAsync(Guid id) |
||||
|
{ |
||||
|
return await RequestAsync<BlogDto>(nameof(GetAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<PagedResultDto<BlogDto>> GetListAsync(BlogGetListInput input) |
||||
|
{ |
||||
|
return await RequestAsync<PagedResultDto<BlogDto>>(nameof(GetListAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(BlogGetListInput), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<BlogDto> CreateAsync(CreateBlogDto input) |
||||
|
{ |
||||
|
return await RequestAsync<BlogDto>(nameof(CreateAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(CreateBlogDto), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<BlogDto> UpdateAsync(Guid id, UpdateBlogDto input) |
||||
|
{ |
||||
|
return await RequestAsync<BlogDto>(nameof(UpdateAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id }, |
||||
|
{ typeof(UpdateBlogDto), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task DeleteAsync(Guid id) |
||||
|
{ |
||||
|
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<ListResultDto<BlogDto>> GetAllListAsync() |
||||
|
{ |
||||
|
return await RequestAsync<ListResultDto<BlogDto>>(nameof(GetAllListAsync)); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task MoveAllBlogPostsAsync(Guid blogId, Guid? assignToBlogId) |
||||
|
{ |
||||
|
await RequestAsync(nameof(MoveAllBlogPostsAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), blogId }, |
||||
|
{ typeof(Guid?), assignToBlogId } |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of BlogAdminClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.Blogs; |
||||
|
|
||||
|
public partial class BlogAdminClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,37 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Admin.Blogs; |
||||
|
using Volo.CmsKit.Blogs; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.Blogs; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IBlogFeatureAdminAppService), typeof(BlogFeatureAdminClientProxy))] |
||||
|
public partial class BlogFeatureAdminClientProxy : ClientProxyBase<IBlogFeatureAdminAppService>, IBlogFeatureAdminAppService |
||||
|
{ |
||||
|
public virtual async Task<List<BlogFeatureDto>> GetListAsync(Guid blogId) |
||||
|
{ |
||||
|
return await RequestAsync<List<BlogFeatureDto>>(nameof(GetListAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), blogId } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task SetAsync(Guid blogId, BlogFeatureInputDto dto) |
||||
|
{ |
||||
|
await RequestAsync(nameof(SetAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), blogId }, |
||||
|
{ typeof(BlogFeatureInputDto), dto } |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of BlogFeatureAdminClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.Blogs; |
||||
|
|
||||
|
public partial class BlogFeatureAdminClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,105 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Admin.Blogs; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.Blogs; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IBlogPostAdminAppService), typeof(BlogPostAdminClientProxy))] |
||||
|
public partial class BlogPostAdminClientProxy : ClientProxyBase<IBlogPostAdminAppService>, IBlogPostAdminAppService |
||||
|
{ |
||||
|
public virtual async Task<BlogPostDto> CreateAsync(CreateBlogPostDto input) |
||||
|
{ |
||||
|
return await RequestAsync<BlogPostDto>(nameof(CreateAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(CreateBlogPostDto), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task DeleteAsync(Guid id) |
||||
|
{ |
||||
|
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<BlogPostDto> GetAsync(Guid id) |
||||
|
{ |
||||
|
return await RequestAsync<BlogPostDto>(nameof(GetAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<PagedResultDto<BlogPostListDto>> GetListAsync(BlogPostGetListInput input) |
||||
|
{ |
||||
|
return await RequestAsync<PagedResultDto<BlogPostListDto>>(nameof(GetListAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(BlogPostGetListInput), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<BlogPostDto> UpdateAsync(Guid id, UpdateBlogPostDto input) |
||||
|
{ |
||||
|
return await RequestAsync<BlogPostDto>(nameof(UpdateAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id }, |
||||
|
{ typeof(UpdateBlogPostDto), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task PublishAsync(Guid id) |
||||
|
{ |
||||
|
await RequestAsync(nameof(PublishAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task DraftAsync(Guid id) |
||||
|
{ |
||||
|
await RequestAsync(nameof(DraftAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<BlogPostDto> CreateAndPublishAsync(CreateBlogPostDto input) |
||||
|
{ |
||||
|
return await RequestAsync<BlogPostDto>(nameof(CreateAndPublishAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(CreateBlogPostDto), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task SendToReviewAsync(Guid id) |
||||
|
{ |
||||
|
await RequestAsync(nameof(SendToReviewAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<BlogPostDto> CreateAndSendToReviewAsync(CreateBlogPostDto input) |
||||
|
{ |
||||
|
return await RequestAsync<BlogPostDto>(nameof(CreateAndSendToReviewAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(CreateBlogPostDto), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<bool> HasBlogPostWaitingForReviewAsync() |
||||
|
{ |
||||
|
return await RequestAsync<bool>(nameof(HasBlogPostWaitingForReviewAsync)); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of BlogPostAdminClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.Blogs; |
||||
|
|
||||
|
public partial class BlogPostAdminClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,65 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Admin.Comments; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.Comments; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(ICommentAdminAppService), typeof(CommentAdminClientProxy))] |
||||
|
public partial class CommentAdminClientProxy : ClientProxyBase<ICommentAdminAppService>, ICommentAdminAppService |
||||
|
{ |
||||
|
public virtual async Task<PagedResultDto<CommentWithAuthorDto>> GetListAsync(CommentGetListInput input) |
||||
|
{ |
||||
|
return await RequestAsync<PagedResultDto<CommentWithAuthorDto>>(nameof(GetListAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(CommentGetListInput), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<CommentWithAuthorDto> GetAsync(Guid id) |
||||
|
{ |
||||
|
return await RequestAsync<CommentWithAuthorDto>(nameof(GetAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task DeleteAsync(Guid id) |
||||
|
{ |
||||
|
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task UpdateApprovalStatusAsync(Guid id, CommentApprovalDto input) |
||||
|
{ |
||||
|
await RequestAsync(nameof(UpdateApprovalStatusAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id }, |
||||
|
{ typeof(CommentApprovalDto), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task UpdateSettingsAsync(CommentSettingsDto input) |
||||
|
{ |
||||
|
await RequestAsync(nameof(UpdateSettingsAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(CommentSettingsDto), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<int> GetWaitingCountAsync() |
||||
|
{ |
||||
|
return await RequestAsync<int>(nameof(GetWaitingCountAsync)); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of CommentAdminClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.Comments; |
||||
|
|
||||
|
public partial class CommentAdminClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,43 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Admin.Tags; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.Tags; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IEntityTagAdminAppService), typeof(EntityTagAdminClientProxy))] |
||||
|
public partial class EntityTagAdminClientProxy : ClientProxyBase<IEntityTagAdminAppService>, IEntityTagAdminAppService |
||||
|
{ |
||||
|
public virtual async Task AddTagToEntityAsync(EntityTagCreateDto input) |
||||
|
{ |
||||
|
await RequestAsync(nameof(AddTagToEntityAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(EntityTagCreateDto), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task RemoveTagFromEntityAsync(EntityTagRemoveDto input) |
||||
|
{ |
||||
|
await RequestAsync(nameof(RemoveTagFromEntityAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(EntityTagRemoveDto), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task SetEntityTagsAsync(EntityTagSetDto input) |
||||
|
{ |
||||
|
await RequestAsync(nameof(SetEntityTagsAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(EntityTagSetDto), input } |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of EntityTagAdminClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.Tags; |
||||
|
|
||||
|
public partial class EntityTagAdminClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,32 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Admin.GlobalResources; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.GlobalResources; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IGlobalResourceAdminAppService), typeof(GlobalResourceAdminClientProxy))] |
||||
|
public partial class GlobalResourceAdminClientProxy : ClientProxyBase<IGlobalResourceAdminAppService>, IGlobalResourceAdminAppService |
||||
|
{ |
||||
|
public virtual async Task<GlobalResourcesDto> GetAsync() |
||||
|
{ |
||||
|
return await RequestAsync<GlobalResourcesDto>(nameof(GetAsync)); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task SetGlobalResourcesAsync(GlobalResourcesUpdateDto input) |
||||
|
{ |
||||
|
await RequestAsync(nameof(SetGlobalResourcesAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(GlobalResourcesUpdateDto), input } |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of GlobalResourceAdminClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.GlobalResources; |
||||
|
|
||||
|
public partial class GlobalResourceAdminClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,36 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Admin.MediaDescriptors; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.MediaDescriptors; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IMediaDescriptorAdminAppService), typeof(MediaDescriptorAdminClientProxy))] |
||||
|
public partial class MediaDescriptorAdminClientProxy : ClientProxyBase<IMediaDescriptorAdminAppService>, IMediaDescriptorAdminAppService |
||||
|
{ |
||||
|
public virtual async Task<MediaDescriptorDto> CreateAsync(string entityType, CreateMediaInputWithStream inputStream) |
||||
|
{ |
||||
|
return await RequestAsync<MediaDescriptorDto>(nameof(CreateAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), entityType }, |
||||
|
{ typeof(CreateMediaInputWithStream), inputStream } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task DeleteAsync(Guid id) |
||||
|
{ |
||||
|
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of MediaDescriptorAdminClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.MediaDescriptors; |
||||
|
|
||||
|
public partial class MediaDescriptorAdminClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,91 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Admin.Menus; |
||||
|
using Volo.CmsKit.Menus; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.Menus; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IMenuItemAdminAppService), typeof(MenuItemAdminClientProxy))] |
||||
|
public partial class MenuItemAdminClientProxy : ClientProxyBase<IMenuItemAdminAppService>, IMenuItemAdminAppService |
||||
|
{ |
||||
|
public virtual async Task<ListResultDto<MenuItemDto>> GetListAsync() |
||||
|
{ |
||||
|
return await RequestAsync<ListResultDto<MenuItemDto>>(nameof(GetListAsync)); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<MenuItemWithDetailsDto> GetAsync(Guid id) |
||||
|
{ |
||||
|
return await RequestAsync<MenuItemWithDetailsDto>(nameof(GetAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<MenuItemDto> CreateAsync(MenuItemCreateInput input) |
||||
|
{ |
||||
|
return await RequestAsync<MenuItemDto>(nameof(CreateAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(MenuItemCreateInput), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<MenuItemDto> UpdateAsync(Guid id, MenuItemUpdateInput input) |
||||
|
{ |
||||
|
return await RequestAsync<MenuItemDto>(nameof(UpdateAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id }, |
||||
|
{ typeof(MenuItemUpdateInput), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task DeleteAsync(Guid id) |
||||
|
{ |
||||
|
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task MoveMenuItemAsync(Guid id, MenuItemMoveInput input) |
||||
|
{ |
||||
|
await RequestAsync(nameof(MoveMenuItemAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id }, |
||||
|
{ typeof(MenuItemMoveInput), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<PagedResultDto<PageLookupDto>> GetPageLookupAsync(PageLookupInputDto input) |
||||
|
{ |
||||
|
return await RequestAsync<PagedResultDto<PageLookupDto>>(nameof(GetPageLookupAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(PageLookupInputDto), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<ListResultDto<PermissionLookupDto>> GetPermissionLookupAsync(PermissionLookupInputDto inputDto) |
||||
|
{ |
||||
|
return await RequestAsync<ListResultDto<PermissionLookupDto>>(nameof(GetPermissionLookupAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(PermissionLookupInputDto), inputDto } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<int> GetAvailableMenuOrderAsync(Guid? parentId) |
||||
|
{ |
||||
|
return await RequestAsync<int>(nameof(GetAvailableMenuOrderAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid?), parentId } |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of MenuItemAdminClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.Menus; |
||||
|
|
||||
|
public partial class MenuItemAdminClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,68 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Admin.Pages; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.Pages; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IPageAdminAppService), typeof(PageAdminClientProxy))] |
||||
|
public partial class PageAdminClientProxy : ClientProxyBase<IPageAdminAppService>, IPageAdminAppService |
||||
|
{ |
||||
|
public virtual async Task<PageDto> GetAsync(Guid id) |
||||
|
{ |
||||
|
return await RequestAsync<PageDto>(nameof(GetAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<PagedResultDto<PageDto>> GetListAsync(GetPagesInputDto input) |
||||
|
{ |
||||
|
return await RequestAsync<PagedResultDto<PageDto>>(nameof(GetListAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(GetPagesInputDto), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<PageDto> CreateAsync(CreatePageInputDto input) |
||||
|
{ |
||||
|
return await RequestAsync<PageDto>(nameof(CreateAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(CreatePageInputDto), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<PageDto> UpdateAsync(Guid id, UpdatePageInputDto input) |
||||
|
{ |
||||
|
return await RequestAsync<PageDto>(nameof(UpdateAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id }, |
||||
|
{ typeof(UpdatePageInputDto), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task DeleteAsync(Guid id) |
||||
|
{ |
||||
|
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task SetAsHomePageAsync(Guid id) |
||||
|
{ |
||||
|
await RequestAsync(nameof(SetAsHomePageAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of PageAdminClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.Pages; |
||||
|
|
||||
|
public partial class PageAdminClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,66 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Admin.Tags; |
||||
|
using Volo.CmsKit.Tags; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.Tags; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(ITagAdminAppService), typeof(TagAdminClientProxy))] |
||||
|
public partial class TagAdminClientProxy : ClientProxyBase<ITagAdminAppService>, ITagAdminAppService |
||||
|
{ |
||||
|
public virtual async Task<TagDto> CreateAsync(TagCreateDto input) |
||||
|
{ |
||||
|
return await RequestAsync<TagDto>(nameof(CreateAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(TagCreateDto), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task DeleteAsync(Guid id) |
||||
|
{ |
||||
|
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<TagDto> GetAsync(Guid id) |
||||
|
{ |
||||
|
return await RequestAsync<TagDto>(nameof(GetAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<PagedResultDto<TagDto>> GetListAsync(TagGetListInput input) |
||||
|
{ |
||||
|
return await RequestAsync<PagedResultDto<TagDto>>(nameof(GetListAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(TagGetListInput), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<TagDto> UpdateAsync(Guid id, TagUpdateDto input) |
||||
|
{ |
||||
|
return await RequestAsync<TagDto>(nameof(UpdateAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id }, |
||||
|
{ typeof(TagUpdateDto), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<List<TagDefinitionDto>> GetTagDefinitionsAsync() |
||||
|
{ |
||||
|
return await RequestAsync<List<TagDefinitionDto>>(nameof(GetTagDefinitionsAsync)); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of TagAdminClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Admin.Tags; |
||||
|
|
||||
|
public partial class TagAdminClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -1,3 +1,15 @@ |
|||||
{ |
{ |
||||
"role": "lib.http-api-client" |
"role": "lib.http-api-client", |
||||
|
"proxies": { |
||||
|
"csharp": { |
||||
|
"Volo.CmsKit.Web.Unified-cms-kit-admin": { |
||||
|
"applicationName": "Volo.CmsKit.Web.Unified", |
||||
|
"module": "cms-kit-admin", |
||||
|
"url": "https://localhost:44349", |
||||
|
"folder": "ClientProxies", |
||||
|
"serviceType": "all", |
||||
|
"withoutContracts": true |
||||
|
} |
||||
|
} |
||||
|
} |
||||
} |
} |
||||
@ -0,0 +1,28 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Blogs; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Blogs; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IBlogFeatureAppService), typeof(BlogFeatureClientProxy))] |
||||
|
public partial class BlogFeatureClientProxy : ClientProxyBase<IBlogFeatureAppService>, IBlogFeatureAppService |
||||
|
{ |
||||
|
public virtual async Task<BlogFeatureDto> GetOrDefaultAsync(Guid blogId, string featureName) |
||||
|
{ |
||||
|
return await RequestAsync<BlogFeatureDto>(nameof(GetOrDefaultAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), blogId }, |
||||
|
{ typeof(string), featureName } |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of BlogFeatureClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Blogs; |
||||
|
|
||||
|
public partial class BlogFeatureClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,28 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.Content; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.MediaDescriptors; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.MediaDescriptors; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IMediaDescriptorAppService), typeof(MediaDescriptorClientProxy))] |
||||
|
public partial class MediaDescriptorClientProxy : ClientProxyBase<IMediaDescriptorAppService>, IMediaDescriptorAppService |
||||
|
{ |
||||
|
public virtual async Task<RemoteStreamContent> DownloadAsync(Guid id) |
||||
|
{ |
||||
|
return await RequestAsync<RemoteStreamContent>(nameof(DownloadAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of MediaDescriptorClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.MediaDescriptors; |
||||
|
|
||||
|
public partial class MediaDescriptorClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -1,3 +1,15 @@ |
|||||
{ |
{ |
||||
"role": "lib.http-api-client" |
"role": "lib.http-api-client", |
||||
|
"proxies": { |
||||
|
"csharp": { |
||||
|
"Volo.CmsKit.Web.Unified-cms-kit-common": { |
||||
|
"applicationName": "Volo.CmsKit.Web.Unified", |
||||
|
"module": "cms-kit-common", |
||||
|
"url": "https://localhost:44349", |
||||
|
"folder": "ClientProxies", |
||||
|
"serviceType": "all", |
||||
|
"withoutContracts": true |
||||
|
} |
||||
|
} |
||||
|
} |
||||
} |
} |
||||
@ -1,3 +1,14 @@ |
|||||
{ |
{ |
||||
"role": "lib.mvc" |
"role": "lib.mvc", |
||||
|
"proxies": { |
||||
|
"Javascript": { |
||||
|
"Volo.CmsKit.Web.Unified-cms-kit-common": { |
||||
|
"applicationName": "Volo.CmsKit.Web.Unified", |
||||
|
"module": "cms-kit-common", |
||||
|
"url": "https://localhost:44349", |
||||
|
"output": "wwwroot/client-proxies/", |
||||
|
"serviceType": "application" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
} |
} |
||||
@ -0,0 +1,71 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Contents; |
||||
|
using Volo.CmsKit.Public.Blogs; |
||||
|
using Volo.CmsKit.Users; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.Blogs; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IBlogPostPublicAppService), typeof(BlogPostPublicClientProxy))] |
||||
|
public partial class BlogPostPublicClientProxy : ClientProxyBase<IBlogPostPublicAppService>, IBlogPostPublicAppService |
||||
|
{ |
||||
|
public virtual async Task<BlogPostCommonDto> GetAsync(string blogSlug, string blogPostSlug) |
||||
|
{ |
||||
|
return await RequestAsync<BlogPostCommonDto>(nameof(GetAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), blogSlug }, |
||||
|
{ typeof(string), blogPostSlug } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<PagedResultDto<BlogPostCommonDto>> GetListAsync(string blogSlug, BlogPostGetListInput input) |
||||
|
{ |
||||
|
return await RequestAsync<PagedResultDto<BlogPostCommonDto>>(nameof(GetListAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), blogSlug }, |
||||
|
{ typeof(BlogPostGetListInput), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<PagedResultDto<CmsUserDto>> GetAuthorsHasBlogPostsAsync(BlogPostFilteredPagedAndSortedResultRequestDto input) |
||||
|
{ |
||||
|
return await RequestAsync<PagedResultDto<CmsUserDto>>(nameof(GetAuthorsHasBlogPostsAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(BlogPostFilteredPagedAndSortedResultRequestDto), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<CmsUserDto> GetAuthorHasBlogPostAsync(Guid id) |
||||
|
{ |
||||
|
return await RequestAsync<CmsUserDto>(nameof(GetAuthorHasBlogPostAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task DeleteAsync(Guid id) |
||||
|
{ |
||||
|
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<string> GetTagNameAsync(Guid tagId) |
||||
|
{ |
||||
|
return await RequestAsync<string>(nameof(GetTagNameAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), tagId } |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of BlogPostPublicClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.Blogs; |
||||
|
|
||||
|
public partial class BlogPostPublicClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,55 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Public.Comments; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.Comments; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(ICommentPublicAppService), typeof(CommentPublicClientProxy))] |
||||
|
public partial class CommentPublicClientProxy : ClientProxyBase<ICommentPublicAppService>, ICommentPublicAppService |
||||
|
{ |
||||
|
public virtual async Task<ListResultDto<CommentWithDetailsDto>> GetListAsync(string entityType, string entityId) |
||||
|
{ |
||||
|
return await RequestAsync<ListResultDto<CommentWithDetailsDto>>(nameof(GetListAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), entityType }, |
||||
|
{ typeof(string), entityId } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<CommentDto> CreateAsync(string entityType, string entityId, CreateCommentInput input) |
||||
|
{ |
||||
|
return await RequestAsync<CommentDto>(nameof(CreateAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), entityType }, |
||||
|
{ typeof(string), entityId }, |
||||
|
{ typeof(CreateCommentInput), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<CommentDto> UpdateAsync(Guid id, UpdateCommentInput input) |
||||
|
{ |
||||
|
return await RequestAsync<CommentDto>(nameof(UpdateAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id }, |
||||
|
{ typeof(UpdateCommentInput), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task DeleteAsync(Guid id) |
||||
|
{ |
||||
|
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of CommentPublicClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.Comments; |
||||
|
|
||||
|
public partial class CommentPublicClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,29 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Public.GlobalResources; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.GlobalResources; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IGlobalResourcePublicAppService), typeof(GlobalResourcePublicClientProxy))] |
||||
|
public partial class GlobalResourcePublicClientProxy : ClientProxyBase<IGlobalResourcePublicAppService>, IGlobalResourcePublicAppService |
||||
|
{ |
||||
|
public virtual async Task<GlobalResourceDto> GetGlobalScriptAsync() |
||||
|
{ |
||||
|
return await RequestAsync<GlobalResourceDto>(nameof(GetGlobalScriptAsync)); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<GlobalResourceDto> GetGlobalStyleAsync() |
||||
|
{ |
||||
|
return await RequestAsync<GlobalResourceDto>(nameof(GetGlobalStyleAsync)); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of GlobalResourcePublicClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.GlobalResources; |
||||
|
|
||||
|
public partial class GlobalResourcePublicClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,37 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Public.MarkedItems; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.MarkedItems; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IMarkedItemPublicAppService), typeof(MarkedItemPublicClientProxy))] |
||||
|
public partial class MarkedItemPublicClientProxy : ClientProxyBase<IMarkedItemPublicAppService>, IMarkedItemPublicAppService |
||||
|
{ |
||||
|
public virtual async Task<MarkedItemWithToggleDto> GetForUserAsync(string entityType, string entityId) |
||||
|
{ |
||||
|
return await RequestAsync<MarkedItemWithToggleDto>(nameof(GetForUserAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), entityType }, |
||||
|
{ typeof(string), entityId } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<bool> ToggleAsync(string entityType, string entityId) |
||||
|
{ |
||||
|
return await RequestAsync<bool>(nameof(ToggleAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), entityType }, |
||||
|
{ typeof(string), entityId } |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of MarkedItemPublicClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.MarkedItems; |
||||
|
|
||||
|
public partial class MarkedItemPublicClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,25 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Menus; |
||||
|
using Volo.CmsKit.Public.Menus; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.Menus; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IMenuItemPublicAppService), typeof(MenuItemPublicClientProxy))] |
||||
|
public partial class MenuItemPublicClientProxy : ClientProxyBase<IMenuItemPublicAppService>, IMenuItemPublicAppService |
||||
|
{ |
||||
|
public virtual async Task<List<MenuItemDto>> GetListAsync() |
||||
|
{ |
||||
|
return await RequestAsync<List<MenuItemDto>>(nameof(GetListAsync)); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of MenuItemPublicClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.Menus; |
||||
|
|
||||
|
public partial class MenuItemPublicClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,41 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Contents; |
||||
|
using Volo.CmsKit.Public.Pages; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.Pages; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IPagePublicAppService), typeof(PagesPublicClientProxy))] |
||||
|
public partial class PagesPublicClientProxy : ClientProxyBase<IPagePublicAppService>, IPagePublicAppService |
||||
|
{ |
||||
|
public virtual async Task<PageDto> FindBySlugAsync(string slug) |
||||
|
{ |
||||
|
return await RequestAsync<PageDto>(nameof(FindBySlugAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), slug } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<PageDto> FindDefaultHomePageAsync() |
||||
|
{ |
||||
|
return await RequestAsync<PageDto>(nameof(FindDefaultHomePageAsync)); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<bool> DoesSlugExistAsync(string slug) |
||||
|
{ |
||||
|
return await RequestAsync<bool>(nameof(DoesSlugExistAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), slug } |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of PagesPublicClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.Pages; |
||||
|
|
||||
|
public partial class PagesPublicClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,47 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Public.Ratings; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.Ratings; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IRatingPublicAppService), typeof(RatingPublicClientProxy))] |
||||
|
public partial class RatingPublicClientProxy : ClientProxyBase<IRatingPublicAppService>, IRatingPublicAppService |
||||
|
{ |
||||
|
public virtual async Task<RatingDto> CreateAsync(string entityType, string entityId, CreateUpdateRatingInput input) |
||||
|
{ |
||||
|
return await RequestAsync<RatingDto>(nameof(CreateAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), entityType }, |
||||
|
{ typeof(string), entityId }, |
||||
|
{ typeof(CreateUpdateRatingInput), input } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task DeleteAsync(string entityType, string entityId) |
||||
|
{ |
||||
|
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), entityType }, |
||||
|
{ typeof(string), entityId } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<List<RatingWithStarCountDto>> GetGroupedStarCountsAsync(string entityType, string entityId) |
||||
|
{ |
||||
|
return await RequestAsync<List<RatingWithStarCountDto>>(nameof(GetGroupedStarCountsAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), entityType }, |
||||
|
{ typeof(string), entityId } |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of RatingPublicClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.Ratings; |
||||
|
|
||||
|
public partial class RatingPublicClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,48 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Public.Reactions; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.Reactions; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IReactionPublicAppService), typeof(ReactionPublicClientProxy))] |
||||
|
public partial class ReactionPublicClientProxy : ClientProxyBase<IReactionPublicAppService>, IReactionPublicAppService |
||||
|
{ |
||||
|
public virtual async Task<ListResultDto<ReactionWithSelectionDto>> GetForSelectionAsync(string entityType, string entityId) |
||||
|
{ |
||||
|
return await RequestAsync<ListResultDto<ReactionWithSelectionDto>>(nameof(GetForSelectionAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), entityType }, |
||||
|
{ typeof(string), entityId } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task CreateAsync(string entityType, string entityId, string reaction) |
||||
|
{ |
||||
|
await RequestAsync(nameof(CreateAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), entityType }, |
||||
|
{ typeof(string), entityId }, |
||||
|
{ typeof(string), reaction } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task DeleteAsync(string entityType, string entityId, string reaction) |
||||
|
{ |
||||
|
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), entityType }, |
||||
|
{ typeof(string), entityId }, |
||||
|
{ typeof(string), reaction } |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of ReactionPublicClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.Reactions; |
||||
|
|
||||
|
public partial class ReactionPublicClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -0,0 +1,37 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.CmsKit.Tags; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.Tags; |
||||
|
|
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(ITagAppService), typeof(TagPublicClientProxy))] |
||||
|
public partial class TagPublicClientProxy : ClientProxyBase<ITagAppService>, ITagAppService |
||||
|
{ |
||||
|
public virtual async Task<List<TagDto>> GetAllRelatedTagsAsync(string entityType, string entityId) |
||||
|
{ |
||||
|
return await RequestAsync<List<TagDto>>(nameof(GetAllRelatedTagsAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), entityType }, |
||||
|
{ typeof(string), entityId } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<List<PopularTagDto>> GetPopularTagsAsync(string entityType, int maxCount) |
||||
|
{ |
||||
|
return await RequestAsync<List<PopularTagDto>>(nameof(GetPopularTagsAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), entityType }, |
||||
|
{ typeof(int), maxCount } |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,7 @@ |
|||||
|
// This file is part of TagPublicClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.CmsKit.Public.Tags; |
||||
|
|
||||
|
public partial class TagPublicClientProxy |
||||
|
{ |
||||
|
} |
||||
@ -1,3 +1,15 @@ |
|||||
{ |
{ |
||||
"role": "lib.http-api-client" |
"role": "lib.http-api-client", |
||||
|
"proxies": { |
||||
|
"csharp": { |
||||
|
"Volo.CmsKit.Web.Unified-cms-kit": { |
||||
|
"applicationName": "Volo.CmsKit.Web.Unified", |
||||
|
"module": "cms-kit", |
||||
|
"url": "https://localhost:44349", |
||||
|
"folder": "ClientProxies", |
||||
|
"serviceType": "all", |
||||
|
"withoutContracts": true |
||||
|
} |
||||
|
} |
||||
|
} |
||||
} |
} |
||||
Loading…
Reference in new issue