1.0.7 • Published 5 years ago
mkm-service-learningjourneys v1.0.7
Introduction
Service to support management of frameworks
Getting Started
Install via npm
npm install mkm-service-frameworkmanager
Build and Test
Run build
npm run build
Run tests
npm test
Usage
Example usage:
import { FrameworksManagementService } from 'mkm-service-frameworkmanager';
const frameworkManagerConfig = {
apiUrl: 'http://localhost:59299/api/',
authToken: 'dHSD6bsdds....',
roleToken: '45HS5645bd....'
};
const frameworksManagementService = new FrameworksManagementService(frameworkManagerConfig);
Methods
- getFramework(id)
- getFrameworks()
- createFramework(framework)
- updateFramework(framework)
- deleteFramework(id)
- getFrameworkVersionWithHistory(id, versionId)
- getFrameworkVersion(id, versionId)
- createFrameworkVersion(id)
- updateFrameworkVersion(version)
- deleteFrameworkVersion(version)