DurablePickedAssetCopyInput — @gj-kit/expo-media
A public type from @gj-kit/expo-media/storage. The signature below is taken directly from the 0.6.1 release declaration.
Verified import example
Section titled “Verified import example”import { DurablePickedAssetCopyInput } from '@gj-kit/expo-media/storage';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * Copy a picker result with a caller-owned stable filename stem. * * The source filename is metadata, not a safe destination path. The store * validates `fileNameStem` as a path segment and appends an extension from the * selected asset's supported content type. This prevents an app from silently * relabeling every picked asset as `.jpg` while retaining its own stable ID. */type DurablePickedAssetCopyInput = { readonly asset: PickedAsset; /** Nested folders below the configured root. Every segment is validated independently. */ readonly directory?: readonly string[] | undefined; /** Safe, caller-owned destination filename stem; the store adds the validated extension. */ readonly fileNameStem: 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.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-media - Version:
0.6.1 - Public entry:
./storage - Source: GitHub