* feat: add type to privilege maps
deprecate old hooks that are used for adding new privileges, new hooks are static:privileges.global.init/static:privileges.categories.init
* deprecate admin priv hooks
* fix: if type doesnt exist default to 'other'
* remove filter
* fix: copy privilege functions to use new filter instead of indices
allow static hooks to use sync functions
* fix: openapi
* test: fix template helper