The minimal shape collectSharedGear reads off a gear item: its name (for row ordering) and the cohort references it is shared with.

interface SharedGearCandidate {
    data: { sharedWithCohortIds?: readonly string[] };
    name: string;
}

Properties

Properties

data: { sharedWithCohortIds?: readonly string[] }

The gear item's persisted data.

Type declaration

  • OptionalsharedWithCohortIds?: readonly string[]

    The cohort references this item is shared with.

name: string

The gear item's name.