Hevy SDK Documentation - v0.0.0
    Preparing search index...

    Interface UpdateRoutineSet

    Set data for updating a routine exercise set.

    interface UpdateRoutineSet {
        custom_metric?: number | null;
        distance_meters?: number | null;
        duration_seconds?: number | null;
        rep_range?: { end: number; start: number } | null;
        reps?: number | null;
        type: string;
        weight_kg?: number | null;
    }
    Index

    Properties

    custom_metric?: number | null

    A custom metric for the set. Nullable and optional.

    distance_meters?: number | null

    The distance in meters. Nullable and optional.

    duration_seconds?: number | null

    The duration in seconds. Nullable and optional.

    rep_range?: { end: number; start: number } | null

    Range of reps for the set, if applicable. Nullable and optional.

    Type Declaration

    • { end: number; start: number }
      • end: number

        Ending rep count for the range. Example: 12

      • start: number

        Starting rep count for the range. Example: 8

    • null
    reps?: number | null

    The number of repetitions. Nullable and optional. Example: 10.

    type: string

    The type of the set. Example: 'normal'.

    weight_kg?: number | null

    The weight in kilograms. Nullable and optional. Example: 100.