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

Function taskLibrary

experiments/with-separate-zod-task.ts:332–340  ·  view source on GitHub ↗
(input: TaskLibraryRecord | CreateTaskLibraryOptions)

Source from the content-addressed store, hash-verified

330): TaskLibrary<DecorateCreateTaskLibraryOptions<TInput>>;
331function taskLibrary<TInput extends TaskLibraryRecord>(input: TInput): TaskLibrary<TInput>;
332function taskLibrary(input: TaskLibraryRecord | CreateTaskLibraryOptions) {
333 // TODO: reserved words
334
335 return {
336 _def: {
337 record: input,
338 },
339 };
340}
341
342// ======== client side
343type DecorateTask<TTask extends AnyTask> = {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…