Skip to content

Commit 1441838

Browse files
committed
refactor: remove misleading runner function args validation
1 parent 6c2dc36 commit 1441838

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

packages/models/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ export {
9696
type ReportsDiff,
9797
} from './lib/reports-diff.js';
9898
export {
99-
onProgressSchema,
10099
runnerConfigSchema,
101100
runnerFunctionSchema,
102101
runnerFilesPathsSchema,

packages/models/src/lib/runner-config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,8 @@ export const runnerConfigSchema = z.object(
2626

2727
export type RunnerConfig = z.infer<typeof runnerConfigSchema>;
2828

29-
export const onProgressSchema = z.function().args(z.string()).returns(z.void());
30-
3129
export const runnerFunctionSchema = z
3230
.function()
33-
.args(z.void())
3431
.returns(z.union([auditOutputsSchema, z.promise(auditOutputsSchema)]));
3532

3633
export type RunnerFunction = z.infer<typeof runnerFunctionSchema>;

0 commit comments

Comments
 (0)