RecordedSpan — @gj-kit/expo-media
A public type from @gj-kit/expo-media/testing. The signature below is taken directly from the 0.6.1 release declaration.
Verified import example
Section titled “Verified import example”import { RecordedSpan } from '@gj-kit/expo-media/testing';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”type RecordedSpan = { readonly operation: MediaOperation; /** `track`은 시작 payload를 항상 주고, `begin`은 생략할 수 있다(§7.2 표). */ readonly extra?: Readonly<Record<string, unknown>> | undefined; readonly kind: 'track' | 'begin'; /** 아직 끝나지 않았으면 `null`. ⚠ **한 스팬은 정확히 한 번만 종료돼야 한다**(§5.1). */ readonly outcome: 'succeed' | 'fail' | 'cancel' | null; readonly finish?: MediaActivityFinish | undefined; readonly error?: unknown;};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:
./testing - Source: GitHub