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

Usage metrics and breakdown by resource type

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

    Usage metrics and breakdown by resource type

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

    Usage metrics and breakdown by resource type

    Goal

    Monitor feature usage and limits

    Context

    Billing section

    Source Definition

    import {
    	definePresentation,
    	StabilityEnum,
    } from '@lssm-tech/lib.contracts-spec';
    
    export const UsageDashboardPresentation = definePresentation({
    	meta: {
    		key: 'saas.billing.usage',
    		version: '1.0.0',
    		title: 'Usage Dashboard',
    		description: 'Usage metrics and breakdown by resource type',
    		domain: 'saas-boilerplate',
    		owners: ['@saas-team'],
    		tags: ['billing', 'usage', 'metrics'],
    		stability: StabilityEnum.Beta,
    		goal: 'Monitor feature usage and limits',
    		context: 'Billing section',
    	},
    	source: {
    		type: 'component',
    		framework: 'react',
    		componentKey: 'UsageDashboardView',
    	},
    	targets: ['react', 'markdown'],
    	policy: {
    		flags: ['saas.billing.enabled'],
    	},
    });