You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
added tests to cover unsuccessful responses to getAppById method (2238e34)
adjust how passed in axios configs are combined with default axios configs in client constructor (d6c6579)
allow value property of record value model to be generically typed. feat: added methods to record model to allow adding a record value to the field data property or adding multiple record values to the field data property. wrote tests for these two new methods. (ec82dd0)
begin writing Lists integration tests. fix: list item response model's id value should be of type string so modified the created with id response model that it extends so that the id property is generically typed and type can be passed in. (bc8b9a4)
enabled strict null checks and made changes to deal with this compiler change. fix: modified endpoint factory methods to not need baseURL to be passed in. instead just return endpoint because the axios client with already have a default url set as part of constructing a new onspring client instance (d453f19)
implement formula field, list field, and reference field as chilrden of the field class. fix: when converting api response data to appropriate field response make sure json field objects are converted to correct field class based upon type. (e6eae35)
implement read method for readables created in tests (c804bcc)
in can connect test mock underlying axios instance's get method (fa1a952)
incorrect field status in getFieldsByAppId mock api data (0c5b3bf)
properly implement saveFile method and write test (ed68b5f)
read base url from env file in integration tests (6f0d85b)
refactor to have child classes that inherit from RecordValue, but represent the distinct types of value objects that can be returned by the api. fix: added and updated tests to address this refactor (74d2470)
set validateStatus property of axios instance to null so that the package can handle all the api responses internally. feat: added ability to provide axios instance configuration to the OnspringClient constructor. (64dfa6f)
update integration tests to use a root beforeAll hook that loads the environment variables and assigns values to the api key and base url to be used when constructing the onspring client used in the integration tests (8e1d905)
update integration tests to use correct env variables (cc3eea5)
update lint job to only run on one version of node (3e4f704)
update so that pre-commit hook only includes running unit tests as part of test coverage, but when run as part of ci integration tests will be run as part of test coverage (d6dd941)
add integration test for canConnect method (4b7bcc1)
add integration tests for deleteFileById method (ace07c9)
add integration tests for deleteRecordById method. fix: add toJSON method on SaveRecordRequest model to handle converting fields map to a POJO before sending in request (99c7e7f)
add integration tests for getFileInfoById method. fix: add example.env that is used in integration tests (4370574)
add integration tests for getRecordById method (06dda79)
add integration tests for getRecordsByAppId method (e711553)
add integration tests for getRecordsByIds method (23875cf)
add integration tests for getReportById and getReportsByAppId methods (4001fb4)
add integration tests for queryRecords and deleteRecordsByIds methods. fix: implemented deleteRecordsByIds method and wrote unit tests (3bf65f2)
add integrationTests for saveRecord method (9c44efe)
added sinon for stubbing in tests. fix: added jsdoc comments to enums. feat: begin working on implementing OnspringClient methods (f66edb0)
added tests for getFieldsByAppId implementation (d44782f)
added tests for getFileById method. fix: refactor getApiResponse and TryToGetMessage methods in ApiResponseFactory class to be able to return the proper string message when the responseType passed to axios was 'stream' (ee5aaf3)
begin adding endpoint factory methods and tests (b36d944)
begin implementing getReportsByAppId method (f0aeb51)
begin working on implementing record methods (fde8b50)
begin working on integration tests that will call actual onspring api sandbox (5de13d6)
begin working on lint_test_format workflow (dd16c4e)