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

Function taskLibrary

experiments/with-generic-parser.ts:273–281  ·  view source on GitHub ↗
(input: TaskLibraryRecord | CreateTaskLibraryOptions)

Source from the content-addressed store, hash-verified

271): TaskLibrary<DecorateCreateTaskLibraryOptions<TInput>>;
272function taskLibrary<TInput extends TaskLibraryRecord>(input: TInput): TaskLibrary<TInput>;
273function taskLibrary(input: TaskLibraryRecord | CreateTaskLibraryOptions) {
274 // TODO: reserved words
275
276 return {
277 _def: {
278 record: input,
279 },
280 };
281}
282
283// ======== client side
284type 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…