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.

wealth.liability.add

Add a liability.

  • Type: operation (command)
  • Version: 1.0.0
  • Stability: stable
  • Owners: examples.wealth-snapshot
  • Tags: wealth, liability, add
  • File: packages/examples/wealth-snapshot/src/operations/index.ts
  • field.key.label
    wealth.liability.add
    field.version.label
    1.0.0
    field.type.label
    operation (command)
    field.title.label
    wealth.liability.add
    field.description.label

    Add a liability.

  • Type: operation (command)
  • Version: 1.0.0
  • Stability: stable
  • Owners: examples.wealth-snapshot
  • Tags: wealth, liability, add
  • File: packages/examples/wealth-snapshot/src/operations/index.ts
  • field.tags.label
    wealth,liability,add
    field.owners.label
    examples.wealth-snapshot
    field.stability.label
    stable

    Add a liability.

    Goal

    Track debts.

    Context

    Debt onboarding/update.

    Source Definition

    import { defineCommand, defineQuery } from '@lssm-tech/lib.contracts-spec';
    import { defineSchemaModel, ScalarTypeEnum } from '@lssm-tech/lib.schema';
    
    export const AddLiabilityContract = defineCommand({
    	meta: {
    		key: 'wealth.liability.add',
    		version: '1.0.0',
    		stability: 'stable',
    		owners: ['examples.wealth-snapshot'],
    		tags: ['wealth', 'liability', 'add'],
    		description: 'Add a liability.',
    		goal: 'Track debts.',
    		context: 'Debt onboarding/update.',
    	},
    	io: { input: AddLiabilityInput, output: LiabilityModel },
    	policy: { auth: 'user' },
    });