From d9831f6dd1d3bf238105955d9c4069cf1c60e5e1 Mon Sep 17 00:00:00 2001 From: Fleny Date: Thu, 7 Aug 2025 10:47:46 +0200 Subject: [PATCH] fix(types): Sort properties in DiscordEntitlement (#4286) --- packages/types/src/discord/entitlement.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/types/src/discord/entitlement.ts b/packages/types/src/discord/entitlement.ts index d20775153..a28813c84 100644 --- a/packages/types/src/discord/entitlement.ts +++ b/packages/types/src/discord/entitlement.ts @@ -6,12 +6,10 @@ export interface DiscordEntitlement { id: string /** ID of the SKU */ sku_id: string - /** ID of the user that is granted access to the entitlement's sku */ - user_id?: string - /** ID of the guild that is granted access to the entitlement's sku */ - guild_id?: string /** ID of the parent application */ application_id: string + /** ID of the user that is granted access to the entitlement's sku */ + user_id?: string /** Type of entitlement */ type: DiscordEntitlementType /** Entitlement was deleted */ @@ -20,6 +18,8 @@ export interface DiscordEntitlement { starts_at: string | null /** Date at which the entitlement is no longer valid. */ ends_at: string | null + /** ID of the guild that is granted access to the entitlement's sku */ + guild_id?: string /** For consumable items, whether or not the entitlement has been consumed */ consumed?: boolean }