-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Paging: Make ReadResource[] a ReadResourceSequence (#169)
* feature (paging): make ReadResource[] a ReadResourceSequence * feature (paging): check for mayHaveMoreResults * refactor (resources): remove console log * fix (test framework): adapt to changes in public API * chore (makefile): check out Knora PR branch * fix (test framework): adapt assertions * Revert "fix (test framework): adapt assertions" This reverts commit fbbdc65. * fix (makefile): remove branch option for git clone * tests (resource conversion): adapt assertion * docs (resource seq): add some doc strings * fix (mock resource): fix return type of mock resource * fix (mock resource): fix return type of mock resource * chore (release): prepare changelog * chore (release): fix changelog * test (github-ci): curl should fail if answer not successful
- Loading branch information
1 parent
3fefb80
commit 65b15ec
Showing
21 changed files
with
774 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# 1.0.0-rc.0 | ||
|
||
### Features | ||
- add support for time value ([#59](https://github.com/dasch-swiss/knora-api-js-lib/pull/59)) | ||
- add util for handling of cardinalities ([#144](https://github.com/dasch-swiss/knora-api-js-lib/pull/144)) | ||
- add util for handling of permissions ([#142](https://github.com/dasch-swiss/knora-api-js-lib/pull/142)) | ||
- add uuid to update responses ([#151](https://github.com/dasch-swiss/knora-api-js-lib/pull/151)) | ||
- add util to determine link prop from link value prop ([#163](https://github.com/dasch-swiss/knora-api-js-lib/pull/163)) | ||
|
||
### Bug Fixes | ||
- add time value to public API ([#150](https://github.com/dasch-swiss/knora-api-js-lib/pull/150)) | ||
- add geoname value to public API ([#158](https://github.com/dasch-swiss/knora-api-js-lib/pull/158)) | ||
- add property definition to public API ([#166](https://github.com/dasch-swiss/knora-api-js-lib/pull/166)) | ||
- add missing decorator for json2typescript ([#173](https://github.com/dasch-swiss/knora-api-js-lib/pull/173)) | ||
- update to json2typescript 1.4.1 (previous version of json2typescript had a bug) ([#160](https://github.com/dasch-swiss/knora-api-js-lib/pull/160)) | ||
- fix wrong internal import path to RxJS ([#175](https://github.com/dasch-swiss/knora-api-js-lib/pull/175)) | ||
- add missing classes to public API ([#174](https://github.com/dasch-swiss/knora-api-js-lib/pull/174)) | ||
- make RxJS a peer dependency ([#176](https://github.com/dasch-swiss/knora-api-js-lib/pull/176)) | ||
- add delete resource response to public API ([#178](https://github.com/dasch-swiss/knora-api-js-lib/pull/178)) | ||
- use consistent naming convention for v2 and admin endpoints ([#179](https://github.com/dasch-swiss/knora-api-js-lib/pull/179)) | ||
|
||
### Breaking Changes | ||
- return multiple resources as `ReadResourceSequence` (instead of ReadResource[]) with a flag indicating whether there could be more results ([#169](https://github.com/dasch-swiss/knora-api-js-lib/pull/169)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
"build": "rm -rf build/* && tsc && mkdir -p build/ && cp CHANGELOG.md build/ && cp LICENSE build/ && cp README.md build/ && cp package.json build/", | ||
"yalc-publish": "npm run build && yalc publish build/ --push", | ||
"npm-pack": "npm run test && npm run build && npm pack build/ && mkdir -p dist/ && cp *.tgz dist/ && rm *.tgz", | ||
"npm-publish": "npm run npm-pack && npm publish build/ --dry-run", | ||
"npm-publish": "npm run npm-pack && npm publish --tag rc build/ --dry-run", | ||
"prepare-dev-publication": "node scripts/prepare-dev-publication.js", | ||
"builddocs": "typedoc --out docs --readme none --name '@knora/api API Documentation' --exclude \"**/*.spec.*\" src/*.ts", | ||
"peer-deps": "npm i [email protected] --no-save" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.