Skip to content

FakeUploadApi — @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.

import { FakeUploadApi } from '@gj-kit/expo-media/testing';
interface FakeUploadApi<TAsset> extends MediaUploadApi<TAsset> {
readonly intents: readonly MediaUploadIntentRequest[];
readonly completions: readonly MediaUploadCompletion[];
/** 발급한 슬롯 — `intents[i]`와 순번이 같다. PUT된 URL과의 대조에 쓴다. */
readonly issued: readonly MediaUploadIntent[];
}

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