diff options
| author | Jake Mannens <jake@asger.xyz> | 2026-05-16 18:36:52 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2026-05-16 18:36:52 +1000 |
| commit | f884eb32b2aebb8aef73d4eff6231f244020d68c (patch) | |
| tree | 6e1b96002cfa22301cce3375264adef8fece461e /Tag.cs | |
| parent | c632f6ed0ece92f381dbcb2da36ed659f3867285 (diff) | |
Diffstat (limited to 'Tag.cs')
| -rw-r--r-- | Tag.cs | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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; } +} |
