Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Tags: js-entity-repos/core

Tags

v9.1.1

Toggle v9.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(createPaginationFilter): Fixes cursors for sorts with multiple ke…

…ys. (#15)

v9.1.0

Toggle v9.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: Adds `$search` operator. (#14)

v9.0.0

Toggle v9.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: Adds support for loading new results. (#13)

BREAKING CHANGE: Removes `PaginationFilterError`.
BREAKING CHANGE: Removes `createEndCursorResult`.
BREAKING CHANGE: Changes `createCursorFromEntity` params.
BREAKING CHANGE: Changes `createGetEntitiesResult` return value.
BREAKING CHANGE: Removes `end` from `Cursor`.
BREAKING CHANGE: Changes the return type in the signature of `getEntities`.
BREAKING CHANGE: Renames `previousCursor` to `backwardCursor` in `getEntities` result.
BREAKING CHANGE: Renames `nextCursor` to `forwardCursor` in `getEntities` result.

v8.0.0

Toggle v8.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: Adds utils for `createEndCursorResult` and `createGetEntitiesRe…

…sult`. (#12)

BREAKING CHANGE: Tests for `getEntities` now assert the cursors returned.
BREAKING CHANGE: The `Cursor` type now has `start` and `end` to improve pagination behaviour.

v7.2.0

Toggle v7.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: Adds convertPropertyFilter util. (#10)

v7.1.0

Toggle v7.1.0's commit message
feat: Adds errors for pagination direction and sort order.

v7.0.0

Toggle v7.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
refactor: Changes pagination and sorting constants to improve readabi…

…lity. (#8)

BREAKING CHANGE: In pagination `forward` was renamed to `direction`.
BREAKING CHANGE: To paginate forward use `'forward'` in `pagination.direction` instead of `true` in `pagination.forward`. Use `import { forward } from '@js-entity-repos/core/dist/types/PaginationDirection'`.
BREAKING CHANGE: To paginate backward use `'backward'` in `pagination.direction` instead of `false` in `pagination.forward`. Use `import { backward } from '@js-entity-repos/core/dist/types/PaginationDirection'`.
BREAKING CHANGE: To sort in ascending order use `'asc'` in `sort` instead of `true`. Use `import { asc } from '@js-entity-repos/core/dist/types/SortOrder'`.
BREAKING CHANGE: To sort in descending order use `'desc'` in `sort` instead of `false`. Use `import { desc } from '@js-entity-repos/core/dist/types/SortOrder'`.

v6.0.2

Toggle v6.0.2's commit message
fix: Fixes pagination test.

v6.0.1

Toggle v6.0.1's commit message
fix: Fixes filter.

v6.0.0

Toggle v6.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: Adds filter to entity functions. (#2)

BREAKING CHANGE: The `filter`, `sort`, and `paginate` options are now optional.
BREAKING CHANGE: The `upsertEntity` function has been removed due to filter issues.
BREAKING CHANGE: The `overwriteEntity` function was renamed to `replaceEntity`.