-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
232 changed files
with
1,085 additions
and
621 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
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
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
38 changes: 38 additions & 0 deletions
38
src/DragonFly.API.Exports/ContentItems/RestContentComponent.cs
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,38 @@ | ||
// Copyright (c) usercode | ||
// https://github.com/usercode/DragonFly | ||
// MIT License | ||
|
||
using System.Text.Json.Nodes; | ||
using System.Text.Json.Serialization; | ||
using DragonFly.Contents.Content; | ||
|
||
namespace DragonFly.Models; | ||
|
||
/// <summary> | ||
/// RestContentComponent | ||
/// </summary> | ||
public class RestContentComponent | ||
{ | ||
public RestContentComponent() | ||
{ | ||
Fields = new JsonObject(); | ||
} | ||
|
||
/// <summary> | ||
/// Schema | ||
/// </summary> | ||
[JsonPropertyOrder(3)] | ||
public JsonNode? Schema { get; set; } | ||
|
||
/// <summary> | ||
/// SchemaVersion | ||
/// </summary> | ||
[JsonPropertyOrder(2)] | ||
public int SchemaVersion { get; set; } | ||
|
||
/// <summary> | ||
/// Fields | ||
/// </summary> | ||
[JsonPropertyOrder(30)] | ||
public JsonObject Fields { get; set; } | ||
} |
29 changes: 0 additions & 29 deletions
29
src/DragonFly.API.Exports/ContentItems/RestContentEmbedded.cs
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
src/DragonFly.API.Exports/ContentItems/RestContentFields.cs
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
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
Oops, something went wrong.