1.0.84 • Published 4 years ago

@databased-ut/databased-company-object-1 v1.0.84

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
4 years ago

Company

This package builds a company object from which user performance, user profile history, user manager history, company hierarchy data can be retrieved.

Current Working Version

1.0.8

How to use

You will need to be logged in as a valid npm user. Please reach out to Dustin for the login info:

npm whoami
npm login
Username: databased-npm-ut
pass: <ask Dustin> 
  1. Include this in your package.json under dependencies: "@databased-ut/databased-company-object-1": "<current working version>",
  2. Import the buildCompany function from this package: import { buildCompany } from '@databased-ut/databased-company-object-1'
  3. Get the requisite DTOs to build a company. If you are not on the metrics-rest-api you can call this route: https://metrics.databased.com/comapny/:id
  4. Construct a Company object using the imported buildCompany as follows: buildCompany(res.userDtos, res.metricProfileIdToConfiguration)

How to modify and publish this package

  1. Make a merge request
  2. Once merge request into master is approved, go to your local machine and checkout master.
  3. git pull the latest changes
  4. Go to package.json and update version according to DataBased standards for incrementing versions.
  5. Run npm run build
  6. Run npm publish if no errors appear, it was successful. You can verify the version was properly updated by logging into the DataBased npm account.
  7. If the changes were breaking, go to any DataBased code repository that depends on this package and update the package.json accordingly
1.0.84

4 years ago

1.0.83

4 years ago

1.0.82

4 years ago

1.0.81

4 years ago

1.0.8

4 years ago

1.0.72

4 years ago