Skip to content

createExpoDocumentFileStore — @gj-kit/expo-media

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

import { createExpoDocumentFileStore } from '@gj-kit/expo-media/storage';
/**
* App-owned persistent local-file store backed by Expo's document directory.
*
* It deliberately does not share the cache-backed upload staging store: files
* returned from `copy()` are safe to persist in an application's database.
*/
declare function createExpoDocumentFileStore(input: {
readonly root: string;
}): DurableFileStore;

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: ./storage
  • Source: GitHub