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.

saas.billing.subscription

Subscription status with plan info, limits, and current usage

  • Type: presentation (presentation)
  • Version: 1.0.0
  • Owners: @saas-team
  • Tags: billing, subscription
  • File: packages/examples/saas-boilerplate/src/billing/billing.presentation.ts
  • field.key.label
    saas.billing.subscription
    field.version.label
    1.0.0
    field.type.label
    presentation (presentation)
    field.title.label
    saas.billing.subscription
    field.description.label

    Subscription status with plan info, limits, and current usage

  • Type: presentation (presentation)
  • Version: 1.0.0
  • Owners: @saas-team
  • Tags: billing, subscription
  • File: packages/examples/saas-boilerplate/src/billing/billing.presentation.ts
  • field.tags.label
    billing,subscription
    field.owners.label
    @saas-team
    field.stability.label

    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'],
    	},
    });