SyncResult — @gj-kit/expo-workouts
A public type from @gj-kit/expo-workouts. The signature below is taken directly from the 0.1.1 release declaration.
Verified import example
Section titled “Verified import example”import { SyncResult } from '@gj-kit/expo-workouts';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * Discriminated on `reset`, so `resetReason` is unreachable without narrowing and unforgettable when * present. `const b: boolean = result.reset` still compiles, so this stays read-compatible with the * mission's `reset: boolean` sketch at every call site. */type SyncResult = (SyncPage & { readonly reset: false;}) | (SyncPage & { readonly added: readonly [ ]; readonly removed: readonly [ ]; readonly hasMore: false; readonly reset: true; readonly resetReason: CursorResetReason;});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.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-workouts - Version:
0.1.1 - Public entry:
. - Source: GitHub