createWorkoutsApi — @gj-kit/expo-workouts
A public function from @gj-kit/expo-workouts/core. The signature below is taken directly from the 0.1.1 release declaration.
Verified import example
Section titled “Verified import example”import { createWorkoutsApi } from '@gj-kit/expo-workouts/core';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * The ONLY implementation of the twelve functions. * * With `native === null` every function rejects with `unavailable` except `getAvailability()`, * which resolves to `{ status: 'unavailable', reason: 'notSupported' }`. That is the whole * difference between the two `.` branches — the surfaces are structurally identical, which is what * `export-parity-guard` locks down. */declare function createWorkoutsApi(native: NativeWorkoutsModule | null, options?: CreateWorkoutsApiOptions): WorkoutsApi;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:
./core - Source: GitHub