placementt-core 1.400.1087 → 1.400.1088
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 +14 -0
- package/package.json +1 -1
- package/src/typeDefinitions.ts +14 -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;
|
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,
|