Skip to content

Commit 38f2dfb

Browse files
authored
fix: Re-export from internal-workflow-common (#736)
1 parent a6a2b88 commit 38f2dfb

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

packages/activity/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import { AbortSignal } from 'abort-controller';
3131
import { AsyncLocalStorage } from 'async_hooks';
3232
export { CancelledFailure } from '@temporalio/common';
3333
export { ActivityFunction, ActivityInterface } from '@temporalio/internal-workflow-common';
34+
export * from '@temporalio/internal-workflow-common/lib/errors';
3435

3536
/**
3637
* Throw this error from an Activity in order to make the Worker

packages/client/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ export {
2424
} from '@temporalio/common';
2525
export { TLSConfig } from '@temporalio/internal-non-workflow-common';
2626
export { RetryPolicy } from '@temporalio/internal-workflow-common';
27+
export * from '@temporalio/internal-workflow-common/lib/errors';
2728
export * from '@temporalio/internal-workflow-common/lib/interfaces';
29+
export * from '@temporalio/internal-workflow-common/lib/workflow-handle';
2830
export * from './async-completion-client';
2931
export { Connection, ConnectionOptions, ConnectionOptionsWithDefaults, LOCAL_TARGET } from './connection';
3032
export * from './errors';

packages/workflow/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ export {
6363
ActivityFunction,
6464
ActivityInterface,
6565
ActivityOptions,
66-
IllegalStateError,
6766
RetryPolicy,
68-
ValueError,
6967
} from '@temporalio/internal-workflow-common';
68+
export * from '@temporalio/internal-workflow-common/lib/errors';
7069
export * from '@temporalio/internal-workflow-common/lib/interfaces';
70+
export * from '@temporalio/internal-workflow-common/lib/workflow-handle';
7171
export * from '@temporalio/internal-workflow-common/lib/workflow-options';
7272
export { AsyncLocalStorage, CancellationScope, CancellationScopeOptions, ROOT_SCOPE } from './cancellation-scope';
7373
export * from './errors';

0 commit comments

Comments
 (0)