adds category managment to embassy-publish and admin API

This commit is contained in:
Keagan McClelland
2022-06-06 17:02:23 -06:00
parent f3b9e78fca
commit a2f7b97942
6 changed files with 170 additions and 76 deletions

View File

@@ -151,29 +151,16 @@ import qualified Database.Persist.Migration.Postgres
import Database.Persist.Sql ( SqlBackend )
import Foundation ( Handler
, RegistryCtx(..)
, Route
( AppManifestR
, AppR
, EosR
, EosVersionR
, ErrorLogsR
, IconsR
, InfoR
, InstructionsR
, LicenseR
, PackageListR
, PkgDeindexR
, PkgIndexR
, PkgUploadR
, PkgVersionR
, ReleaseNotesR
, VersionLatestR
)
, Route(..)
, resourcesRegistryCtx
, setWebProcessThreadId
, unsafeHandler
)
import Handler.Admin ( getPkgDeindexR
import Handler.Admin ( deleteCategoryR
, deletePkgCategorizeR
, getPkgDeindexR
, postCategoryR
, postPkgCategorizeR
, postPkgDeindexR
, postPkgIndexR
, postPkgUploadR