@studyportals/search-api-interface 1.2.2-22 → 1.2.2-24

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
@@ -1,3 +1,4 @@
1
+ import { HitsTotalRelation } from "./src/HitsTotalRelation";
1
2
  import { DegreeTypeEnum } from "./src/organisations/DegreeTypeEnum";
2
3
  import { DeliveryMethodEnum } from "./src/organisations/DeliveryMethodEnum";
3
4
  import { IOrganisationSearchFilters } from "./src/organisations/IOrganisationSearchFilters";
@@ -11,4 +12,4 @@ import { IProgrammeSearchResponse } from "./src/programmes/IProgrammeSearchRespo
11
12
  import { ProgrammeSearchFilters } from "./src/programmes/ProgrammeSearchFilters";
12
13
  import { ProgrammeSearchInput } from "./src/programmes/ProgrammeSearchInput";
13
14
  import { SearchApiProgrammeClient } from "./src/programmes/SearchApiProgrammeClient";
14
- export { SearchApiOrganisationClient, IOrganisationSearchResponse, IOrganisationSearchFilters, OrganisationSearchFilters, SearchApiProgrammeClient, IProgrammeSearchResponse, IProgrammeSearchFilters, ProgrammeSearchFilters, OrganisationSearchInput, ProgrammeSearchInput, IProgrammeResult, DegreeTypeEnum, DeliveryMethodEnum };
15
+ export { SearchApiOrganisationClient, IOrganisationSearchResponse, IOrganisationSearchFilters, OrganisationSearchFilters, SearchApiProgrammeClient, IProgrammeSearchResponse, IProgrammeSearchFilters, ProgrammeSearchFilters, OrganisationSearchInput, ProgrammeSearchInput, IProgrammeResult, DegreeTypeEnum, DeliveryMethodEnum, HitsTotalRelation };
package/index.js CHANGED
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeliveryMethodEnum = exports.DegreeTypeEnum = exports.IProgrammeResult = exports.ProgrammeSearchFilters = exports.IProgrammeSearchFilters = exports.SearchApiProgrammeClient = exports.OrganisationSearchFilters = exports.IOrganisationSearchFilters = exports.SearchApiOrganisationClient = void 0;
3
+ exports.HitsTotalRelation = exports.DeliveryMethodEnum = exports.DegreeTypeEnum = exports.IProgrammeResult = exports.ProgrammeSearchFilters = exports.IProgrammeSearchFilters = exports.SearchApiProgrammeClient = exports.OrganisationSearchFilters = exports.IOrganisationSearchFilters = exports.SearchApiOrganisationClient = void 0;
4
+ const HitsTotalRelation_1 = require("./src/HitsTotalRelation");
5
+ Object.defineProperty(exports, "HitsTotalRelation", { enumerable: true, get: function () { return HitsTotalRelation_1.HitsTotalRelation; } });
4
6
  const DegreeTypeEnum_1 = require("./src/organisations/DegreeTypeEnum");
5
7
  Object.defineProperty(exports, "DegreeTypeEnum", { enumerable: true, get: function () { return DegreeTypeEnum_1.DegreeTypeEnum; } });
6
8
  const DeliveryMethodEnum_1 = require("./src/organisations/DeliveryMethodEnum");
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,uEAAoE;AA6BnE,+FA7BQ,+BAAc,OA6BR;AA5Bf,+EAA4E;AA6B3E,mGA7BQ,uCAAkB,OA6BR;AA5BnB,+FAA4F;AAe3F,2GAfQ,uDAA0B,OAeR;AAb3B,6FAA0F;AAczF,0GAdQ,qDAAyB,OAcR;AAZ1B,iGAA8F;AAS7F,4GATQ,yDAA2B,OASR;AAR5B,wEAAqE;AAoBpE,iGApBQ,mCAAgB,OAoBR;AAnBjB,sFAAmF;AAclF,wGAdQ,iDAAuB,OAcR;AAZxB,oFAAiF;AAahF,uGAbQ,+CAAsB,OAaR;AAXvB,wFAAqF;AAQpF,yGARQ,mDAAwB,OAQR"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,+DAA4D;AAgC3D,kGAhCQ,qCAAiB,OAgCR;AA/BlB,uEAAoE;AA6BnE,+FA7BQ,+BAAc,OA6BR;AA5Bf,+EAA4E;AA6B3E,mGA7BQ,uCAAkB,OA6BR;AA5BnB,+FAA4F;AAe3F,2GAfQ,uDAA0B,OAeR;AAb3B,6FAA0F;AAczF,0GAdQ,qDAAyB,OAcR;AAZ1B,iGAA8F;AAS7F,4GATQ,yDAA2B,OASR;AAR5B,wEAAqE;AAoBpE,iGApBQ,mCAAgB,OAoBR;AAnBjB,sFAAmF;AAclF,wGAdQ,iDAAuB,OAcR;AAZxB,oFAAiF;AAahF,uGAbQ,+CAAsB,OAaR;AAXvB,wFAAqF;AAQpF,yGARQ,mDAAwB,OAQR"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/search-api-interface",
3
- "version": "1.2.2-22",
3
+ "version": "1.2.2-24",
4
4
  "description": "Typescript library containing resources that facilitate integration with SearchApi",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,4 @@
1
+ export declare enum HitsTotalRelation {
2
+ EXACTLY = "exactly",
3
+ MORE_THAN = "more than"
4
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HitsTotalRelation = void 0;
4
+ var HitsTotalRelation;
5
+ (function (HitsTotalRelation) {
6
+ HitsTotalRelation["EXACTLY"] = "exactly";
7
+ HitsTotalRelation["MORE_THAN"] = "more than";
8
+ })(HitsTotalRelation || (exports.HitsTotalRelation = HitsTotalRelation = {}));
9
+ //# sourceMappingURL=HitsTotalRelation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HitsTotalRelation.js","sourceRoot":"","sources":["../../src/HitsTotalRelation.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC5B,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;AACtB,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B"}
@@ -1,5 +1,6 @@
1
+ import { HitsTotalRelation } from "../HitsTotalRelation";
1
2
  export interface IOrganisationSearchResponse<T> {
2
3
  readonly organisations: readonly T[];
3
4
  readonly hitsTotal: number;
4
- readonly hitsTotalRelation: "more than" | "exactly";
5
+ readonly hitsTotalRelation: HitsTotalRelation;
5
6
  }
@@ -1,5 +1,6 @@
1
+ import { HitsTotalRelation } from "../HitsTotalRelation";
1
2
  export interface IProgrammeSearchResponse<T> {
2
3
  readonly programmes: readonly T[];
3
4
  readonly hitsTotal: number;
4
- readonly hitsTotalRelation: "more than" | "exactly";
5
+ readonly hitsTotalRelation: HitsTotalRelation;
5
6
  }