( payload: any, helpers: JobHelpers )
| 188 | }; |
| 189 | |
| 190 | export 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 | |
| 209 | export const typesenseOnUserNameUpdate = async ( |
| 210 | payload: any, |
nothing calls this directly
no test coverage detected