@ecfjs/contracts
v1.0.0-rc.5
Published
ECF interface contracts and type definitions for building interoperable ECF packages
Maintainers
Readme
@ecfjs/contracts — Zero-Runtime Ecosystem SDK Contracts
@ecfjs/contracts contains the official zero-runtime interface definitions for the ECF (Enterprise Core Framework) ecosystem.
Included Contracts
- 🔐
IAuthManager,IGuard,IUserProvider - ⚡
ICacheManager,ICacheStore - 🔄
IQueueManager,IQueueDriver,IJob - ✉️
IMailManager,IMailer,IMailTransport - 📢
INotificationManager,INotificationChannel,INotifiable - 💾
IStorageManager,IFilesystem,IStorageDriver
Usage
import { INotificationChannel } from "@ecfjs/contracts";
export class CustomTelegramChannel extends INotificationChannel {
name() {
return "telegram";
}
async send(notifiable, notification) {
// Custom Telegram bot delivery logic
}
}License
MIT
