Skip to content

Commit ca6254a

Browse files
committed
refactor: export types only via /types subpath
1 parent 1fe1515 commit ca6254a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ export { Locator } from './src/locator.js'
55
export { Schedule } from './src/schedule.js'
66
export { ScheduleBuilder } from './src/schedule_builder.js'
77
export { JobBatchDispatcher } from './src/job_batch_dispatcher.js'
8-
export type { AdapterFactory, JobFactory, DispatchManyResult } from './src/types/main.js'
98
export {
109
customBackoff,
1110
linearBackoff,

src/types/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
export type {
2+
AdapterFactory,
23
BackoffConfig,
34
BackoffStrategy,
5+
DispatchManyResult,
46
DispatchResult,
57
Duration,
68
JobClass,
79
JobContext,
810
JobData,
911
JobFactory,
1012
JobOptions,
13+
JobRecord,
14+
JobRetention,
15+
JobStatus,
1116
QueueConfig,
1217
QueueManagerConfig,
1318
RetryConfig,

0 commit comments

Comments
 (0)