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

Function typesenseOnCommunityDeletion

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

Source from the content-addressed store, hash-verified

188};
189
190export const typesenseOnCommunityDeletion = async (
191 payload: any,
192 helpers: JobHelpers
193) => {
194 const { accountId } = z
195 .object({
196 accountId: z.string().uuid(),
197 })
198 .parse(payload);
199
200 const keepAlive = new KeepAlive(helpers);
201 keepAlive.start();
202 try {
203 await handleCommunityDeletion({ accountId });
204 } finally {
205 keepAlive.end();
206 }
207};
208
209export const typesenseOnUserNameUpdate = async (
210 payload: any,

Callers

nothing calls this directly

Calls 3

startMethod · 0.95
endMethod · 0.95
handleCommunityDeletionFunction · 0.90

Tested by

no test coverage detected