FakeSeed — @gj-kit/expo-workouts
A public interface from @gj-kit/expo-workouts/testing. The signature below is taken directly from the 0.1.1 release declaration.
Verified import example
Section titled “Verified import example”import { FakeSeed } from '@gj-kit/expo-workouts/testing';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”interface FakeSeed { readonly platform: WorkoutsPlatform; readonly availability?: Availability | undefined; readonly authorization?: AuthorizationState | undefined; /** 이미 부여된 scope. 생략하면 **전부 부여**돼 있다 — 대부분의 테스트가 인가를 소재로 하지 않는다. */ readonly granted?: FakeScopeGrants | undefined; /** 이 빌드가 **선언한** scope (config plugin). 생략하면 전부. 선언 밖 요청은 `invalidArgument`다. */ readonly declared?: FakeScopeGrants | undefined; readonly workouts?: readonly FakeWorkoutInput[] | undefined; /** Deterministic clock. Defaults to a fixed instant so snapshots and budget tests are stable. */ readonly nowMs?: number | undefined; /** `createFakeWorkouts`가 만드는 API에 그대로 넘어간다. `null`이면 읽기 페이서를 끈다. */ readonly budget?: ReadBudget | null | undefined; /** per-route 동의 상한 (f104). 짧은 값 + `hangNext('openRoute')`가 그 상태를 재현한다. */ 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.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-workouts - Version:
0.1.1 - Public entry:
./testing - Source: GitHub