Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "Helpers/SavesAndFollows/Follow"

Index

Functions

Const followedArtist

  • A user follows an artist

    example
    followedArtist({
      contextModule: ContextModule.artistSeriesRail
      contextOwnerId: "5359794d2a1e86c3741001f8",
      contextOwnerSlug: "andy-warhol",
      contextOwnerType: OwnerType.artist,
      ownerId: "5359794d1a1e86c3740001f7",
      ownerSlug: "sturtevant",
    })

    Parameters

    Returns FollowedArtist

Const followedFair

  • A user follows a fair

    example
    followedFair({
      contextModule: ContextModule.otherWorksFromPartnerRail,
      contextOwnerId: "5359794d2a1e86c3741001f8",
      contextOwnerSlug: "andy-warhol-skull",
      contextOwnerType: OwnerType.artwork,
      ownerId: "5359794d1a1e86c3740001f7",
      ownerSlug: "frieze-london",
    })

    Parameters

    Returns FollowedFair

Const followedGene

  • A user follows a gene

    example
    followedGene({
      contextModule: ContextModule.intextTooltip,
      contextOwnerId: "5359794d2a1e86c3741001f8",
      contextOwnerSlug: "artsy-editorial-future-of-art",
      contextOwnerType: OwnerType.article,
      ownerId: "5359794d1a1e86c3740001f7",
      ownerSlug: "surrealism",
    })

    Parameters

    Returns FollowedGene

Const followedPartner

  • A user follows a partner

    example
    followedPartner({
      contextModule: ContextModule.aboutTheWork,
      contextOwnerId: "5359794d2a1e86c3741001f8",
      contextOwnerSlug: "andy-warhol-skull",
      contextOwnerType: OwnerType.artwork,
      ownerId: "5359794d1a1e86c3740001f7",
      ownerSlug: "pace-prints",
    })

    Parameters

    Returns FollowedPartner

Const unfollowedArtist

  • A user unfollows an artist

    example
    unfollowedArtist({
      contextModule: ContextModule.artistSeriesRail
      contextOwnerId: "5359794d2a1e86c3741001f8",
      contextOwnerSlug: "andy-warhol",
      contextOwnerType: OwnerType.artist,
      OwnerId: "5359794d1a1e86c3740001f7",
      OwnerSlug: "sturtevant",
    })

    Parameters

    Returns UnfollowedArtist

Const unfollowedFair

  • A user unfollows a fair

    example
    unfollowedFair({
      contextModule: ContextModule.otherWorksFromPartnerRail,
      contextOwnerId: "5359794d2a1e86c3741001f8",
      contextOwnerSlug: "andy-warhol-skull",
      contextOwnerType: OwnerType.artwork,
      ownerId: "5359794d1a1e86c3740001f7",
      ownerSlug: "frieze-london",
    })

    Parameters

    Returns UnfollowedFair

Const unfollowedGene

  • A user unfollows a gene

    example
    unfollowedGene({
      contextModule: ContextModule.intextTooltip,
      contextOwnerId: "5359794d2a1e86c3741001f8",
      contextOwnerSlug: "artsy-editorial-future-of-art",
      contextOwnerType: OwnerType.article,
      ownerId: "5359794d1a1e86c3740001f7",
      ownerSlug: "surrealism",
    })

    Parameters

    Returns UnfollowedGene

Const unfollowedPartner

  • A user unfollows a partner

    example
    unfollowedPartner({
      contextModule: ContextModule.aboutTheWork,
      contextOwnerId: "5359794d2a1e86c3741001f8",
      contextOwnerSlug: "andy-warhol-skull",
      contextOwnerType: OwnerType.artwork,
      ownerId: "5359794d1a1e86c3740001f7",
      ownerSlug: "pace-prints",
    })

    Parameters

    Returns UnfollowedPartner

Generated using TypeDoc