Enode — API Reference
    Preparing search index...
    • Parameters

      • __namedParameters: {
            authorUserID?: string | null;
            children?: ReactNode;
            items: readonly WorkoutItemReturnDtoV2[];
            note?: string | null;
            provenance?: { author?: string | null; scope: ProvenanceScope } | null;
            resolveExercise?: (
                item: WorkoutItemReturnDtoV2,
            ) => ExerciseMappedReturnDto | undefined;
            tags?: readonly EntityTagReturnDto[];
        }
        • OptionalauthorUserID?: string | null

          The definition's sharingUserID when it is someone else's — turns on the author's coaching cue per row. null on the viewer's own.

        • Optionalchildren?: ReactNode

          Extra sections the host wants between the header and the exercises.

        • items: readonly WorkoutItemReturnDtoV2[]
        • Optionalnote?: string | null

          The author's own context for whoever RUNS this — shown, never editable.

        • Optionalprovenance?: { author?: string | null; scope: ProvenanceScope } | null

          Attribution for a FOREIGN template. Omitted on the viewer's own.

        • OptionalresolveExercise?: (item: WorkoutItemReturnDtoV2) => ExerciseMappedReturnDto | undefined

          The viewer's own exercise for an item, when they have one.

        • Optionaltags?: readonly EntityTagReturnDto[]

      Returns Element