( payload: any, helpers: JobHelpers )
| 124 | }; |
| 125 | |
| 126 | export const typesenseOnChannelTypeUpdate = async ( |
| 127 | payload: any, |
| 128 | helpers: JobHelpers |
| 129 | ) => { |
| 130 | const { channelId } = z |
| 131 | .object({ |
| 132 | channelId: z.string().uuid(), |
| 133 | }) |
| 134 | .parse(payload); |
| 135 | |
| 136 | const keepAlive = new KeepAlive(helpers); |
| 137 | keepAlive.start(); |
| 138 | |
| 139 | try { |
| 140 | await handleChannelTypeUpdate({ channelId }); |
| 141 | } finally { |
| 142 | keepAlive.end(); |
| 143 | } |
| 144 | }; |
| 145 | |
| 146 | export const typesenseOnChannelDeletion = async ( |
| 147 | payload: any, |
nothing calls this directly
no test coverage detected