Skip to content

Commit b901d25

Browse files
committed
chore: extracted contexts to @matrixai/contexts and fixed some import paths
1 parent f25ef30 commit b901d25

45 files changed

Lines changed: 66 additions & 4613 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package-lock.json

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
"@matrixai/async-cancellable": "^1.0.6",
8484
"@matrixai/async-init": "^1.8.2",
8585
"@matrixai/async-locks": "^3.2.0",
86+
"@matrixai/contexts": "^1.0.0",
8687
"@matrixai/db": "^5.1.0",
8788
"@matrixai/errors": "^1.1.7",
8889
"@matrixai/id": "^3.3.3",

src/client/utils/timeoutMiddleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import type { ContextTimed } from '@matrixai/contexts';
12
import type { JSONRPCRequest, JSONRPCResponse } from '../../rpc/types';
23
import type { ClientRPCRequestParams, ClientRPCResponseResult } from '../types';
3-
import type { ContextTimed } from '../../contexts/types';
44
import type { JSONValue } from '../../types';
55
import { TransformStream } from 'stream/web';
66

src/contexts/decorators/cancellable.ts

Lines changed: 0 additions & 51 deletions
This file was deleted.

src/contexts/decorators/context.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/contexts/decorators/index.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/contexts/decorators/timed.ts

Lines changed: 0 additions & 161 deletions
This file was deleted.

src/contexts/decorators/timedCancellable.ts

Lines changed: 0 additions & 61 deletions
This file was deleted.

src/contexts/errors.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)