Skip to content

CreateWorkoutsApiOptions — @gj-kit/expo-workouts

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

import { CreateWorkoutsApiOptions } from '@gj-kit/expo-workouts/core';
/** `createWorkoutsApi`의 주입 지점. 전부 테스트가 시간·예산을 소유하기 위한 것이다. */
interface CreateWorkoutsApiOptions {
readonly now?: (() => number) | undefined;
/**
* 클라이언트측 읽기 페이서. 기본값은 **Android에서만** 켜진 `ReadBudget` 하나이고
* (f102의 계수는 Health Connect의 것이며 HealthKit에는 대응물이 없다), `null`이면 끈다.
*/
readonly budget?: ReadBudget | null | undefined;
/** per-route 동의 다이얼로그 상한 (f104). 테스트가 짧은 값으로 hang을 재현한다. */
readonly routeConsentTimeoutMs?: number | undefined;
}

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