MediaUploadIntentApi — @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.
Verified import example
Section titled “Verified import example”import { MediaUploadIntentApi } from '@gj-kit/expo-media';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * Presign-only backend seam. * * Some products deliberately attach the uploaded object in a later domain * transaction (for example, after creating a record). They must not pretend * that a registration endpoint exists just to use the local streaming path. * `MediaUploadApi` extends this narrower contract for the usual * presign → PUT → complete flow. */interface MediaUploadIntentApi<TCollectionId extends string = string> { createUploadIntent(input: MediaUploadIntentRequest<TCollectionId>): Promise<MediaUploadIntent>;}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:
. - Source: GitHub