Skip to content

FakePickerOptions — @gj-kit/expo-media

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

import { FakePickerOptions } from '@gj-kit/expo-media/testing';
type FakePickerOptions = {
/** `pickFromLibrary` 전 권한. 기본 허용. */
readonly libraryPermission?: MediaPermission | undefined;
/** `capture` 전 권한. 기본 허용. */
readonly cameraPermission?: MediaPermission | undefined;
/**
* 카메라가 돌려줄 자산. 생략 시 라이브러리 자산과 같다.
* ⚠ 여러 건을 줘야 §5.4.1-12의 "카메라 캡처 1장 제한"이 검증된다 — 1건만 주면
* 자르는 코드가 있든 없든 결과가 같아서 그 규칙이 통과한 척한다.
*/
readonly captureAssets?: readonly PickedAsset[] | 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: ./testing
  • Source: GitHub