Skip to content

LocalMediaSaveFileAdapter — @gj-kit/expo-media

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

import { LocalMediaSaveFileAdapter } from '@gj-kit/expo-media';
/**
* The local save path only needs an existence/size check. Requiring the full
* upload `FileSystemAdapter` would make a save-only consumer implement unused
* cache, copy, base64-read, and download capabilities.
*/
interface LocalMediaSaveFileAdapter {
stat(uri: string): Promise<FileStat>;
}

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