SaveTarget — @gj-kit/expo-media
A public type from @gj-kit/expo-media/core. The signature below is taken directly from the 0.6.1 release declaration.
Verified import example
Section titled “Verified import example”import { SaveTarget } from '@gj-kit/expo-media/core';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * 저장 타깃(§6.1-⑦). * 전신은 `platformOS:'web'` + `mediaLibrary` 동시 주입이 통과했고, 결과로 보고되는 `mode`와 * 실제 동작이 어긋날 수 있었다. 판별 유니언이면 무효 조합이 **표현 불가능**해지고 * `SaveResult.mode`가 `target.kind`에서 파생되므로 보고와 실동작이 어긋날 수 없다. */type SaveTarget = { readonly kind: 'media-library'; readonly files: FileSystemAdapter & FileDownloadAdapter; readonly library: MediaLibrarySaveAdapter;} | { readonly kind: 'browser-download'; readonly browser: BrowserSaveAdapter;};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:
./core - Source: GitHub