Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
[Distributors.DISCORD]: (skuId: string, slug?: null | string) =>
Endpoints.Routes.URL + `/store/skus/${skuId}` + ((slug) ? `/${slug}` : ''),
[Distributors.EPIC]: (skuId: string) =>
get platformDiscordUrl(): null | string {
if (this.primarySkuId) {
return (
Endpoints.Routes.URL +
Endpoints.Routes.APPLICATION_STORE_LISTING_APPLICATION(this.primarySkuId, this.slug)
);
}
return null;
}
get jumpLink(): string {
return Endpoints.Routes.URL + Endpoints.Routes.USER(this.id);
}
get platformDiscordUrl(): null | string {
if (this.primarySkuId) {
return (
Endpoints.Routes.URL +
Endpoints.Routes.APPLICATION_STORE_LISTING_APPLICATION(this.primarySkuId, this.slug)
);
}
return null;
}