MediaOperation — @gj-kit/expo-media
A public type 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 { MediaOperation } from '@gj-kit/expo-media';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * 라이브러리가 방출하는 operation의 닫힌 목록. * * 리터럴 유니언으로 좁힌 이유(§6.2 기각표의 반대 항목을 철회한 근거): 이 인터페이스는 * **라이브러리가 방출하는** operation만 다루고 그 목록은 6종으로 닫혀 있다. 호스트가 자기 * operation을 보고하는 것은 이 인터페이스의 일이 아니다 — memorylog2도 기기 라이브러리 진단 * 4종을 앱 리포터로 직접 보낸다(`devicePhotoLibraryTelemetry.ts`). 좁히면 오타가 컴파일 에러가 된다. * * `MediaOperation`은 문자열 리터럴 유니언이므로 호스트의 `operation: string` 슬롯에 * 그대로 대입된다(가변성 문제 없음). */type MediaOperation = (typeof MEDIA_OPERATIONS)[number];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