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

Function parseCursor

apps/sim/connectors/airtable/airtable.ts:69–73  ·  view source on GitHub ↗

* Parses the cursor format: "offset: "

(cursor?: string)

Source from the content-addressed store, hash-verified

67 * Parses the cursor format: "offset:<airtable_offset>"
68 */
69function parseCursor(cursor?: string): string | undefined {
70 if (!cursor) return undefined
71 if (cursor.startsWith('offset:')) return cursor.slice(7)
72 return cursor
73}
74
75export const airtableConnector: ConnectorConfig = {
76 ...airtableConnectorMeta,

Callers 1

airtable.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected