Skip to content

schulydev/SchulyPluginAbstractions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SchulyPluginAbstractions

Schuly Logo

Plugin contract for the Schuly backend — distributed as a NuGet package

GitHub stars .NET Website

The stable contract that plugins implement and that SchulyBackend consumes. Versioned and published as a NuGet package so plugin authors don't need to vendor backend source.

What's in this repo

  • ISchulyPlugin — entry point: register services, endpoints, migrations
  • IPluginBackgroundTask — recurring background work
  • IPluginEventHandler<TCommand> — react to application commands
  • IPluginUserContext — read user claims / roles from inside a plugin

The Schuly ecosystem

Repo Purpose
Schuly Flutter mobile app
SchulyBackend ASP.NET Core API backend
SchulyPluginAbstractions Plugin contract (NuGet) (this repo)
SchulyPlugins Official plugins monorepo
SchulyWebsite Landing site (schuly.dev)

Consume in a plugin

<PackageReference Include="Schuly.Plugin.Abstractions" Version="*" />

Implement ISchulyPlugin and the backend's PluginBackgroundTaskHost discovers it automatically.

Versioning

Semver. Any interface change is marked with the breaking-change label and bumps the major version.

About

Schuly plugin contract (NuGet package)

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages