(data: string)
| 4 | const SKIP_ENCODE_CURSOR = process.env.SKIP_ENCODE_CURSOR === 'true'; |
| 5 | |
| 6 | export function encodeCursor(data: string) { |
| 7 | return SKIP_ENCODE_CURSOR ? data : Buffer.from(data).toString('base64'); |
| 8 | } |
| 9 | |
| 10 | const defaultCursor: FindThreadsByCursorType = { |
| 11 | sort: 'desc', |
no outgoing calls
no test coverage detected