Releases: UN-OCHA/hpc-api-core
Releases · UN-OCHA/hpc-api-core
Update to Typescript 4.9
Add 'organizationLevel' category group
Allow project owner and plan leads to delete projects
- Exit shortly if permission condition is
'noone'
(#103) - Expand project deletion permissions and grants. In order to allow project owners and plan leads to delete their projects (or projects under their plan), make the following changes: (#104)
- Grant already existing
DELETE
permission (underproject
scope) to project owners - Introduce new
DELETE_PROJECTS
permission underplan
scope and grant it to plan leads
- Grant already existing
Add skipValidation support to find and update methods
- Add
skipValidation
support tofind
andupdate
methods (#102)
Add type and reportingPeriods fields to planTag model
- Add
type
andreportingPeriods
fields toplanTag
model (#97)
Disable soft deletion for table planYear
Add fileHash and planId to JOB_METADATA_PROJECT_EXCEL
Remove usage of deprecated hidId field
- Remove usage of deprecated column
hidId
ofparticipant
table (#80)
Update node-fetch
Bump node-fetch
from v2.6.5
to v2.6.7
(#96)
Define new helper methods and model types
- Define excel download job type. Add
'projectExcelGeneration'
to job types and defineJOB_METADATA_PROJECT_EXCEL
describing metadata of excel download jobs (#82) - Define
BUDGET_SEGMENT_BREAKDOWN_CONTENT_STRICT
codec (#93) - Introduce
getAllGlobalClustersForPlan
helper method to get all global clusters that are associated with plan's governing entities (#94)