OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Subscription status with plan info, limits, and current usage
Goal
View subscription plan and status
Context
Billing section
Source Definition
import {
definePresentation,
StabilityEnum,
} from '@lssm-tech/lib.contracts-spec';
export const SubscriptionPresentation = definePresentation({
meta: {
key: 'saas.billing.subscription',
version: '1.0.0',
title: 'Subscription Status',
description:
'Subscription status with plan info, limits, and current usage',
domain: 'saas-boilerplate',
owners: ['@saas-team'],
tags: ['billing', 'subscription'],
stability: StabilityEnum.Beta,
goal: 'View subscription plan and status',
context: 'Billing section',
},
source: {
type: 'component',
framework: 'react',
componentKey: 'SubscriptionView',
},
targets: ['react', 'markdown'],
policy: {
flags: ['saas.billing.enabled'],
},
});