@studyportals/search-api-interface 2.3.1-0 → 2.4.0
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/index.d.ts
CHANGED
|
@@ -24,4 +24,5 @@ import { ScholarshipSearchInput } from "./src/scholarships/ScholarshipSearchInpu
|
|
|
24
24
|
import { IScholarshipSearchCountResponse } from "./src/scholarships/IScholarshipSearchCountResponse";
|
|
25
25
|
import { ScholarshipFormat } from "./src/scholarships/ScholarshipFormatEnum";
|
|
26
26
|
import { ScholarshipType } from "./src/scholarships/ScholarshipTypeEnum";
|
|
27
|
-
|
|
27
|
+
import { SearchApiScholarshipClient } from "./src/scholarships/SearchApiScholarshipsClient";
|
|
28
|
+
export { SearchApiOrganisationClient, IOrganisationSearchResponse, IOrganisationSearchFilters, OrganisationSearchFilters, SearchApiProgrammeClient, IProgrammeSearchResponse, IProgrammeSearchFilters, ProgrammeSearchFilters, OrganisationSearchInput, ProgrammeSearchInput, IProgrammeResult, DegreeTypeEnum, DeliveryMethodEnum, HitsTotalRelation, ProgrammeSortType, FacetResponseType, FacetValues, TextSearchAlgorithmType, ProgrammeFilterType, ISuggestionResult, SearchApiScholarshipClient, IScholarshipSearchResponse, IScholarshipSearchFilters, ScholarshipSearchFilters, ScholarshipSearchInput, IScholarshipSearchCountResponse, ScholarshipFormat, ScholarshipType };
|
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ScholarshipType = exports.ScholarshipFormat = exports.ScholarshipSearchFilters = exports.ProgrammeFilterType = exports.TextSearchAlgorithmType = exports.ProgrammeSortType = exports.HitsTotalRelation = exports.DeliveryMethodEnum = exports.DegreeTypeEnum = exports.IProgrammeResult = exports.ProgrammeSearchFilters = exports.IProgrammeSearchFilters = exports.SearchApiProgrammeClient = exports.OrganisationSearchFilters = exports.IOrganisationSearchFilters = exports.SearchApiOrganisationClient = void 0;
|
|
3
|
+
exports.ScholarshipType = exports.ScholarshipFormat = exports.ScholarshipSearchFilters = exports.SearchApiScholarshipClient = exports.ProgrammeFilterType = exports.TextSearchAlgorithmType = exports.ProgrammeSortType = exports.HitsTotalRelation = exports.DeliveryMethodEnum = exports.DegreeTypeEnum = exports.IProgrammeResult = exports.ProgrammeSearchFilters = exports.IProgrammeSearchFilters = exports.SearchApiProgrammeClient = exports.OrganisationSearchFilters = exports.IOrganisationSearchFilters = exports.SearchApiOrganisationClient = void 0;
|
|
4
4
|
const HitsTotalRelation_1 = require("./src/HitsTotalRelation");
|
|
5
5
|
Object.defineProperty(exports, "HitsTotalRelation", { enumerable: true, get: function () { return HitsTotalRelation_1.HitsTotalRelation; } });
|
|
6
6
|
const DegreeTypeEnum_1 = require("./src/organisations/DegreeTypeEnum");
|
|
@@ -33,4 +33,6 @@ const ScholarshipFormatEnum_1 = require("./src/scholarships/ScholarshipFormatEnu
|
|
|
33
33
|
Object.defineProperty(exports, "ScholarshipFormat", { enumerable: true, get: function () { return ScholarshipFormatEnum_1.ScholarshipFormat; } });
|
|
34
34
|
const ScholarshipTypeEnum_1 = require("./src/scholarships/ScholarshipTypeEnum");
|
|
35
35
|
Object.defineProperty(exports, "ScholarshipType", { enumerable: true, get: function () { return ScholarshipTypeEnum_1.ScholarshipType; } });
|
|
36
|
+
const SearchApiScholarshipsClient_1 = require("./src/scholarships/SearchApiScholarshipsClient");
|
|
37
|
+
Object.defineProperty(exports, "SearchApiScholarshipClient", { enumerable: true, get: function () { return SearchApiScholarshipsClient_1.SearchApiScholarshipClient; } });
|
|
36
38
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,+DAA4D;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,+DAA4D;AA6C3D,kGA7CQ,qCAAiB,OA6CR;AA5ClB,uEAAoE;AA0CnE,+FA1CQ,+BAAc,OA0CR;AAzCf,+EAA4E;AA0C3E,mGA1CQ,uCAAkB,OA0CR;AAzCnB,+FAA4F;AA4B3F,2GA5BQ,uDAA0B,OA4BR;AA1B3B,6FAA0F;AA2BzF,0GA3BQ,qDAAyB,OA2BR;AAzB1B,iGAA8F;AAsB7F,4GAtBQ,yDAA2B,OAsBR;AArB5B,wEAAqE;AAiCpE,iGAjCQ,mCAAgB,OAiCR;AAhCjB,sFAAmF;AA2BlF,wGA3BQ,iDAAuB,OA2BR;AAzBxB,oFAAiF;AA0BhF,uGA1BQ,+CAAsB,OA0BR;AAxBvB,wFAAqF;AAqBpF,yGArBQ,mDAAwB,OAqBR;AAnBzB,0EAAuE;AAgCtE,kGAhCQ,qCAAiB,OAgCR;AA/BlB,2EAAwE;AAoCvE,wGApCQ,iDAAuB,OAoCR;AAnCxB,8EAA2E;AAoC1E,oGApCQ,yCAAmB,OAoCR;AAhCpB,0FAAuF;AAuCtF,yGAvCQ,mDAAwB,OAuCR;AApCzB,oFAA6E;AAuC5E,kGAvCQ,yCAAiB,OAuCR;AAtClB,gFAAyE;AAuCxE,gGAvCQ,qCAAe,OAuCR;AAtChB,gGAA4F;AA+B3F,2GA/BQ,wDAA0B,OA+BR"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@studyportals/search-api-interface",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Typescript library containing resources that facilitate integration with SearchApi",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"typescript-transform-paths": "^3.4.6"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
+
"@studyportals/domain-client": "^5.4.4",
|
|
29
30
|
"@studyportals/search-filters": "^4.11.2"
|
|
30
31
|
}
|
|
31
32
|
}
|
|
@@ -3,11 +3,12 @@ import { SearchApiClientBase } from "../SearchApiClientBase";
|
|
|
3
3
|
import { IScholarshipSearchFilters } from "./IScholarshipSearchFilters";
|
|
4
4
|
import { IScholarshipSearchResponse } from "./IScholarshipSearchResponse";
|
|
5
5
|
import { IScholarshipCard, PortalMap } from "@studyportals/domain-client";
|
|
6
|
+
import { IScholarshipSearchCountResponse } from "./IScholarshipSearchCountResponse";
|
|
6
7
|
export declare class SearchApiScholarshipClient extends SearchApiClientBase {
|
|
7
8
|
private readonly requestFactory;
|
|
8
9
|
private readonly requestSender;
|
|
9
10
|
private readonly scholarshipCardFactory;
|
|
10
11
|
constructor(apiUriBase: string, requestFactory: ISuperAgentRequestFactory, requestSender: IRequestSender, portalMap?: PortalMap);
|
|
11
12
|
searchCards(filters: IScholarshipSearchFilters, resultSize: number, resultOffset: number): Promise<IScholarshipSearchResponse<IScholarshipCard>>;
|
|
12
|
-
count(filters: any, resultSize: number, resultOffset: number): Promise<
|
|
13
|
+
count(filters: any, resultSize: number, resultOffset: number): Promise<IScholarshipSearchCountResponse>;
|
|
13
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchApiScholarshipsClient.js","sourceRoot":"","sources":["../../../src/scholarships/SearchApiScholarshipsClient.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,gEAA6D;AAG7D,+DAAgH;
|
|
1
|
+
{"version":3,"file":"SearchApiScholarshipsClient.js","sourceRoot":"","sources":["../../../src/scholarships/SearchApiScholarshipsClient.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,gEAA6D;AAG7D,+DAAgH;AAIhH,MAAa,0BAA2B,SAAQ,yCAAmB;IAMlE,YAAmB,UAAkB,EAC9B,cAAyC,EACzC,aAA6B,EAC7B,SAAqB;QAE3B,KAAK,CAAC,cAAc,EAAE,UAAU,CAAC,CAAC;QAElC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACr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