Skip to content

MediaUploadLimits — @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.

import { MediaUploadLimits } from '@gj-kit/expo-media/core';
/**
* ⚠ 팩토리에서 이 값은 **생략 불가**다(§6.1-③). 무제한 업로드는 명시적 결정이어야 한다.
* 서버만 검증하는 정책도 정당하므로 팩토리 설정은 `MediaUploadLimits | 'server-enforced'`를 받는다
* (`Number.POSITIVE_INFINITY`는 JSON 직렬화 불가라 기각 — §0.4 기각 8).
*/
type MediaUploadLimits = {
readonly image?: MediaUploadLimit | undefined;
readonly video?: MediaUploadLimit | undefined;
};

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.

  • Package: @gj-kit/expo-media
  • Version: 0.6.1
  • Public entry: ./core
  • Source: GitHub