Skip to content

DeviceAssetRef — @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 { DeviceAssetRef } from '@gj-kit/expo-media/core';
/**
* 하드닝된 업로드 resolve가 필요로 하는 최소 정체성. 전체 `MediaLibrary.Asset`이 이것을
* 구조적으로 만족하며, 동기화 큐는 이 두 필드만 저장해 두고 넘길 수 있다
* (전신 devicePhotoLibrary.ts:21-24 주석 계승).
*/
type DeviceAssetRef = {
readonly id: string;
readonly filename: string;
};

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