Skip to content

Commit

Permalink
Remove server side rendering functionalities (#500)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaliumhexacyanoferrat authored Oct 9, 2024
1 parent 332da40 commit 30a1937
Show file tree
Hide file tree
Showing 222 changed files with 2,836 additions and 12,368 deletions.
92 changes: 0 additions & 92 deletions API/Content/ContentElement.cs

This file was deleted.

37 changes: 0 additions & 37 deletions API/Content/ContentInfo.cs

This file was deleted.

38 changes: 0 additions & 38 deletions API/Content/ContentInfoBuilder.cs

This file was deleted.

29 changes: 0 additions & 29 deletions API/Content/IContentInfoBuilder.cs

This file was deleted.

15 changes: 0 additions & 15 deletions API/Content/IErrorRenderer.cs

This file was deleted.

10 changes: 1 addition & 9 deletions API/Content/IHandler.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Threading.Tasks;

using GenHTTP.Api.Protocol;

Expand Down Expand Up @@ -32,13 +31,6 @@ public interface IHandler
/// </remarks>
ValueTask PrepareAsync();

/// <summary>
/// Describes the content that is provided by this handler.
/// </summary>
/// <param name="request">The request to be respected when describing the content</param>
/// <returns>The content provided by this handler</returns>
IAsyncEnumerable<ContentElement> GetContentAsync(IRequest request);

/// <summary>
/// Handles the given request and returns a response, if applicable.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
using System.IO.Compression;

using GenHTTP.Api.Infrastructure;
using GenHTTP.Api.Protocol;

namespace GenHTTP.Api.Infrastructure
namespace GenHTTP.Api.Content.IO
{

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions API/Content/IO/IResourceContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public interface IResourceContainer
/// Returns the child nodes provided by this container.
/// </summary>
/// <returns>The child nodes provided by this container</returns>
IAsyncEnumerable<IResourceNode> GetNodes();
ValueTask<IReadOnlyCollection<IResourceNode>> GetNodes();

/// <summary>
/// Tries to fetch the resource with the given name.
Expand All @@ -42,7 +42,7 @@ public interface IResourceContainer
/// Returns the resources provided by this container.
/// </summary>
/// <returns>The resources provided by this container</returns>
IAsyncEnumerable<IResource> GetResources();
ValueTask<IReadOnlyCollection<IResource>> GetResources();

}

Expand Down
35 changes: 0 additions & 35 deletions API/Content/IPageAdditionBuilder.cs

This file was deleted.

16 changes: 0 additions & 16 deletions API/Content/IPageRenderer.cs

This file was deleted.

33 changes: 0 additions & 33 deletions API/Content/PageAdditionBuilder.cs

This file was deleted.

32 changes: 0 additions & 32 deletions API/Content/PageAdditions.cs

This file was deleted.

Loading

0 comments on commit 30a1937

Please sign in to comment.