new routes for notifiers

This commit is contained in:
Hayden 2023-03-05 11:06:30 -09:00
parent d79d0b45bf
commit 882f86f6f4
No known key found for this signature in database
GPG key ID: 17CF79474E257545
8 changed files with 741 additions and 5 deletions

View file

@ -13,6 +13,7 @@ type AllRepos struct {
Docs *DocumentRepository
Attachments *AttachmentRepo
MaintEntry *MaintenanceEntryRepository
Notifiers *NotifierRepository
}
func New(db *ent.Client, root string) *AllRepos {
@ -26,5 +27,6 @@ func New(db *ent.Client, root string) *AllRepos {
Docs: &DocumentRepository{db, root},
Attachments: &AttachmentRepo{db},
MaintEntry: &MaintenanceEntryRepository{db},
Notifiers: NewNotifierRepository(db),
}
}