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.

appConfig.resolveMessage

Resolves a translation key for a tenant in the requested locale.

  • Type: operation (query)
  • Version: 1.0.0
  • File: packages/libs/contracts-spec/src/app-config/app-config.contracts.ts
  • Expose a server-side API for resolving message keys on demand.

    field.key.label
    appConfig.resolveMessage
    field.version.label
    1.0.0
    field.type.label
    operation (query)
    field.title.label
    appConfig.resolveMessage
    field.description.label

    Resolves a translation key for a tenant in the requested locale.

  • Type: operation (query)
  • Version: 1.0.0
  • File: packages/libs/contracts-spec/src/app-config/app-config.contracts.ts
  • Expose a server-side API for resolving message keys on demand.

    field.tags.label
    field.owners.label
    field.stability.label

    Resolves a translation key for a tenant in the requested locale.

    Goal

    Expose a server-side API for resolving message keys on demand.

    Context

    Used by backend services or scripts that need translated copy outside the front-end runtime.

    Source Definition

    export const ResolveMessageQuery = defineQuery({
    	meta: {
    		key: 'appConfig.resolveMessage',
    		version: '1.0.0',
    		description:
    			'Resolves a translation key for a tenant in the requested locale.',
    		owners: [OwnersEnum.PlatformSigil],
    		tags: [TagsEnum.I18n],
    		stability: StabilityEnum.Experimental,
    		goal: 'Expose a server-side API for resolving message keys on demand.',
    		context:
    			'Used by backend services or scripts that need translated copy outside the front-end runtime.',
    	},
    	io: {
    		input: MessageResolutionInput,
    		output: MessageResolutionOutput,
    	},
    	policy: {
    		auth: 'admin',
    		policies: [{ key: 'platform.app-config.read', version: '1.0.0' }],
    	},
    });