Type Alias: ApiShare

@torque-labs/torque-ts-sdkDocs


@torque-labs/torque-ts-sdk / ApiShare

Type Alias: ApiShare

type ApiShare: {
  campaign: {
     advertiser: {
        profileImage: string | null;
        twitter: string | null;
        username: string | null;
       };
     endTime: Date;
     id: string;
     imageUrl: string;
     startTime: Date;
     targetLink: string;
     title: string;
     type: string;
    };
  publisher: {
     profileImage: string | null;
     twitter: string | null;
     username: string | null;
    };
};

Share link data.

Type declaration

NameType

campaign

{ advertiser: { profileImage: string | null; twitter: string | null; username: string | null; }; endTime: Date; id: string; imageUrl: string; startTime: Date; targetLink: string; title: string; type: string; }

campaign.advertiser

{ profileImage: string | null; twitter: string | null; username: string | null; }

campaign.advertiser.profileImage?

string | null

campaign.advertiser.twitter?

string | null

campaign.advertiser.username

string | null

campaign.endTime

Date

campaign.id

string

campaign.imageUrl?

string

campaign.startTime

Date

campaign.targetLink?

string

campaign.title

string

campaign.type

string

publisher

{ profileImage: string | null; twitter: string | null; username: string | null; }

publisher.profileImage?

string | null

publisher.twitter?

string | null

publisher.username

string | null

Defined in

src/types/api.ts:177

Last updated