ContractSpec docs

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.

mobileLanding.cta.resolve

Resolve a landing companion CTA id to a native route or URL.

  • Type: operation (command)
  • Version: 1.0.0
  • Stability: experimental
  • Owners: @platform.core
  • Tags: mobile, expo, landing, cta
  • field.key.label
    mobileLanding.cta.resolve
    field.version.label
    1.0.0
    field.type.label
    operation (command)
    field.title.label
    mobileLanding.cta.resolve
    field.description.label

    Resolve a landing companion CTA id to a native route or URL.

  • Type: operation (command)
  • Version: 1.0.0
  • Stability: experimental
  • Owners: @platform.core
  • Tags: mobile, expo, landing, cta
  • field.tags.label
    mobile,expo,landing,cta
    field.owners.label
    @platform.core
    field.stability.label
    experimental

    Resolve a landing companion CTA id to a native route or URL.

    Goal

    Open native pages, ContractSpec web links, and Studio links from Expo.

    Context

    Used by Expo Router companion CTA buttons.

    IO

    **Input**: `LandingCtaResolveInput`

    **Output**: `LandingCtaResolveOutput`

    Source Definition

    export const MobileLandingCtaResolveCommand = defineCommand({
    	meta: {
    		key: 'mobileLanding.cta.resolve',
    		version: '1.0.0',
    		description: 'Resolve a landing companion CTA id to a native route or URL.',
    		goal: 'Open native pages, ContractSpec web links, and Studio links from Expo.',
    		context: 'Used by Expo Router companion CTA buttons.',
    		owners: ['@platform.core'],
    		tags: ['mobile', 'expo', 'landing', 'cta'],
    		stability: 'experimental',
    	},
    	io: {
    		input: LandingCtaResolveInput,
    		output: LandingCtaResolveOutput,
    	},
    	policy: {
    		auth: 'anonymous',
    	},
    });