| title | Plugin Runtime |
|---|---|
| description | Plugin Runtime protocol schemas |
{/*
import { ActivationEventSchema } from '@objectstack/spec/studio';
import type { ActivationEvent } from '@objectstack/spec/studio';
// Validate data
const result = ActivationEventSchema.parse(data);Lazy activation trigger for a dynamic plugin
| Property | Type | Required | Description |
|---|---|---|---|
| type | Enum<'onCommand' | 'onRoute' | 'onObject' | 'onEvent' | 'onService' | 'onSchedule' | 'onStartup' | 'onMetadataType' | 'onView'> |
✅ | Trigger type for lazy activation |
| pattern | string |
✅ | Match pattern for the activation trigger |