@studyportals/search-api-interface 2.1.1-2 → 2.1.1-4
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
|
@@ -12,7 +12,7 @@ import { IProgrammeSearchResponse } from "./src/programmes/IProgrammeSearchRespo
|
|
|
12
12
|
import { ProgrammeSearchFilters } from "./src/programmes/ProgrammeSearchFilters";
|
|
13
13
|
import { ProgrammeSearchInput } from "./src/programmes/ProgrammeSearchInput";
|
|
14
14
|
import { SearchApiProgrammeClient } from "./src/programmes/SearchApiProgrammeClient";
|
|
15
|
-
import { FacetResponseType, FacetValues } from "./src/facets/FacetResponseType";
|
|
15
|
+
import { FacetResponseType, FacetValues, FilterFacetResponseType, FilterFacetType } from "./src/facets/FacetResponseType";
|
|
16
16
|
import { ProgrammeSortType } from "./src/programmes/ProgrammeSortType";
|
|
17
17
|
import { ProgrammeFilterType } from "./src/programmes/ProgrammeFilterType";
|
|
18
|
-
export { SearchApiOrganisationClient, IOrganisationSearchResponse, IOrganisationSearchFilters, OrganisationSearchFilters, SearchApiProgrammeClient, IProgrammeSearchResponse, IProgrammeSearchFilters, ProgrammeSearchFilters, OrganisationSearchInput, ProgrammeSearchInput, IProgrammeResult, DegreeTypeEnum, DeliveryMethodEnum, HitsTotalRelation, ProgrammeSortType, FacetResponseType, FacetValues, ProgrammeFilterType };
|
|
18
|
+
export { SearchApiOrganisationClient, IOrganisationSearchResponse, IOrganisationSearchFilters, OrganisationSearchFilters, SearchApiProgrammeClient, IProgrammeSearchResponse, IProgrammeSearchFilters, ProgrammeSearchFilters, OrganisationSearchInput, ProgrammeSearchInput, IProgrammeResult, DegreeTypeEnum, DeliveryMethodEnum, HitsTotalRelation, ProgrammeSortType, FacetResponseType, FacetValues, ProgrammeFilterType, FilterFacetResponseType, FilterFacetType };
|
package/package.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FacetOptionValue } from "@studyportals/search-filters/server-side";
|
|
2
|
+
import { ProgrammeFilterType } from "../programmes/ProgrammeFilterType";
|
|
2
3
|
type FacetResponseType = {
|
|
3
4
|
filter: FacetOptionValue;
|
|
4
5
|
values: FacetValues[];
|
|
@@ -7,4 +8,11 @@ type FacetValues = {
|
|
|
7
8
|
count: number;
|
|
8
9
|
value: string;
|
|
9
10
|
};
|
|
10
|
-
|
|
11
|
+
type FilterFacetType = ProgrammeFilterType | {
|
|
12
|
+
CURRENCY: 'tc';
|
|
13
|
+
};
|
|
14
|
+
type FilterFacetResponseType = {
|
|
15
|
+
filter: FilterFacetType;
|
|
16
|
+
values: FacetValues[];
|
|
17
|
+
};
|
|
18
|
+
export { FacetResponseType, FacetValues, FilterFacetResponseType, FilterFacetType };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export declare enum ProgrammeFilterType {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
2
|
+
ATTENDANCES = "attendances",
|
|
3
|
+
DEGREE_TYPES = "degreeTypes",
|
|
4
|
+
DISCIPLINES = "disciplines",
|
|
5
|
+
DURATIONS = "durations",
|
|
6
|
+
EDUCATIONAL_LEVELS = "educationalLevels",
|
|
7
|
+
EDUCATIONAL_FORMS = "educationalForms",
|
|
8
|
+
DENSITIES = "densities",
|
|
9
|
+
TEXT = "text",
|
|
10
|
+
AREA_IDS = "areaIds",
|
|
11
|
+
REGION_IDS = "regionIds",
|
|
12
|
+
COUNTRY_ISO_CODES = "countryIsoCodes",
|
|
13
|
+
ORGANISATION_IDS = "organisationIds",
|
|
14
|
+
SPECIAL_PROGRAMMES = "specialProgrammes",
|
|
15
|
+
TUITION_FEE_MIN = "tuitionFeeMin",
|
|
16
|
+
TUITION_FEE_MAX = "tuitionFeeMax",
|
|
17
|
+
NATIONALITY_COUNTRY_ISO = "nationalityCountryIso"
|
|
18
18
|
}
|
|
@@ -3,21 +3,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ProgrammeFilterType = void 0;
|
|
4
4
|
var ProgrammeFilterType;
|
|
5
5
|
(function (ProgrammeFilterType) {
|
|
6
|
-
ProgrammeFilterType["
|
|
7
|
-
ProgrammeFilterType["
|
|
8
|
-
ProgrammeFilterType["
|
|
9
|
-
ProgrammeFilterType["
|
|
10
|
-
ProgrammeFilterType["
|
|
11
|
-
ProgrammeFilterType["
|
|
12
|
-
ProgrammeFilterType["
|
|
13
|
-
ProgrammeFilterType["
|
|
14
|
-
ProgrammeFilterType["
|
|
15
|
-
ProgrammeFilterType["
|
|
16
|
-
ProgrammeFilterType["
|
|
17
|
-
ProgrammeFilterType["
|
|
18
|
-
ProgrammeFilterType["
|
|
19
|
-
ProgrammeFilterType["
|
|
20
|
-
ProgrammeFilterType["
|
|
21
|
-
ProgrammeFilterType["
|
|
6
|
+
ProgrammeFilterType["ATTENDANCES"] = "attendances";
|
|
7
|
+
ProgrammeFilterType["DEGREE_TYPES"] = "degreeTypes";
|
|
8
|
+
ProgrammeFilterType["DISCIPLINES"] = "disciplines";
|
|
9
|
+
ProgrammeFilterType["DURATIONS"] = "durations";
|
|
10
|
+
ProgrammeFilterType["EDUCATIONAL_LEVELS"] = "educationalLevels";
|
|
11
|
+
ProgrammeFilterType["EDUCATIONAL_FORMS"] = "educationalForms";
|
|
12
|
+
ProgrammeFilterType["DENSITIES"] = "densities";
|
|
13
|
+
ProgrammeFilterType["TEXT"] = "text";
|
|
14
|
+
ProgrammeFilterType["AREA_IDS"] = "areaIds";
|
|
15
|
+
ProgrammeFilterType["REGION_IDS"] = "regionIds";
|
|
16
|
+
ProgrammeFilterType["COUNTRY_ISO_CODES"] = "countryIsoCodes";
|
|
17
|
+
ProgrammeFilterType["ORGANISATION_IDS"] = "organisationIds";
|
|
18
|
+
ProgrammeFilterType["SPECIAL_PROGRAMMES"] = "specialProgrammes";
|
|
19
|
+
ProgrammeFilterType["TUITION_FEE_MIN"] = "tuitionFeeMin";
|
|
20
|
+
ProgrammeFilterType["TUITION_FEE_MAX"] = "tuitionFeeMax";
|
|
21
|
+
ProgrammeFilterType["NATIONALITY_COUNTRY_ISO"] = "nationalityCountryIso";
|
|
22
22
|
})(ProgrammeFilterType || (exports.ProgrammeFilterType = ProgrammeFilterType = {}));
|
|
23
23
|
//# sourceMappingURL=ProgrammeFilterType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgrammeFilterType.js","sourceRoot":"","sources":["../../../src/programmes/ProgrammeFilterType.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAqBX;AArBD,WAAY,mBAAmB;IAC7B,kDAA2B,CAAA;IAC3B,
|
|
1
|
+
{"version":3,"file":"ProgrammeFilterType.js","sourceRoot":"","sources":["../../../src/programmes/ProgrammeFilterType.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAqBX;AArBD,WAAY,mBAAmB;IAC7B,kDAA2B,CAAA;IAC3B,mDAA4B,CAAA;IAC5B,kDAA2B,CAAA;IAC3B,8CAAuB,CAAA;IACvB,+DAAwC,CAAA;IACxC,6DAAsC,CAAA;IACtC,8CAAuB,CAAA;IAEvB,oCAAa,CAAA;IAEb,2CAAoB,CAAA;IACpB,+CAAwB,CAAA;IACxB,4DAAqC,CAAA;IACrC,2DAAoC,CAAA;IACpC,+DAAwC,CAAA;IAExC,wDAAiC,CAAA;IACjC,wDAAiC,CAAA;IAEjC,wEAAiD,CAAA;AACnD,CAAC,EArBW,mBAAmB,mCAAnB,mBAAmB,QAqB9B"}
|