feat: update version to 0.7.4 and enhance maturity model functionality
- Incremented application version to 0.7.4 and updated database schema version to 20260427027. - Enhanced maturity model context bindings to support new filtering options for training styles. - Introduced new API endpoints for importing and exporting maturity model bundles. - Updated frontend components to include a matrix view and improved admin UI for managing maturity models. - Documented changes in the changelog for version 0.7.4, detailing new features and improvements.
This commit is contained in:
1 parent
3397b2094d
commit
f2c007cc68
8 files changed
+1043
-71
No files matched your search
@@ -342,6 +342,24 @@ export async function deleteMaturityModelContextBinding(id) {
|
||||
return request(`/api/maturity-model-context-bindings/${id}`, { method: 'DELETE' })
|
||||
}
|
||||
|
||||
export async function importMaturityModelBundle(payload) {
|
||||
return request('/api/maturity-models/import', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(payload)
|
||||
})
|
||||
}
|
||||
|
||||
export async function exportMaturityModelBundle(modelId) {
|
||||
return request(`/api/maturity-models/${modelId}/export`)
|
||||
}
|
||||
|
||||
export async function exportResolvedMaturityBundle(filters = {}) {
|
||||
const query = new URLSearchParams(
|
||||
Object.entries(filters).filter(([, v]) => v !== undefined && v !== null && v !== '')
|
||||
).toString()
|
||||
return request(`/api/maturity-models/export-resolved${query ? '?' + query : ''}`)
|
||||
}
|
||||
|
||||
// Style Directions (formerly Training Styles)
|
||||
export async function listStyleDirections(filters = {}) {
|
||||
const query = new URLSearchParams(filters).toString()
|
||||
@@ -699,6 +717,9 @@ export const api = {
|
||||
listMaturityModelContextBindings,
|
||||
upsertMaturityModelContextBinding,
|
||||
deleteMaturityModelContextBinding,
|
||||
importMaturityModelBundle,
|
||||
exportMaturityModelBundle,
|
||||
exportResolvedMaturityBundle,
|
||||
resolveMaturityModel,
|
||||
getMaturityModel,
|
||||
createMaturityModel,
|
||||
|
||||
Reference in new issue
Block a user