MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / valibotTask

Function valibotTask

experiments/with-separate-zod-task.ts:290–299  ·  view source on GitHub ↗
(
  options: ValibotTaskOptions<TOutput, TContext, TIdentifier, TSchema>
)

Source from the content-addressed store, hash-verified

288} & TaskOptions<v.Input<TSchema>, v.Output<TSchema>, TOutput, TContext, TIdentifier>;
289
290export function valibotTask<
291 TOutput,
292 TContext extends object,
293 TIdentifier extends string,
294 TSchema extends v.BaseSchema = v.AnySchema,
295>(
296 options: ValibotTaskOptions<TOutput, TContext, TIdentifier, TSchema>
297): Task<v.Input<TSchema>, v.Output<TSchema>, TOutput, TIdentifier> {
298 return createTask<v.Input<TSchema>, v.Output<TSchema>, TOutput, TContext, TIdentifier>(options);
299}
300
301export interface TaskLibraryRecord {
302 [key: string]: AnyTask | TaskLibraryRecord;

Callers

nothing calls this directly

Calls 1

createTaskFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…