kingstinct / zemble

Zemble Plugin System
14 stars 1 forks source link

Simplify providers #94

Open robertherber opened 3 months ago

robertherber commented 3 months ago

To make it more intuitive let's make providers into it's own property on the plugin:

export default new Plugin({
  // ...
  providers: {
    sendEmail: {
        // ... config
        init: () => {}
    },
    sendSms: {
        // ... config
        init: () => {}
    }
  }
})