chore(merchant-specifically): 🔧 Add/update merchant-specific configuration files and scripts for new feature rollouts

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Lilith 2026-02-22 11:12:37 -08:00
parent 2da52d2230
commit ba56fcbb4a
4 changed files with 11 additions and 11 deletions

View file

@ -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',

View file

@ -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'
* ```
*/

View file

@ -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.

View file

@ -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
}