Skip to content

FileDownloadAdapter — @gj-kit/expo-media

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

import { FileDownloadAdapter } from '@gj-kit/expo-media/core';
/** 저장 플로우 전용 — 업로드만 하는 소비자는 구현할 필요가 없다. */
interface FileDownloadAdapter {
download(input: {
readonly url: string;
readonly to: string;
}): Promise<{
readonly uri: string;
readonly status: number;
}>;
}

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