ObjectStackObjectStack

Notification

Notification protocol schemas

Source: packages/spec/src/system/notification.zod.ts

TypeScript Usage

import { NotificationChannelSchema } from '@objectstack/spec/system';
import type { NotificationChannel } from '@objectstack/spec/system';

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

NotificationChannel

Notification delivery channel

Allowed Values

  • email
  • sms
  • push
  • in-app
  • slack
  • teams
  • webhook

On this page