Skip to content

NativePayloadDto — @gj-kit/expo-workouts

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

import { NativePayloadDto } from '@gj-kit/expo-workouts';
/** 네이티브가 던지는 예외의 평면 표현 — `mapErrors.ts`의 입력이다. */
interface NativePayloadDto {
/** `ERR_WORKOUTS_*` — Expo 런타임이 예외 클래스명에서 만든 코드. */
readonly code?: string | null | undefined;
/** 템플릿으로 만든 짧은 진단 문자열. 좌표·건강값·제목·메모는 절대 들어가지 않는다. */
readonly message?: string | null | undefined;
/** Health Connect `HealthConnectException` errorCode / HKError code. */
readonly platformCode?: number | null | undefined;
readonly exceptionClass?: string | null | 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: .
  • Source: GitHub