MCPcopy Index your code
hub / github.com/simstudioai/sim / encodeCursor

Function encodeCursor

apps/sim/app/api/v1/audit-logs/query.ts:14–16  ·  view source on GitHub ↗
(data: CursorData)

Source from the content-addressed store, hash-verified

12}
13
14function encodeCursor(data: CursorData): string {
15 return Buffer.from(JSON.stringify(data)).toString('base64')
16}
17
18function decodeCursor(cursor: string): CursorData | null {
19 try {

Callers 1

queryAuditLogsFunction · 0.70

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected