BinarySourceLoader — @gj-kit/expo-media
A public interface from @gj-kit/expo-media. The signature below is taken directly from the 0.6.1 release declaration.
Verified import example
Section titled “Verified import example”import { BinarySourceLoader } from '@gj-kit/expo-media';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * uri → 바이너리. 웹 피커가 주는 `blob:`/`data:` URI를 업로드 가능한 소스로 바꾼다. * 기본 구현은 `"./web"`의 `createFetchBinarySourceLoader`(peer 0). 경로 전문은 §5.7.4. * * 이 seam이 없으면 웹에서 피커 자산을 업로드하는 유일한 방법이 로컬 파일 스트리밍인데, * 그 경로는 웹에 존재하지 않는다 — `LocalUploads.uploadPickedAsset`이 * `MediaError('platform-unsupported')`를 던지는 이유다. */interface BinarySourceLoader { fromUri(input: { readonly uri: string; readonly fileName: string; }): Promise<NamedBinarySource>;}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:
. - Source: GitHub