Skip to content

AuthorizationFacts — @gj-kit/expo-workouts

A public interface from @gj-kit/expo-workouts. The signature below is taken directly from the 0.1.1 release declaration.

import { AuthorizationFacts } from '@gj-kit/expo-workouts';
/** Input for the pure derivation, so a second consumer can re-derive it from facts it stored earlier. */
interface AuthorizationFacts {
readonly state: AuthorizationState;
/** The scopes THIS screen actually needs — may be narrower than everything the build declares. */
readonly requiredRead: readonly Scope[];
readonly requiredWrite?: readonly Scope[] | undefined;
readonly requiresHistory?: boolean | 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-workouts
  • Version: 0.1.1
  • Public entry: .
  • Source: GitHub