Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 902 Bytes

File metadata and controls

33 lines (21 loc) · 902 Bytes
title Plugin Runtime
description Plugin Runtime protocol schemas

{/* ⚠️ AUTO-GENERATED — DO NOT EDIT. Run build-docs.ts to regenerate. Hand-written docs live in the module folders under content/docs/. */}

TypeScript Usage

import { ActivationEventSchema } from '@objectstack/spec/studio';
import type { ActivationEvent } from '@objectstack/spec/studio';

// Validate data
const result = ActivationEventSchema.parse(data);

ActivationEvent

Lazy activation trigger for a dynamic plugin

Properties

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