@studyportals/search-api-interface 4.5.0-st6.1 → 4.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/search-api-interface",
3
- "version": "4.5.0-st6.1",
3
+ "version": "4.5.1",
4
4
  "description": "Typescript library containing resources that facilitate integration with SearchApi",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -9,7 +9,7 @@ export declare class IOrganisationSearchFilters {
9
9
  readonly organisationText: string | undefined;
10
10
  readonly degree: DegreeTypeEnum | undefined;
11
11
  readonly disciplines: string[] | undefined;
12
- readonly insightDiscipline: string | undefined;
12
+ readonly insightDisciplines: string[] | undefined;
13
13
  readonly deliveryMethods: DeliveryMethodEnum[] | undefined;
14
14
  readonly countryIsoCodes: string[] | undefined;
15
15
  readonly countryIsoCodesOfMainLocations: string[] | undefined;
@@ -7,7 +7,7 @@ export class IOrganisationSearchFilters {
7
7
  organisationText;
8
8
  degree;
9
9
  disciplines;
10
- insightDiscipline;
10
+ insightDisciplines;
11
11
  deliveryMethods;
12
12
  countryIsoCodes;
13
13
  countryIsoCodesOfMainLocations;
@@ -1 +1 @@
1
- {"version":3,"file":"IOrganisationSearchFilters.js","sourceRoot":"","sources":["../../../src/organisations/IOrganisationSearchFilters.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,0BAA0B;IACtC;;OAEG;IACM,cAAc,CAAqB;IACnC,eAAe,CAAuB;IACtC,gBAAgB,CAAqB;IACrC,MAAM,CAA6B;IACnC,WAAW,CAAuB;IAClC,iBAAiB,CAAqB;IACtC,eAAe,CAAmC;IAClD,eAAe,CAAuB;IACtC,8BAA8B,CAAuB;IACrD,SAAS,CAAuB;IAChC,OAAO,CAAuB;IAC9B,OAAO,CAAuB;IAC9B,WAAW,CAAqB;IAChC,qBAAqB,CAAuB;IAC5C,UAAU,CAAsB;CACzC"}
1
+ {"version":3,"file":"IOrganisationSearchFilters.js","sourceRoot":"","sources":["../../../src/organisations/IOrganisationSearchFilters.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,0BAA0B;IACtC;;OAEG;IACM,cAAc,CAAqB;IACnC,eAAe,CAAuB;IACtC,gBAAgB,CAAqB;IACrC,MAAM,CAA6B;IACnC,WAAW,CAAuB;IAClC,kBAAkB,CAAuB;IACzC,eAAe,CAAmC;IAClD,eAAe,CAAuB;IACtC,8BAA8B,CAAuB;IACrD,SAAS,CAAuB;IAChC,OAAO,CAAuB;IAC9B,OAAO,CAAuB;IAC9B,WAAW,CAAqB;IAChC,qBAAqB,CAAuB;IAC5C,UAAU,CAAsB;CACzC"}
@@ -20,12 +20,12 @@ export declare class OrganisationSearchFilters implements IOrganisationSearchFil
20
20
  virtualPath: string | undefined;
21
21
  showHidden: boolean | undefined;
22
22
  organisationText: string | undefined;
23
- insightDiscipline: string | undefined;
23
+ insightDisciplines: string[] | undefined;
24
24
  from(input: OrganisationSearchInput): OrganisationSearchFilters;
25
25
  consideringId(id: string): OrganisationSearchFilters;
26
26
  consideringDegree(degree: DegreeTypeEnum): OrganisationSearchFilters;
27
27
  consideringDisciplines(disciplines: string[]): OrganisationSearchFilters;
28
- consideringInsightDiscipline(insightDiscipline: string): OrganisationSearchFilters;
28
+ consideringInsightDisciplines(insightDisciplines: string[]): OrganisationSearchFilters;
29
29
  consideringDeliveryMethods(deliveryMethods: DeliveryMethodEnum[]): OrganisationSearchFilters;
30
30
  consideringCountryIsoCodes(countryIsoCodes: string[]): OrganisationSearchFilters;
31
31
  consideringCountryIsoCodesOfMainLocations(countryIsoCodes: string[]): OrganisationSearchFilters;
@@ -16,7 +16,7 @@ export class OrganisationSearchFilters {
16
16
  virtualPath;
17
17
  showHidden;
18
18
  organisationText;
19
- insightDiscipline;
19
+ insightDisciplines;
20
20
  from(input) {
21
21
  this.organisationId = input.organisationId ? input.organisationId.toString() : undefined;
22
22
  this.organisationIds = this.numbersToStringsOrUndefined(input.organisationIds);
@@ -24,7 +24,7 @@ export class OrganisationSearchFilters {
24
24
  this.degree = input.degree;
25
25
  this.deliveryMethods = input.deliveryMethods;
26
26
  this.disciplines = this.numbersToStringsOrUndefined(input.disciplines);
27
- this.insightDiscipline = input.insightDiscipline?.toString();
27
+ this.insightDisciplines = this.numbersToStringsOrUndefined(input.insightDisciplines);
28
28
  this.countryIsoCodes = input.countryIsoCodes;
29
29
  this.countryIsoCodesOfMainLocations = input.countryIsoCodesOfMainLocations;
30
30
  this.regionIds = this.numbersToStringsOrUndefined(input.regionIds);
@@ -47,8 +47,8 @@ export class OrganisationSearchFilters {
47
47
  this.disciplines = disciplines;
48
48
  return this;
49
49
  }
50
- consideringInsightDiscipline(insightDiscipline) {
51
- this.insightDiscipline = insightDiscipline;
50
+ consideringInsightDisciplines(insightDisciplines) {
51
+ this.insightDisciplines = insightDisciplines;
52
52
  return this;
53
53
  }
54
54
  consideringDeliveryMethods(deliveryMethods) {
@@ -1 +1 @@
1
- {"version":3,"file":"OrganisationSearchFilters.js","sourceRoot":"","sources":["../../../src/organisations/OrganisationSearchFilters.ts"],"names":[],"mappings":"AAKA,MAAM,OAAO,yBAAyB;IACrC;;OAEG;IACI,cAAc,CAAqB;IACnC,eAAe,CAAuB;IACtC,MAAM,CAA6B;IACnC,WAAW,CAAuB;IAClC,eAAe,CAAmC;IAClD,eAAe,CAAuB;IACtC,8BAA8B,CAAuB;IACrD,SAAS,CAAuB;IAChC,OAAO,CAAuB;IAC9B,OAAO,CAAuB;IAC9B,qBAAqB,CAAuB;IAC5C,WAAW,CAAqB;IAChC,UAAU,CAAsB;IAChC,gBAAgB,CAAqB;IACrC,iBAAiB,CAAqB;IAEtC,IAAI,CAAC,KAA8B;QACzC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;QACzF,IAAI,CAAC,eAAe,GAAG,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AAiB;QAC1C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,kBAAkB,CAAC,OAAiB;QAC1C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,gCAAgC,CAAC,qBAA+B;QACtE,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;QACnD,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,sBAAsB,CAAC,WAAmB;QAChD,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IACb,CAAC;IAEO,2BAA2B,CAAC,MAA4B;QAC/D,IAAI,MAAM,KAAK,SAAS;YAAE,OAAO;QACjC,OAAO,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC9C,CAAC;CACD"}
@@ -10,7 +10,7 @@ export type OrganisationSearchInput = {
10
10
  organisationIds?: number[];
11
11
  organisationText?: string;
12
12
  disciplines?: number[];
13
- insightDiscipline?: number;
13
+ insightDisciplines?: number[];
14
14
  countryIsoCodes?: string[];
15
15
  countryIsoCodesOfMainLocations?: string[];
16
16
  regionIds?: number[];