mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 22:37:54 +00:00
feat: premium ID changes
Some checks failed
Build and push Docker image / .net docker build (push) Has been cancelled
.net checks / run .net tests (push) Has been cancelled
.net checks / dotnet-format (push) Has been cancelled
Build and push Rust service Docker images / rust docker build (push) Has been cancelled
rust checks / cargo fmt (push) Has been cancelled
Some checks failed
Build and push Docker image / .net docker build (push) Has been cancelled
.net checks / run .net tests (push) Has been cancelled
.net checks / dotnet-format (push) Has been cancelled
Build and push Rust service Docker images / rust docker build (push) Has been cancelled
rust checks / cargo fmt (push) Has been cancelled
This commit is contained in:
parent
84e98450e0
commit
def9285250
19 changed files with 364 additions and 5 deletions
14
PluralKit.Core/Models/Patch/PremiumAllowancePatch.cs
Normal file
14
PluralKit.Core/Models/Patch/PremiumAllowancePatch.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using Newtonsoft.Json.Linq;
|
||||
|
||||
using SqlKata;
|
||||
|
||||
namespace PluralKit.Core;
|
||||
|
||||
public class PremiumAllowancePatch: PatchObject
|
||||
{
|
||||
public Partial<int> IdChangesRemaining { get; set; }
|
||||
|
||||
public override Query Apply(Query q) => q.ApplyPatch(wrapper => wrapper
|
||||
.With("id_changes_remaining", IdChangesRemaining)
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue