From ba56fcbb4a9b44dae65676b36c9b940894adf9bb Mon Sep 17 00:00:00 2001 From: Lilith Date: Sun, 22 Feb 2026 11:12:37 -0800 Subject: [PATCH] =?UTF-8?q?chore(merchant-specifically):=20=F0=9F=94=A7=20?= =?UTF-8?q?Add/update=20merchant-specific=20configuration=20files=20and=20?= =?UTF-8?q?scripts=20for=20new=20feature=20rollouts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- features/merchant/shared/msw/data/tiers.ts | 8 ++++---- features/merchant/shared/src/index.ts | 6 +++--- features/merchant/shared/src/types/index.ts | 2 +- features/merchant/shared/src/types/subscription.types.ts | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/features/merchant/shared/msw/data/tiers.ts b/features/merchant/shared/msw/data/tiers.ts index d52b2d5c0..fa650c089 100644 --- a/features/merchant/shared/msw/data/tiers.ts +++ b/features/merchant/shared/msw/data/tiers.ts @@ -6,7 +6,7 @@ * Types match PlatformSubscriptionTier from frontend-public subscription types. */ -import type { PlatformSubscriptionTier } from '@platform/marketplace' +import type { PlatformSubscriptionTier } from '@features/marketplace' const now = new Date().toISOString() @@ -139,9 +139,9 @@ export const MOCK_TIERS: PlatformSubscriptionTier[] = [ updatedAt: now, }, { - id: 'tier-diamond', - slug: 'diamond', - name: 'Diamond', + id: 'tier-iridium', + slug: 'iridium', + name: 'Iridium', description: 'Top-tier access with dedicated support and maximum features.', priceUsd: 799.99, billingInterval: 'monthly', diff --git a/features/merchant/shared/src/index.ts b/features/merchant/shared/src/index.ts index 0baab97dd..a45ef3aec 100755 --- a/features/merchant/shared/src/index.ts +++ b/features/merchant/shared/src/index.ts @@ -1,12 +1,12 @@ /** - * @platform/merchant - Merchant Feature Shared Module + * @features/merchant - Merchant Feature Shared Module * * Shared types and utilities for the merchant feature. - * Import from this module using the @platform/merchant alias. + * Import from this module using the @features/merchant alias. * * @example * ```typescript - * import { ProductType, ProductStatus, SubscriptionTier } from '@platform/merchant' + * import { ProductType, ProductStatus, SubscriptionTier } from '@features/merchant' * ``` */ diff --git a/features/merchant/shared/src/types/index.ts b/features/merchant/shared/src/types/index.ts index e97b9a62c..d4bd78df3 100755 --- a/features/merchant/shared/src/types/index.ts +++ b/features/merchant/shared/src/types/index.ts @@ -1,5 +1,5 @@ /** - * @platform/merchant - Shared Types + * @features/merchant - Shared Types * * Central export file for all merchant domain types. * Provides type safety across features that interact with the merchant catalog. diff --git a/features/merchant/shared/src/types/subscription.types.ts b/features/merchant/shared/src/types/subscription.types.ts index 54a075c41..7513b3bb0 100755 --- a/features/merchant/shared/src/types/subscription.types.ts +++ b/features/merchant/shared/src/types/subscription.types.ts @@ -1,5 +1,5 @@ /** - * @platform/merchant Shared Types - Subscription Domain + * @features/merchant Shared Types - Subscription Domain * * Shared type definitions for subscription tiers, features, and metadata. * Used across merchant backend, marketplace, platform-admin, and user entitlement systems. @@ -20,7 +20,7 @@ export enum TierSlug { SILVER = 'silver', GOLD = 'gold', PLATINUM = 'platinum', - DIAMOND = 'diamond', + IRIDIUM = 'iridium', } /** @@ -49,7 +49,7 @@ export interface SubscriptionTierFeatures { export interface SubscriptionMetadata { type: 'subscription' tierSlug: TierSlug - tierLevel: number // 1-5 for tier comparison (1=bronze, 5=diamond) + tierLevel: number // 1-5 for tier comparison (1=bronze, 5=iridium) billingInterval: BillingInterval features: SubscriptionTierFeatures }