placementt-core 1.400.1087 → 1.400.1089
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/lib/typeDefinitions.d.ts +18 -0
- package/package.json +1 -1
- package/src/typeDefinitions.ts +18 -0
package/lib/typeDefinitions.d.ts
CHANGED
|
@@ -4796,6 +4796,20 @@ export type ApprenticeshipVacancy = {
|
|
|
4796
4796
|
lat: number;
|
|
4797
4797
|
lng: number;
|
|
4798
4798
|
}[];
|
|
4799
|
+
/**
|
|
4800
|
+
* Facets. The geohash cell each work address falls in, one attribute per
|
|
4801
|
+
* precision the Next Steps map clusters at (2 ≈ 1250km cells, 7 ≈ 150m),
|
|
4802
|
+
* deduped. A zoomed-out map asks Algolia for facet counts on one of these
|
|
4803
|
+
* and draws a number per cell, rather than reading thousands of vacancy
|
|
4804
|
+
* records to count them itself. Must be in the index's
|
|
4805
|
+
* `attributesForFaceting`. Empty for a national advert.
|
|
4806
|
+
*/
|
|
4807
|
+
geohash2: string[];
|
|
4808
|
+
geohash3: string[];
|
|
4809
|
+
geohash4: string[];
|
|
4810
|
+
geohash5: string[];
|
|
4811
|
+
geohash6: string[];
|
|
4812
|
+
geohash7: string[];
|
|
4799
4813
|
addresses: ApprenticeshipVacancyAddress[];
|
|
4800
4814
|
/** Recruiting nationally: no fixed address, so no `_geoloc` entries. */
|
|
4801
4815
|
isNational: boolean;
|
|
@@ -4963,6 +4977,10 @@ export type HeCourse = {
|
|
|
4963
4977
|
title: string;
|
|
4964
4978
|
providerName: string;
|
|
4965
4979
|
providerUrl?: string;
|
|
4980
|
+
/** How many courses the provider has in the dataset. Repeated on every
|
|
4981
|
+
* course so a search that reads one course per provider knows its size.
|
|
4982
|
+
* Absent on records written before the importer carried it. */
|
|
4983
|
+
totalCourses?: number;
|
|
4966
4984
|
courseUrl?: string;
|
|
4967
4985
|
/** First UCAS course code, for search. */
|
|
4968
4986
|
ucasCode?: string;
|
package/package.json
CHANGED
package/src/typeDefinitions.ts
CHANGED
|
@@ -4919,6 +4919,20 @@ export type ApprenticeshipVacancy = {
|
|
|
4919
4919
|
description: string,
|
|
4920
4920
|
/** One entry per work address, verbatim for Algolia's geo search. */
|
|
4921
4921
|
_geoloc: {lat: number, lng: number}[],
|
|
4922
|
+
/**
|
|
4923
|
+
* Facets. The geohash cell each work address falls in, one attribute per
|
|
4924
|
+
* precision the Next Steps map clusters at (2 ≈ 1250km cells, 7 ≈ 150m),
|
|
4925
|
+
* deduped. A zoomed-out map asks Algolia for facet counts on one of these
|
|
4926
|
+
* and draws a number per cell, rather than reading thousands of vacancy
|
|
4927
|
+
* records to count them itself. Must be in the index's
|
|
4928
|
+
* `attributesForFaceting`. Empty for a national advert.
|
|
4929
|
+
*/
|
|
4930
|
+
geohash2: string[],
|
|
4931
|
+
geohash3: string[],
|
|
4932
|
+
geohash4: string[],
|
|
4933
|
+
geohash5: string[],
|
|
4934
|
+
geohash6: string[],
|
|
4935
|
+
geohash7: string[],
|
|
4922
4936
|
addresses: ApprenticeshipVacancyAddress[],
|
|
4923
4937
|
/** Recruiting nationally: no fixed address, so no `_geoloc` entries. */
|
|
4924
4938
|
isNational: boolean,
|
|
@@ -5092,6 +5106,10 @@ export type HeCourse = {
|
|
|
5092
5106
|
title: string,
|
|
5093
5107
|
providerName: string,
|
|
5094
5108
|
providerUrl?: string,
|
|
5109
|
+
/** How many courses the provider has in the dataset. Repeated on every
|
|
5110
|
+
* course so a search that reads one course per provider knows its size.
|
|
5111
|
+
* Absent on records written before the importer carried it. */
|
|
5112
|
+
totalCourses?: number,
|
|
5095
5113
|
courseUrl?: string,
|
|
5096
5114
|
/** First UCAS course code, for search. */
|
|
5097
5115
|
ucasCode?: string,
|