summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Tag.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/Tag.cs b/Tag.cs
new file mode 100644
index 0000000..9f3577c
--- /dev/null
+++ b/Tag.cs
@@ -0,0 +1,14 @@
+namespace HyperBooru.ApiModels;
+
+public record TagCreateRequest {
+ public string? Namespace { get; init; }
+ public required string Name { get; init; }
+ public string? Alias { get; init; }
+ public Guid[]? ImplicitTags { get; init; }
+}
+
+public record TagUpdateRequest {
+ public string? Namespace { get; init; }
+ public string? Name { get; init; }
+ public string? Alias { get; init; }
+}