summary refs log tree commit diff
path: root/src/schemas/api/entitlements
diff options
context:
space:
mode:
Diffstat (limited to 'src/schemas/api/entitlements')
-rw-r--r--src/schemas/api/entitlements/EntitlementSchema.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/schemas/api/entitlements/EntitlementSchema.ts b/src/schemas/api/entitlements/EntitlementSchema.ts

index 481b8335b..964c72485 100644 --- a/src/schemas/api/entitlements/EntitlementSchema.ts +++ b/src/schemas/api/entitlements/EntitlementSchema.ts
@@ -16,8 +16,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. */ -import { User } from "@spacebar/util"; -import { SKUSchema } from "../store"; +import { SKU, User } from "@spacebar/util"; import { EntitlementFulfillmentStatus } from "./EntitlementFulfillmentStatus"; import { EntitlementGiftStyle } from "./EntitlementGiftStyle"; import { EntitlementSpecialSourceType } from "./EntitlementSpecialSourceType"; @@ -48,6 +47,6 @@ export interface EntitlementSchema { fulfilled_at?: string; source_type?: EntitlementSpecialSourceType; tenant_metadata?: Record<string, EntitlementTenantMetadataSchema>; - sku?: SKUSchema; + sku?: SKU; subscription_plan?: Partial<unknown>; // TODO: https://docs.discord.food/resources/store#subscription-plan-object }