Skip to content

MediaUploadFailureInfo — @gj-kit/expo-media

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

import { MediaUploadFailureInfo } from '@gj-kit/expo-media/core';
/**
* `mediaUploadFailureInfo(error)`가 돌려주는, cross-entry-safe 실패 복구 정보.
*
* 이 정보는 에러에 전역 심볼로 비열거형 각인되므로 code splitting으로 코어 사본이 갈린
* 엔트리에서도 검사할 수 있다. `orphanedObjects`는 attachment/등록이 끝나기 전에 남은
* 정리 후보이며, 앱은 자신의 권한 있는 cleanup API로만 처리해야 한다.
*/
type MediaUploadFailureInfo = {
readonly stage: MediaUploadFailureStage;
readonly orphanedObjects: readonly MediaOrphanedUpload[];
};

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