(payload: any, helpers: JobHelpers)
| 73 | // }; |
| 74 | |
| 75 | export const typesenseDeletion = async (payload: any, helpers: JobHelpers) => { |
| 76 | const logger = new Logger(helpers.logger); |
| 77 | logger.info(payload); |
| 78 | |
| 79 | const { accountId, threadId } = z |
| 80 | .object({ |
| 81 | accountId: z.string().uuid(), |
| 82 | threadId: z.string().uuid(), |
| 83 | }) |
| 84 | .parse(payload); |
| 85 | |
| 86 | await handleDeletion({ |
| 87 | accountId, |
| 88 | threadId, |
| 89 | logger, |
| 90 | }); |
| 91 | }; |
| 92 | |
| 93 | export const typesenseRefreshApiKeys = async (_: any, helpers: JobHelpers) => { |
| 94 | const keepAlive = new KeepAlive(helpers); |
nothing calls this directly
no test coverage detected