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.
A tenant config version was published to production.
Source Definition
import { ScalarTypeEnum, SchemaModel } from '@lssm-tech/lib.schema';
import { defineEvent } from '../events';
import { OwnersEnum, StabilityEnum, TagsEnum } from '../ownership';
export const ConfigPublishedEvent = defineEvent({
meta: {
...lifecycleOwnership,
key: 'app_config.published',
version: '1.0.0',
description: 'A tenant config version was published to production.',
},
payload: new SchemaModel({
name: 'ConfigPublishedPayload',
fields: {
tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },
appId: { type: ScalarTypeEnum.ID(), isOptional: false },
version: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
previousVersion: {
type: ScalarTypeEnum.String_unsecure(),
isOptional: true,
},
publishedBy: {
type: ScalarTypeEnum.String_unsecure(),
isOptional: false,
},
changeSummary: {
type: ScalarTypeEnum.String_unsecure(),
isOptional: true,
},
changedSections: {
type: ScalarTypeEnum.String_unsecure(),
isOptional: true,
isArray: true,
},
},
}),
});