Skip to content

Commit

Permalink
Merge branch 'release/4.2.0' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
olliefreeman committed Jan 31, 2021
2 parents 9facc49 + 37bd155 commit 554bf72
Show file tree
Hide file tree
Showing 343 changed files with 11,843 additions and 2,271 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
package-lock.json
.idea/
yarn.lock
33 changes: 32 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,32 @@
mdm-resources
# mdm-resources

## Releasing

* Use GitFlow to release, find the version in `package.json`.
* Update package.json with the version being released
* Install npm modules
* Build `lib`
* Commit the files in `lib` and the `package.json` file with the commit message `Release <release version>`
* Finish the release using git flow
* Checkout the `develop` branch and update the version in `package.json` to the next snaphot
* Push the `main` & `develop` branches and the new tag

```shell
# Start release
$ git flow release start <Next release>

# Install npm modules
$ npm install

# Build
$ npm build

# Commit

# Finish the release
$ git flow release finish <Next release>

# Update version on develop branch
# Push
$ git push --all && git push --tags
```
4 changes: 4 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
25 changes: 21 additions & 4 deletions lib/es2015/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,27 +1,44 @@
export * from './mdm-public.resource';
export * from './mdm-enumeration-values.resource';
export * from './mdm-data-class.resource';
export * from './mdm-term.resource';
export * from './mdm-classifier.resource';
export * from './mdm-resources-configuration';
export * from './mdm-annotation.resource';
export * from './mdm-securable.resource';
export * from './mdm-facets.resource';
export * from './mdm-user-groups.resource';
export * from './mdm-group-role.resource';
export * from './mdm-provider.resource';
export * from './mdm-data-element.resource';
export * from './mdm-catalogue-item.resource';
export * from './mdm-code-set.resource';
export * from './mdm-data-model.resource';
export * from './mdm-reference-data-model.resource';
export * from './mdm-reference-data-element.resource';
export * from './mdm-reference-data-type.resource';
export * from './mdm-reference-data-value.resource';
export * from './mdm-version-link.resource';
export * from './mdm-validator';
export * from './mdm-admin.resource';
export * from './mdm-rest-handler';
export * from './mdm-security.resource';
export * from './mdm-terminology.resource';
export * from './mdm-term-replationship-type.resource';
export * from './mdm-data-class-component.resource';
export * from './mdm-namespaces.resource';
export * from './mdm-catalogue-user.resource';
export * from './mdm-session.resource';
export * from './mdm-importer.resource';
export * from './mdm-data-flow.resource';
export * from './mdm-user-group.resource';
export * from './mdm-folder.resource';
export * from './mdm-tree-item.resource';
export * from './mdm-summary-metadata.resource';
export * from './mdm-metadata.resource';
export * from './mdm-authentication.resource';
export * from './mdm-data-type.resource';
export * from './mdm-hierarchy.resource';
export * from './mdm-tree.resource';
export * from './mdm-user-image-file.resource';
export * from './mdm-data-element-component.resource';
export * from './mdm-edit.resource';
export * from './mdm-resource';
export * from './mdm-versioning.resource';
export * from './mdm-profile.resource';
25 changes: 21 additions & 4 deletions lib/es2015/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/es2015/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 33 additions & 3 deletions lib/es2015/mdm-admin.resource.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
import { MdmResource } from './mdm-resource';
import { ContainerDomainType, MdmResource, ModelDomainType } from './mdm-resource';
import { IMdmQueryStringParams, IMdmRestHandlerOptions } from './mdm-rest-handler';
/**
* Controller: admin
| GET | /api/admin/status | Action: status
| POST | /api/admin/editProperties | Action: editApiProperties
| POST | /api/admin/rebuildLuceneIndexes | Action: rebuildLuceneIndexes
| GET | /api/admin/properties | Action: apiProperties
*
* Controller: mauroDataMapperProvider
| GET | /api/admin/modules | Action: modules
*
* Controller: treeItem
| GET | /api/admin/tree/${containerDomainType}/${modelDomainType}/deleted | Action: deletedModels
| GET | /api/admin/tree/${containerDomainType}/${modelDomainType}/modelSuperseded | Action: modelSupersededModels
| GET | /api/admin/tree/${containerDomainType}/${modelDomainType}/documentationSuperseded | Action: documentationSupersededModels
*
* Controller: email
| GET | /api/admin/emails | Action: index
*
* Controller: authenticating
| POST | /api/admin/activeSessions | Action: activeSessionsWithCredentials
*/
export declare class MdmAdminResource extends MdmResource {
get(name: any, options: any): any;
post(action: any, options: any): any;
status(queryStringParams?: IMdmQueryStringParams, restHandlerOptions?: IMdmRestHandlerOptions): any;
editProperties(data: any, restHandlerOptions?: IMdmRestHandlerOptions): any;
rebuildLuceneIndexes(data: any, restHandlerOptions?: IMdmRestHandlerOptions): any;
properties(queryStringParams?: IMdmQueryStringParams, restHandlerOptions?: IMdmRestHandlerOptions): any;
modules(queryStringParams?: IMdmQueryStringParams, restHandlerOptions?: IMdmRestHandlerOptions): any;
deletedModels(containerDomainType: string | ContainerDomainType, modelDomainType: string | ModelDomainType, queryStringParams?: IMdmQueryStringParams, restHandlerOptions?: IMdmRestHandlerOptions): any;
modelSupersededModels(containerDomainType: string | ContainerDomainType, modelDomainType: string | ModelDomainType, queryStringParams?: IMdmQueryStringParams, restHandlerOptions?: IMdmRestHandlerOptions): any;
documentationSupersededModels(containerDomainType: string | ContainerDomainType, modelDomainType: string | ModelDomainType, queryStringParams?: IMdmQueryStringParams, restHandlerOptions?: IMdmRestHandlerOptions): any;
emails(queryStringParams?: IMdmQueryStringParams, restHandlerOptions?: IMdmRestHandlerOptions): any;
activeSessions(data: any, restHandlerOptions?: IMdmRestHandlerOptions): any;
}
63 changes: 59 additions & 4 deletions lib/es2015/mdm-admin.resource.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/es2015/mdm-admin.resource.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 554bf72

Please sign in to comment.