Skip to content

CursorResetReason — @gj-kit/expo-workouts

A public type from @gj-kit/expo-workouts/core. The signature below is taken directly from the 0.1.1 release declaration.

import { CursorResetReason } from '@gj-kit/expo-workouts/core';
type CursorResetReason =
/** `cursor === null` — a fresh start. */
'noCursor'
/** Bad magic / bad base64url / bad JSON / failed shape validation. */
| 'malformed'
/** Magic ok, format version not in `READABLE_CURSOR_VERSIONS`. */
| 'formatUnsupported'
/** Minted on the other platform (server-synced cursor, device switch, restore). */
| 'platformMismatch'
/** Android: `ChangesResponse.changesTokenExpired === true` (30-day idle). */
| 'expired'
/** The granted-scope fingerprint differs from the one baked into the cursor. */
| 'scopesChanged';

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/expo-workouts
  • Version: 0.1.1
  • Public entry: ./core
  • Source: GitHub