Enode — API Reference
    Preparing search index...

    Interface GymCloudStorageSectionViewProps

    interface GymCloudStorageSectionViewProps {
        confirmOpen: boolean;
        deleting?: boolean;
        onCancelConfirm: () => void;
        onDeleteAll: () => void;
        onOpenConfirm: () => void;
        onRetry: () => void;
        organisationName?: string | null;
        peopleCount?: number | null;
        totalBytes: number;
        usage: CloudVideoUsage;
    }
    Index

    Properties

    confirmOpen: boolean

    Whether the "Delete all" confirm is showing.

    deleting?: boolean

    True while delete-all runs; locks the confirm buttons.

    onCancelConfirm: () => void

    Closes the confirm without deleting.

    onDeleteAll: () => void

    Confirmed: delete every cloud video of the gym.

    onOpenConfirm: () => void

    Opens the confirm.

    onRetry: () => void

    Reloads the usage after an error.

    organisationName?: string | null

    Gym name, used in the confirm text.

    peopleCount?: number | null

    People whose videos are deleted, used in the confirm text.

    totalBytes: number

    The gym's cloud storage allowance in bytes (from the plan).

    Loading / error / ready state of the cloud-video usage fetch.