MCPcopy Index your code
hub / github.com/Linen-dev/linen.dev / typesenseOnThreadUpdate

Function typesenseOnThreadUpdate

packages/queue/src/tasks/typesense.ts:296–314  ·  view source on GitHub ↗
(
  payload: any,
  helpers: JobHelpers
)

Source from the content-addressed store, hash-verified

294};
295
296export const typesenseOnThreadUpdate = async (
297 payload: any,
298 helpers: JobHelpers
299) => {
300 const logger = new Logger(helpers.logger);
301 logger.info(payload);
302
303 const parsedPayload = z
304 .object({
305 accountId: z.string().uuid(),
306 threadId: z.string().uuid(),
307 })
308 .parse(payload);
309
310 await handleThreadUpdate({
311 ...parsedPayload,
312 logger,
313 });
314};

Callers

nothing calls this directly

Calls 1

infoMethod · 0.95

Tested by

no test coverage detected