Skip to content

MediaDebugOptions — @gj-kit/expo-media

A public type from @gj-kit/expo-media. The signature below is taken directly from the 0.6.1 release declaration.

import { MediaDebugOptions } from '@gj-kit/expo-media';
/**
* 디버그 로거 설정. 전신 `PhotoUploaderConfig`의 `debugTag`/`debugContext`에 1:1 대응한다.
* ⚠ core에는 `__DEV__`가 없으므로 기본값은 **비활성**이다. 실제 게이트는
* `createMediaDebugLogger`가 `platform.isDev && platform.os !== 'web'`로 건다(§7 하드닝 8).
*/
type MediaDebugOptions = {
readonly enabled: boolean;
readonly tag?: string | undefined;
readonly context?: (() => Record<string, unknown>) | 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-media
  • Version: 0.6.1
  • Public entry: .
  • Source: GitHub