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

Commit 1171399

Browse files
authored
docs(functions): Corrects imports.
1 parent 7049833 commit 1171399

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/functions.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This package contains the [count entities tests](../src/tests/countEntities) and
2626
Creates a new entity using the [`entity`](./options.md#entity) option if no entity exists that matches the [`id`](./options.md#id) option.
2727

2828
```ts
29-
import ConflictingEntityError from 'js-entity-repos/core/dist/errors/ConflictingEntityError';
29+
import ConflictingEntityError from '@js-entity-repos/core/dist/errors/ConflictingEntityError';
3030

3131
try {
3232
const { entity } = await facade.createEntity({
@@ -47,8 +47,8 @@ This package contains the [create entity tests](../src/tests/createEntity) and t
4747
Retreives a sorted paginated array of entities that match the [`filter`](./options.md#filter) option.
4848

4949
```ts
50-
import { backward, forward } from 'js-entity-repos/core/dist/types/PaginationDirection';
51-
import { asc, desc } from 'js-entity-repos/core/dist/types/SortOrder';
50+
import { backward, forward } from '@js-entity-repos/core/dist/types/PaginationDirection';
51+
import { asc, desc } from '@js-entity-repos/core/dist/types/SortOrder';
5252

5353
const { entities, nextCursor, previousCursor } = await facade.getEntities({
5454
filter: { foo: 'demo' },
@@ -73,7 +73,7 @@ This package contains the [get entities tests](../src/tests/getEntities) and the
7373
Retrieves a single entity that matches the [`id`](./options.md#id) and [`filter`](./options.md#filter) options.
7474

7575
```ts
76-
import MissingEntityError from 'js-entity-repos/core/dist/errors/MissingEntityError';
76+
import MissingEntityError from '@js-entity-repos/core/dist/errors/MissingEntityError';
7777

7878
try {
7979
const { entity } = await facade.getEntity({
@@ -94,7 +94,7 @@ This package contains the [get entity tests](../src/tests/getEntity) and the [ge
9494
For an entity that matches the [`id`](./options.md#id) and [`filter`](./options.md#filter) options, it changes some of an entity's properties using the [`patch`](./options.md#patch) option.
9595

9696
```ts
97-
import MissingEntityError from 'js-entity-repos/core/dist/errors/MissingEntityError';
97+
import MissingEntityError from '@js-entity-repos/core/dist/errors/MissingEntityError';
9898

9999
try {
100100
const { entity } = await facade.patchEntity({
@@ -127,7 +127,7 @@ This package contains the [remove entities tests](../src/tests/removesEntities)
127127
Removes an entity that matches the [`id`](./options.md#id) and [`filter`](./options.md#filter) options.
128128

129129
```ts
130-
import MissingEntityError from 'js-entity-repos/core/dist/errors/MissingEntityError';
130+
import MissingEntityError from '@js-entity-repos/core/dist/errors/MissingEntityError';
131131

132132
try {
133133
await facade.removeEntity({
@@ -148,7 +148,7 @@ This package contains the [remove entity tests](../src/tests/removesEntity) and
148148
For an entity that matches the [`id`](./options.md#id) and [`filter`](./options.md#filter) options, it changes all of an entity's properties using the [`entity`](./options.md#entity) option.
149149

150150
```ts
151-
import MissingEntityError from 'js-entity-repos/core/dist/errors/MissingEntityError';
151+
import MissingEntityError from '@js-entity-repos/core/dist/errors/MissingEntityError';
152152

153153
try {
154154
const { entity } = await facade.replaceEntity({

0 commit comments

Comments
 (0)