Skip to content

createBinaryUploads — @gj-kit/expo-media

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

import { createBinaryUploads } from '@gj-kit/expo-media/core';
declare function createBinaryUploads<TAsset, TCollectionId extends string = string>(config: MediaUploadConfig<TAsset, TCollectionId> & {
readonly transport: BinaryTransport;
/** 생략 = core 내장 순수 TS SHA-256(§9). `FileSystemAdapter`가 없으므로 바이너리 경로만 쓴다. */
readonly hasher?: HashAdapter | undefined;
/** 생략 = 자동 포스터 추출 없음. 호출자가 `poster` 값을 직접 줄 수는 있다. */
readonly poster?: BinaryPosterAdapter | undefined;
readonly posterAtMs?: number | undefined;
}): BinaryUploads<TAsset, TCollectionId>;

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: ./core
  • Source: GitHub