Skip to content

ResolvedDeviceAsset — @gj-kit/expo-media

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

import { ResolvedDeviceAsset } from '@gj-kit/expo-media';
/**
* `DeviceLibrary.resolveForUpload`의 결과 — 업로드 가능한 바이트의 위치(§5.4-④).
* 전신 `DeviceAssetUploadSource`(devicePhotoLibrary.ts:255-259).
*/
type ResolvedDeviceAsset = {
readonly uri: string;
readonly verifiedSizeBytes?: number | undefined;
/** ⚠ 전신 그대로 `null` 가능이다. `PickedAsset.exif`로 옮길 때 undefined 정규화가 필요하다. */
readonly exif: Readonly<Record<string, unknown>> | null;
/** 스테이징 사본이면 true — 업로드 후 `StagingCache.cleanup` 대상(§7 하드닝 7). */
readonly staged: 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.

  • Package: @gj-kit/expo-media
  • Version: 0.6.1
  • Public entry: .
  • Source: GitHub