FakeDeviceLibrary — @gj-kit/expo-media
A public interface from @gj-kit/expo-media/testing. The signature below is taken directly from the 0.6.1 release declaration.
Verified import example
Section titled “Verified import example”import { FakeDeviceLibrary } from '@gj-kit/expo-media/testing';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”interface FakeDeviceLibrary extends DeviceLibraryAdapter { readonly calls: { readonly getPermission: number; /** ⚠ iOS UI 데드록 차단(`canAskAgain:false` → 요청 0회)의 직접 증거다(§7.1). */ readonly requestPermission: number; readonly listAssets: readonly { readonly albumId?: string | null | undefined; readonly after?: string | undefined; readonly pageSize: number; readonly kinds: readonly MediaKind[]; }[]; readonly listAlbums: number; readonly getAssetInfo: readonly { readonly assetId: string; readonly downloadFromNetwork: boolean; }[]; };}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-media - Version:
0.6.1 - Public entry:
./testing - Source: GitHub