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.
Conversation deleted
Source Definition
import { defineEvent } from '@lssm-tech/lib.contracts-spec';
import { defineSchemaModel, ScalarTypeEnum } from '@lssm-tech/lib.schema';
import { ChatConversationModel, ChatMessageModel } from './schema';
export const ConversationDeletedEvent = defineEvent({
meta: {
key: 'ai-chat.conversation.deleted',
version: '1.0.0',
description: 'Conversation deleted',
stability: 'stable',
owners: ['@ai-chat'],
tags: ['ai-chat', 'conversation', 'deleted'],
},
payload: defineSchemaModel({
name: 'ConversationDeletedPayload',
fields: {
id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
},
}),
});