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

Returns the resolved branding for a tenant/app/environment.

  • Type: operation (query)
  • Version: 1.0.0
  • Tags: branding
  • File: packages/libs/contracts-spec/src/app-config/app-config.contracts.ts
  • field.key.label
    appConfig.getResolvedBranding
    field.version.label
    1.0.0
    field.type.label
    operation (query)
    field.title.label
    appConfig.getResolvedBranding
    field.description.label

    Returns the resolved branding for a tenant/app/environment.

  • Type: operation (query)
  • Version: 1.0.0
  • Tags: branding
  • File: packages/libs/contracts-spec/src/app-config/app-config.contracts.ts
  • field.tags.label
    branding
    field.owners.label
    field.stability.label

    Returns the resolved branding for a tenant/app/environment.

    Goal

    Expose hydrated branding assets for rendering UI/email experiences.

    Context

    Used by runtime surfaces to fetch brand assets prior to rendering tenant-specific experiences.

    Source Definition

    export const GetResolvedBrandingQuery = defineQuery({
    	meta: {
    		key: 'appConfig.getResolvedBranding',
    		version: '1.0.0',
    		description: 'Returns the resolved branding for a tenant/app/environment.',
    		owners: [OwnersEnum.PlatformSigil],
    		tags: ['branding'],
    		stability: StabilityEnum.Beta,
    		goal: 'Expose hydrated branding assets for rendering UI/email experiences.',
    		context:
    			'Used by runtime surfaces to fetch brand assets prior to rendering tenant-specific experiences.',
    	},
    	io: {
    		input: new SchemaModel({
    			name: 'GetResolvedBrandingInput',
    			fields: {
    				tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },
    				appId: { type: ScalarTypeEnum.ID(), isOptional: false },
    				environment: {
    					type: ScalarTypeEnum.String_unsecure(),
    					isOptional: true,
    				},
    			},
    		}),
    		output: new SchemaModel({
    			name: 'GetResolvedBrandingOutput',
    			fields: {
    				branding: { type: ScalarTypeEnum.JSONObject(), isOptional: false },
    			},
    		}),
    	},
    	policy: {
    		auth: 'admin',
    		policies: [{ key: 'platform.app-config.read', version: '1.0.0' }],
    	},
    });