New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@studyportals/domain-client

Package Overview
Dependencies
Maintainers
14
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@studyportals/domain-client - npm Package Compare versions

Comparing version 2.0.2-1 to 3.0.0

src/models/programme-card/i-location.d.ts

6

index.d.ts

@@ -6,4 +6,2 @@ import { BadRequestException } from "./src/exceptions/bad-request-exception";

import { PropertyNotAvailableException } from "./src/exceptions/property-not-available-exception";
import { PortalType } from "./src/types/portal-type";
import { PortalMap } from "./src/types/portal-map";
import { IInternalLink } from "./src/models/programme-card/i-internal-link";

@@ -13,2 +11,4 @@ import { ILogo } from "./src/models/programme-card/i-logo";

import { ILink } from "./src/models/programme-card/i-link";
import { IOptionalLink } from "./src/models/programme-card/i-optional-link";
import { ILocation } from "./src/models/programme-card/i-location";
import { IClickTrackingData } from "./src/models/programme-card/i-click-tracking-data";

@@ -27,2 +27,2 @@ import { ITracking } from "./src/models/programme-card/i-tracking";

import { SearchProjectionClient } from "./src/models/search-projection/search-projection-client";
export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, IInternalLink, ILogo, ICover, ILink, IClickTrackingData, ITracking, ITuitionFee, IDuration, IProgrammeCard, ProgrammeCardClient, ITuitionValues, IPremiumValues, IOrganisationValues, IGeoTargetingConfiguration, IGeoTargetingValues, ISearchProjection, SearchProjectionClient, PortalType, PortalMap };
export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, IInternalLink, ILogo, ICover, ILink, IOptionalLink, ILocation, IClickTrackingData, ITracking, ITuitionFee, IDuration, IProgrammeCard, ProgrammeCardClient, ITuitionValues, IPremiumValues, IOrganisationValues, IGeoTargetingConfiguration, IGeoTargetingValues, ISearchProjection, SearchProjectionClient };
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PortalType = exports.SearchProjectionClient = exports.ProgrammeCardClient = exports.PropertyNotAvailableException = exports.NotFoundException = exports.InternalServerException = exports.ClientException = exports.BadRequestException = void 0;
exports.SearchProjectionClient = exports.ProgrammeCardClient = exports.PropertyNotAvailableException = exports.NotFoundException = exports.InternalServerException = exports.ClientException = exports.BadRequestException = void 0;
const bad_request_exception_1 = require("./src/exceptions/bad-request-exception");

@@ -14,4 +14,2 @@ Object.defineProperty(exports, "BadRequestException", { enumerable: true, get: function () { return bad_request_exception_1.BadRequestException; } });

Object.defineProperty(exports, "PropertyNotAvailableException", { enumerable: true, get: function () { return property_not_available_exception_1.PropertyNotAvailableException; } });
const portal_type_1 = require("./src/types/portal-type");
Object.defineProperty(exports, "PortalType", { enumerable: true, get: function () { return portal_type_1.PortalType; } });
const programme_card_client_1 = require("./src/models/programme-card/programme-card-client");

@@ -18,0 +16,0 @@ Object.defineProperty(exports, "ProgrammeCardClient", { enumerable: true, get: function () { return programme_card_client_1.ProgrammeCardClient; } });

{
"name": "@studyportals/domain-client",
"version": "2.0.2-1",
"version": "3.0.0",
"description": "Responsible for fetching data from the Domain API",

@@ -5,0 +5,0 @@ "main": "bin/index.js",

@@ -1,12 +0,4 @@

import { ICover, IDuration, IInternalLink, ILink, ILogo, ITracking, ITuitionFee } from "../../..";
import { ICover, IDuration, IInternalLink, ILink, ILocation, ILogo, ITracking, ITuitionFee } from "../../..";
export interface IProgrammeCard {
/**
* Get the country name the programme is located in.
*
* Uses the country based on the programmes venues.
*
* @return string
*/
getCountryName(): string;
/**
* Get the Cover of the programme if available.

@@ -44,2 +36,11 @@ *

/**
* Get the locaiton the programme is located in.
*
* Uses the country based on the programmes venues.
*
* @return ILocation
*/
getLocation(): ILocation;
canShowLocation(): boolean;
/**
* Get the Logo of the programme if available.

@@ -52,2 +53,9 @@ *

/**
* Returns premium type
* Such as Super premium, premium, light, etc..
*
* @return string
*/
getPremiumType(): string;
/**
* Get a link to the programme page.

@@ -54,0 +62,0 @@ *

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc