Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 653 Bytes

development.md

File metadata and controls

38 lines (30 loc) · 653 Bytes

Development

local development

npm i 

For local development provide a .env-file containing a valid a fsm account.

Example:

AUTH_ACCOUNTNAME=fsm-sdk-e2e
AUTH_USERNAME=<insert-value>
AUTH_GRANT_TYPE=password
AUTH_PASSWORD=<insert-value>
CLIENT_IDENTIFIER=<insert-value>
CLIENT_SECRET=<insert-value>
OAUTH_ENDPOINT=https://qt.dev.coresuite.com/api/oauth2/v1
DEBUG_TESTS=false

then tdd-style run

npm run test

updating DTO versions and models

1.

run

npm run tools:update-dto-versions

2. copy versioned values into

  • src/core/batch-request.model.ts
  • src/core/all-dto-versions.constant.ts