@giosg/datasources
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

giosg datasources

This is a collection of resource datasources used to access and modify giosg resources.

How to use

npm install @giosg/datasources

import Datasources from '@giosg/datasources';

const datasources = new Datasources(
    authorizationHeader,
    reportingServiceOrigin, // Optional
    interactionDesignerOrigin, // Optional
    realtimeSdk // Optional. Required for streaming. Has to be pre-connected!
);

After adding new datasource you need to npm install and reload vscode to get rid of errors!

Publishing

Before publishing, remember to consider the effects your changes have for our users. See semantic versioning.

For publishing, you need access to giosg organization in npm. You can request that from one of the organization admins or request them to publish the package.

  1. Update CHANGELOG.md, run npm version <patch|minor|major> and npm run prepare, and commit.
  2. Create pull request.
  3. Request a review from another experienced developer.
  4. Merge the pull request after approval and passed tests.
  5. Pull master locally.
  6. Login to npm with npm login --scope=giosg. You will be prompted for credentials.
  7. Publish the package with: npm publish --access public. --access public flag is mandatory because organization packages default to restricted.

Changelog

Remember to maintain changelog: See: CHANGELOG.md

Dependencies (2)

Dev Dependencies (1)

Package Sidebar

Install

npm i @giosg/datasources

Weekly Downloads

14

Version

2.0.1

License

MIT

Unpacked Size

502 kB

Total Files

114

Last publish

Collaborators

  • elenamoise
  • fedorkosilov_giosg
  • robert-giosg
  • bisuthapa
  • roman-sinitsyn
  • gaber32188
  • thiltunen
  • giosgmachine
  • sergey-misuk-giosg
  • ariniinimaki
  • juusolas
  • matiaseh
  • vainosnicker
  • mentholi
  • blackchaosnl
  • salmela
  • nsonb