@abcagency/hc-ui-components 1.3.60 → 1.3.62
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/dist/apis/hcApi.js +85 -85
- package/dist/apis/hcApi.js.map +1 -1
- package/dist/clientToken.js.map +1 -1
- package/dist/components/HireControlMap.js +14 -4
- package/dist/components/HireControlMap.js.map +1 -1
- package/dist/components/containers/accordions/filter-container.js +10 -3
- package/dist/components/containers/accordions/filter-container.js.map +1 -1
- package/dist/components/containers/accordions/filter-item-container.js.map +1 -1
- package/dist/components/containers/accordions/map-accordion-item-container.js.map +1 -1
- package/dist/components/containers/filter/commute-container.js +1 -1
- package/dist/components/containers/filter/commute-container.js.map +1 -1
- package/dist/components/containers/filter/filter-container.js.map +1 -1
- package/dist/components/containers/filter/filter-item-container.js.map +1 -1
- package/dist/components/containers/filter/location-container.js.map +1 -1
- package/dist/components/containers/filter/points-of-interest-container.js.map +1 -1
- package/dist/components/containers/filter/points-of-interest-radio-item-container.js.map +1 -1
- package/dist/components/containers/filter/search-container.js.map +1 -1
- package/dist/components/containers/jobListing/listing-details-container.js.map +1 -1
- package/dist/components/containers/list/item-list-container.js +21 -21
- package/dist/components/containers/list/item-list-container.js.map +1 -1
- package/dist/components/containers/list/list-item/list-item-container.js.map +1 -1
- package/dist/components/containers/maps/info-window-content-container.js.map +1 -1
- package/dist/components/containers/maps/map-container.js +1 -1
- package/dist/components/containers/maps/map-container.js.map +1 -1
- package/dist/components/containers/maps/map-list-container.js.map +1 -1
- package/dist/components/containers/maps/map-marker-container.js +1 -1
- package/dist/components/containers/maps/map-marker-container.js.map +1 -1
- package/dist/components/modules/accordions/MapAccordionItem.js.map +1 -1
- package/dist/components/modules/accordions/default.js +2 -2
- package/dist/components/modules/accordions/default.js.map +1 -1
- package/dist/components/modules/accordions/filterItem.js.map +1 -1
- package/dist/components/modules/accordions/filters.js.map +1 -1
- package/dist/components/modules/buttons/button-group-apply.js +5 -8
- package/dist/components/modules/buttons/button-group-apply.js.map +1 -1
- package/dist/components/modules/buttons/commute-pill.js.map +1 -1
- package/dist/components/modules/buttons/default.js +2 -2
- package/dist/components/modules/buttons/default.js.map +1 -1
- package/dist/components/modules/buttons/items-pill.js +5 -8
- package/dist/components/modules/buttons/items-pill.js.map +1 -1
- package/dist/components/modules/buttons/pill-wrapper.js.map +1 -1
- package/dist/components/modules/buttons/show-all-button.js.map +1 -1
- package/dist/components/modules/cards/default.js +2 -2
- package/dist/components/modules/cards/default.js.map +1 -1
- package/dist/components/modules/cards/filter.js.map +1 -1
- package/dist/components/modules/dialogs/apply-dialog.js +1 -1
- package/dist/components/modules/dialogs/apply-dialog.js.map +1 -1
- package/dist/components/modules/filter/commute.js +2 -2
- package/dist/components/modules/filter/commute.js.map +1 -1
- package/dist/components/modules/filter/index.js +1 -1
- package/dist/components/modules/filter/index.js.map +1 -1
- package/dist/components/modules/filter/item.js.map +1 -1
- package/dist/components/modules/filter/location.js.map +1 -1
- package/dist/components/modules/filter/radio-item.js.map +1 -1
- package/dist/components/modules/filter/search.js.map +1 -1
- package/dist/components/modules/filter/sort.js +2 -2
- package/dist/components/modules/filter/sort.js.map +1 -1
- package/dist/components/modules/grid.js +1 -1
- package/dist/components/modules/grid.js.map +1 -1
- package/dist/components/modules/icon.js +1 -1
- package/dist/components/modules/icon.js.map +1 -1
- package/dist/components/modules/jobListing/listing-details.js.map +1 -1
- package/dist/components/modules/list/field-mapper.js.map +1 -1
- package/dist/components/modules/list/header-item.js.map +1 -1
- package/dist/components/modules/list/header.js +1 -1
- package/dist/components/modules/list/header.js.map +1 -1
- package/dist/components/modules/list/item-expand-card/index.js +1 -1
- package/dist/components/modules/list/item-expand-card/index.js.map +1 -1
- package/dist/components/modules/list/item-expand-card/recruiter-contact-nav.js +38 -38
- package/dist/components/modules/list/item-expand-card/recruiter-details.js +40 -40
- package/dist/components/modules/list/item-expand-card/recruiter-headshot.js +20 -20
- package/dist/components/modules/list/item-list.js +43 -43
- package/dist/components/modules/list/item-list.js.map +1 -1
- package/dist/components/modules/list/list-item/list-item.js.map +1 -1
- package/dist/components/modules/maps/info-window-card.js.map +1 -1
- package/dist/components/modules/maps/info-window-content.js.map +1 -1
- package/dist/components/modules/maps/map-list.js.map +1 -1
- package/dist/components/modules/maps/map-marker.js +1 -1
- package/dist/components/modules/maps/map-marker.js.map +1 -1
- package/dist/components/modules/maps/map.js +1 -1
- package/dist/components/modules/maps/map.js.map +1 -1
- package/dist/components/modules/maps/place-marker.js +1 -1
- package/dist/components/modules/maps/place-marker.js.map +1 -1
- package/dist/components/modules/maps/tabs.js +1 -1
- package/dist/components/modules/maps/tabs.js.map +1 -1
- package/dist/constants/eventTypes.js.map +1 -1
- package/dist/constants/placeTypes.js.map +1 -1
- package/dist/contexts/mapContext.js +83 -83
- package/dist/contexts/mapContext.js.map +1 -1
- package/dist/contexts/mapListContext.js +211 -192
- package/dist/contexts/mapListContext.js.map +1 -1
- package/dist/contexts/placesContext.js.map +1 -1
- package/dist/contexts/themeContext.js.map +1 -1
- package/dist/contexts/trackEventContext.js.map +1 -1
- package/dist/hooks/useList.js.map +1 -1
- package/dist/services/configService.js +9 -9
- package/dist/services/configService.js.map +1 -1
- package/dist/services/googlePlacesNearbyService.js +32 -32
- package/dist/services/googlePlacesNearbyService.js.map +1 -1
- package/dist/services/listingAggregatorService.js +34 -34
- package/dist/services/listingAggregatorService.js.map +1 -1
- package/dist/services/listingEntityService.js +9 -9
- package/dist/services/listingEntityService.js.map +1 -1
- package/dist/services/listingService.js +24 -24
- package/dist/services/listingService.js.map +1 -1
- package/dist/services/recruiterService.js +10 -10
- package/dist/services/recruiterService.js.map +1 -1
- package/dist/styles/index.css +1 -1
- package/dist/types/apis/hcApi.d.ts +5 -5
- package/dist/types/clientToken.d.ts +2 -2
- package/dist/types/components/containers/accordions/map-accordion-item-container.d.ts +12 -12
- package/dist/types/components/containers/jobListing/listing-details-container.d.ts +6 -6
- package/dist/types/components/containers/list/item-list-container.d.ts +9 -9
- package/dist/types/components/containers/list/list-item/list-item-container.d.ts +14 -14
- package/dist/types/components/modules/accordions/MapAccordionItem.d.ts +10 -10
- package/dist/types/components/modules/accordions/default.d.ts +19 -19
- package/dist/types/components/modules/buttons/button-group-apply.d.ts +24 -24
- package/dist/types/components/modules/buttons/commute-pill.d.ts +5 -5
- package/dist/types/components/modules/buttons/default.d.ts +48 -48
- package/dist/types/components/modules/buttons/pill-wrapper.d.ts +3 -3
- package/dist/types/components/modules/dialogs/apply-dialog.d.ts +8 -8
- package/dist/types/components/modules/filter/sort.d.ts +8 -8
- package/dist/types/components/modules/grid.d.ts +8 -8
- package/dist/types/components/modules/icon.d.ts +10 -10
- package/dist/types/components/modules/jobListing/listing-details.d.ts +20 -20
- package/dist/types/components/modules/list/field-mapper.d.ts +10 -10
- package/dist/types/components/modules/list/header-item.d.ts +11 -11
- package/dist/types/components/modules/list/header.d.ts +12 -12
- package/dist/types/components/modules/list/item-expand-card/index.d.ts +7 -7
- package/dist/types/components/modules/list/item-expand-card/recruiter-contact-nav.d.ts +17 -17
- package/dist/types/components/modules/list/item-expand-card/recruiter-details.d.ts +21 -21
- package/dist/types/components/modules/list/item-expand-card/recruiter-headshot.d.ts +8 -8
- package/dist/types/components/modules/list/item-list.d.ts +20 -20
- package/dist/types/components/modules/list/list-item/list-item.d.ts +3 -3
- package/dist/types/constants/eventTypes.d.ts +15 -15
- package/dist/types/contexts/mapContext.d.ts +29 -29
- package/dist/types/contexts/mapListContext.d.ts +69 -65
- package/dist/types/contexts/trackEventContext.d.ts +6 -6
- package/dist/types/enums/SectionType.d.ts +9 -9
- package/dist/types/hooks/useList.d.ts +13 -13
- package/dist/types/services/configService.d.ts +6 -6
- package/dist/types/services/googlePlacesNearbyService.d.ts +5 -5
- package/dist/types/services/listingAggregatorService.d.ts +12 -12
- package/dist/types/services/listingEntityService.d.ts +6 -6
- package/dist/types/services/listingService.d.ts +9 -9
- package/dist/types/services/recruiterService.d.ts +6 -6
- package/dist/types/types/Address.d.ts +7 -7
- package/dist/types/types/ContentSection.d.ts +8 -8
- package/dist/types/types/GetListingParams.d.ts +8 -8
- package/dist/types/types/LatLng.d.ts +4 -4
- package/dist/types/types/ListingEntity.d.ts +10 -10
- package/dist/types/types/ListingFields.d.ts +25 -25
- package/dist/types/types/Listings.d.ts +31 -31
- package/dist/types/types/Recruiter.d.ts +9 -9
- package/dist/types/types/SimilarListing.d.ts +24 -24
- package/dist/types/types/config/Colors.d.ts +8 -8
- package/dist/types/types/config/MapConfig.d.ts +30 -30
- package/dist/types/types/config/PointsOfInterestConfig.d.ts +13 -13
- package/dist/types/types/config/SearchConfig.d.ts +4 -4
- package/dist/types/util/filterUtil.d.ts +28 -28
- package/dist/types/util/loading.d.ts +3 -3
- package/dist/types/util/localStorageUtil.d.ts +3 -3
- package/dist/types/util/mapUtil.d.ts +16 -16
- package/dist/types/util/sortUtil.d.ts +1 -1
- package/dist/types/util/stringUtils.d.ts +1 -1
- package/dist/types/util/urlFilterUtil.d.ts +8 -8
- package/dist/util/filterUtil.js +1 -1
- package/dist/util/filterUtil.js.map +1 -1
- package/dist/util/loading.js.map +1 -1
- package/dist/util/localStorageUtil.js +37 -37
- package/dist/util/localStorageUtil.js.map +1 -1
- package/dist/util/mapIconUtil.js.map +1 -1
- package/dist/util/mapUtil.js.map +1 -1
- package/dist/util/sortUtil.js.map +1 -1
- package/dist/util/stringUtils.js.map +1 -1
- package/dist/util/urlFilterUtil.js.map +1 -1
- package/package.json +90 -90
- package/src/.editorconfig +12 -12
- package/src/apis/hcApi.ts +109 -109
- package/src/bundleIndex.js +14 -14
- package/src/clientToken.js +9 -9
- package/src/components/HireControlMap.js +153 -148
- package/src/components/containers/accordions/filter-container.js +52 -48
- package/src/components/containers/accordions/filter-item-container.js +83 -83
- package/src/components/containers/accordions/map-accordion-item-container.js +70 -70
- package/src/components/containers/filter/commute-container.js +89 -89
- package/src/components/containers/filter/filter-container.js +76 -76
- package/src/components/containers/filter/filter-item-container.js +117 -117
- package/src/components/containers/filter/location-container.js +45 -45
- package/src/components/containers/filter/points-of-interest-container.js +33 -33
- package/src/components/containers/filter/points-of-interest-radio-item-container.js +35 -35
- package/src/components/containers/filter/search-container.js +61 -61
- package/src/components/containers/jobListing/listing-details-container.js +42 -42
- package/src/components/containers/list/item-list-container.tsx +81 -81
- package/src/components/containers/list/list-item/list-item-container.js +43 -43
- package/src/components/containers/maps/info-window-content-container.js +53 -53
- package/src/components/containers/maps/map-container.js +249 -249
- package/src/components/containers/maps/map-list-container.js +50 -50
- package/src/components/containers/maps/map-marker-container.js +78 -78
- package/src/components/modules/accordions/MapAccordionItem.js +30 -30
- package/src/components/modules/accordions/default.js +171 -171
- package/src/components/modules/accordions/filterItem.js +27 -27
- package/src/components/modules/accordions/filters.js +32 -32
- package/src/components/modules/buttons/button-group-apply.js +115 -115
- package/src/components/modules/buttons/commute-pill.js +22 -22
- package/src/components/modules/buttons/default.js +194 -194
- package/src/components/modules/buttons/items-pill.js +31 -35
- package/src/components/modules/buttons/pill-wrapper.js +27 -27
- package/src/components/modules/buttons/show-all-button.js +19 -19
- package/src/components/modules/cards/default.js +167 -167
- package/src/components/modules/cards/filter.js +56 -56
- package/src/components/modules/dialogs/apply-dialog.js +48 -48
- package/src/components/modules/filter/commute.js +108 -108
- package/src/components/modules/filter/index.js +55 -55
- package/src/components/modules/filter/item.js +69 -69
- package/src/components/modules/filter/location.js +51 -51
- package/src/components/modules/filter/radio-item.js +42 -42
- package/src/components/modules/filter/search.js +79 -79
- package/src/components/modules/filter/sort.js +83 -83
- package/src/components/modules/grid.js +54 -54
- package/src/components/modules/icon.js +33 -33
- package/src/components/modules/jobListing/listing-details.js +110 -110
- package/src/components/modules/list/field-mapper.js +130 -130
- package/src/components/modules/list/header-item.js +92 -92
- package/src/components/modules/list/header.js +51 -51
- package/src/components/modules/list/item-expand-card/index.js +22 -22
- package/src/components/modules/list/item-expand-card/recruiter-contact-nav.js +50 -50
- package/src/components/modules/list/item-expand-card/recruiter-details.js +68 -68
- package/src/components/modules/list/item-expand-card/recruiter-headshot.js +22 -22
- package/src/components/modules/list/item-list.tsx +117 -117
- package/src/components/modules/list/list-item/list-item.js +130 -130
- package/src/components/modules/maps/info-window-card.js +17 -17
- package/src/components/modules/maps/info-window-content.js +64 -64
- package/src/components/modules/maps/map-list.js +38 -38
- package/src/components/modules/maps/map-marker.js +29 -29
- package/src/components/modules/maps/map.js +64 -64
- package/src/components/modules/maps/place-marker.js +41 -41
- package/src/components/modules/maps/tabs.js +81 -81
- package/src/constants/eventTypes.js +15 -15
- package/src/constants/placeTypes.js +8 -8
- package/src/contexts/mapContext.tsx +129 -129
- package/src/contexts/mapListContext.tsx +351 -326
- package/src/contexts/placesContext.js +102 -102
- package/src/contexts/themeContext.js +40 -40
- package/src/contexts/trackEventContext.js +14 -14
- package/src/enums/SectionType.ts +9 -9
- package/src/hooks/useList.js +89 -89
- package/src/index.js +3 -3
- package/src/services/configService.ts +16 -16
- package/src/services/googlePlacesNearbyService.ts +42 -42
- package/src/services/listingAggregatorService.ts +76 -76
- package/src/services/listingEntityService.ts +16 -16
- package/src/services/listingService.ts +40 -40
- package/src/services/recruiterService.ts +18 -18
- package/src/styles/bundle.css +268 -268
- package/src/styles/index.css +33 -33
- package/src/types/Address.ts +7 -7
- package/src/types/ContentSection.ts +9 -9
- package/src/types/GetListingParams.ts +8 -8
- package/src/types/LatLng.ts +4 -4
- package/src/types/ListingEntity.ts +11 -11
- package/src/types/ListingFields.ts +25 -25
- package/src/types/Listings.ts +32 -32
- package/src/types/Recruiter.ts +9 -9
- package/src/types/SimilarListing.ts +24 -24
- package/src/types/config/Colors.ts +8 -8
- package/src/types/config/MapConfig.ts +31 -31
- package/src/types/config/PointsOfInterestConfig.ts +13 -13
- package/src/types/config/SearchConfig.ts +4 -4
- package/src/util/arrayUtil.js +3 -3
- package/src/util/fieldMapper.js +22 -22
- package/src/util/filterUtil.js +311 -311
- package/src/util/loading.js +17 -17
- package/src/util/localStorageUtil.ts +34 -34
- package/src/util/mapIconUtil.js +180 -180
- package/src/util/mapUtil.js +92 -92
- package/src/util/sortUtil.js +32 -32
- package/src/util/stringUtils.js +6 -6
- package/src/util/urlFilterUtil.js +85 -85
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export namespace eventTypes {
|
|
2
|
-
const FILTER_APPLIED: string;
|
|
3
|
-
const MAP_MARKER_CLICKED: string;
|
|
4
|
-
const JOB_LISTING_SELECTED: string;
|
|
5
|
-
const APPLY_NOW_CLICKED: string;
|
|
6
|
-
const EASY_APPLY_CLICKED: string;
|
|
7
|
-
const VIEW_DETAILS_CLICKED: string;
|
|
8
|
-
const COMMUTE_ORIGIN_ADDED: string;
|
|
9
|
-
const POI_APPLIED: string;
|
|
10
|
-
const VIEW_JOBS_AT_Location: string;
|
|
11
|
-
const FAVORITE_SELECTED: string;
|
|
12
|
-
const LIST_SORTED: string;
|
|
13
|
-
const FILTERS_RESET: string;
|
|
14
|
-
const EXTERNAL_LINK_CLICKED: string;
|
|
15
|
-
}
|
|
1
|
+
export namespace eventTypes {
|
|
2
|
+
const FILTER_APPLIED: string;
|
|
3
|
+
const MAP_MARKER_CLICKED: string;
|
|
4
|
+
const JOB_LISTING_SELECTED: string;
|
|
5
|
+
const APPLY_NOW_CLICKED: string;
|
|
6
|
+
const EASY_APPLY_CLICKED: string;
|
|
7
|
+
const VIEW_DETAILS_CLICKED: string;
|
|
8
|
+
const COMMUTE_ORIGIN_ADDED: string;
|
|
9
|
+
const POI_APPLIED: string;
|
|
10
|
+
const VIEW_JOBS_AT_Location: string;
|
|
11
|
+
const FAVORITE_SELECTED: string;
|
|
12
|
+
const LIST_SORTED: string;
|
|
13
|
+
const FILTERS_RESET: string;
|
|
14
|
+
const EXTERNAL_LINK_CLICKED: string;
|
|
15
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { Listing } from '~/types/Listings';
|
|
3
|
-
import { LatLng } from '~/types/LatLng';
|
|
4
|
-
interface IMapContext {
|
|
5
|
-
selectedListItem: Listing | null;
|
|
6
|
-
setSelectedListItem: (item: Listing | null) => void;
|
|
7
|
-
location: any | null;
|
|
8
|
-
setLocation: (location: LatLng | null) => void;
|
|
9
|
-
center: LatLng;
|
|
10
|
-
setCenter: (center: LatLng) => void;
|
|
11
|
-
zoom: number;
|
|
12
|
-
setZoom: (zoom: number) => void;
|
|
13
|
-
selectedPlaces: string[];
|
|
14
|
-
setSelectedPlaces: (places: string[]) => void;
|
|
15
|
-
mapInteracted: boolean;
|
|
16
|
-
setMapInteracted: (interacted: boolean) => void;
|
|
17
|
-
userSetZoom: React.MutableRefObject<boolean>;
|
|
18
|
-
firstLoadListItem: any;
|
|
19
|
-
selectItem: (item: Listing, itemLocation: LatLng | null, zoom: number, center: LatLng) => void;
|
|
20
|
-
filterReset: () => void;
|
|
21
|
-
selectLocationEntity: (location: LatLng) => void;
|
|
22
|
-
}
|
|
23
|
-
export declare const useMap: () => IMapContext;
|
|
24
|
-
interface MapProviderProps {
|
|
25
|
-
children: ReactNode;
|
|
26
|
-
resetFilters: boolean;
|
|
27
|
-
}
|
|
28
|
-
export declare const MapProvider: React.FC<MapProviderProps>;
|
|
29
|
-
export {};
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { Listing } from '~/types/Listings';
|
|
3
|
+
import { LatLng } from '~/types/LatLng';
|
|
4
|
+
interface IMapContext {
|
|
5
|
+
selectedListItem: Listing | null;
|
|
6
|
+
setSelectedListItem: (item: Listing | null) => void;
|
|
7
|
+
location: any | null;
|
|
8
|
+
setLocation: (location: LatLng | null) => void;
|
|
9
|
+
center: LatLng;
|
|
10
|
+
setCenter: (center: LatLng) => void;
|
|
11
|
+
zoom: number;
|
|
12
|
+
setZoom: (zoom: number) => void;
|
|
13
|
+
selectedPlaces: string[];
|
|
14
|
+
setSelectedPlaces: (places: string[]) => void;
|
|
15
|
+
mapInteracted: boolean;
|
|
16
|
+
setMapInteracted: (interacted: boolean) => void;
|
|
17
|
+
userSetZoom: React.MutableRefObject<boolean>;
|
|
18
|
+
firstLoadListItem: any;
|
|
19
|
+
selectItem: (item: Listing, itemLocation: LatLng | null, zoom: number, center: LatLng) => void;
|
|
20
|
+
filterReset: () => void;
|
|
21
|
+
selectLocationEntity: (location: LatLng) => void;
|
|
22
|
+
}
|
|
23
|
+
export declare const useMap: () => IMapContext;
|
|
24
|
+
interface MapProviderProps {
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
resetFilters: boolean;
|
|
27
|
+
}
|
|
28
|
+
export declare const MapProvider: React.FC<MapProviderProps>;
|
|
29
|
+
export {};
|
|
@@ -1,65 +1,69 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { Listing } from '~/types/Listings';
|
|
3
|
-
import { ListingEntity } from '~/types/ListingEntity';
|
|
4
|
-
import { Recruiter } from '~/types/Recruiter';
|
|
5
|
-
import { MapConfig, MapConfig as SiteConfig } from '~/types/config/MapConfig';
|
|
6
|
-
interface MapListContextProps {
|
|
7
|
-
loading: boolean;
|
|
8
|
-
allListings: Listing[];
|
|
9
|
-
filteredListings: Listing[];
|
|
10
|
-
mapItems: any;
|
|
11
|
-
query: string | null;
|
|
12
|
-
setNewFilteredListings: (filteredListings: Listing[]) => void;
|
|
13
|
-
setQuery: (query: string | null) => void;
|
|
14
|
-
listingEntities: Record<number, ListingEntity> | null;
|
|
15
|
-
selectedFilters: Record<string, any>;
|
|
16
|
-
setSelectedFilters: (filters: Record<string, any>) => void;
|
|
17
|
-
filterOptions: any;
|
|
18
|
-
recruiters: Record<number, Recruiter>;
|
|
19
|
-
handleFilterListingsByLocation: (selectedLocation: any) => void;
|
|
20
|
-
filterDialogIsOpen: boolean;
|
|
21
|
-
setFilterDialogIsOpen: (isOpen: boolean) => void;
|
|
22
|
-
setMobileTab: (tab: string) => void;
|
|
23
|
-
mobileTab: string;
|
|
24
|
-
siteConfig: SiteConfig;
|
|
25
|
-
favorites: number[];
|
|
26
|
-
resetEntityFilter: () => void;
|
|
27
|
-
handleSettingFavorites: (favorites: number[] | null) => void;
|
|
28
|
-
setFilterByFavorites: (filter: boolean) => void;
|
|
29
|
-
filterByFavorites: boolean;
|
|
30
|
-
commuteLocation: any | null;
|
|
31
|
-
setCommuteLocation: (location: any | null) => void;
|
|
32
|
-
navigateToDetails: (id: number) => void;
|
|
33
|
-
navigateToEasyApply: (id: number) => void;
|
|
34
|
-
Link: React.ComponentType<any>;
|
|
35
|
-
linkFormat: string;
|
|
36
|
-
easyApplyUrl: string;
|
|
37
|
-
easyApplyText: string;
|
|
38
|
-
sortSetting: {
|
|
39
|
-
field: string;
|
|
40
|
-
type: string;
|
|
41
|
-
};
|
|
42
|
-
setSortSetting: (setting: {
|
|
43
|
-
field: string;
|
|
44
|
-
type: string;
|
|
45
|
-
}) => void;
|
|
46
|
-
trackEvent: (event: string) => void;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { Listing } from '~/types/Listings';
|
|
3
|
+
import { ListingEntity } from '~/types/ListingEntity';
|
|
4
|
+
import { Recruiter } from '~/types/Recruiter';
|
|
5
|
+
import { MapConfig, MapConfig as SiteConfig } from '~/types/config/MapConfig';
|
|
6
|
+
interface MapListContextProps {
|
|
7
|
+
loading: boolean;
|
|
8
|
+
allListings: Listing[];
|
|
9
|
+
filteredListings: Listing[];
|
|
10
|
+
mapItems: any;
|
|
11
|
+
query: string | null;
|
|
12
|
+
setNewFilteredListings: (filteredListings: Listing[]) => void;
|
|
13
|
+
setQuery: (query: string | null) => void;
|
|
14
|
+
listingEntities: Record<number, ListingEntity> | null;
|
|
15
|
+
selectedFilters: Record<string, any>;
|
|
16
|
+
setSelectedFilters: (filters: Record<string, any>) => void;
|
|
17
|
+
filterOptions: any;
|
|
18
|
+
recruiters: Record<number, Recruiter>;
|
|
19
|
+
handleFilterListingsByLocation: (selectedLocation: any) => void;
|
|
20
|
+
filterDialogIsOpen: boolean;
|
|
21
|
+
setFilterDialogIsOpen: (isOpen: boolean) => void;
|
|
22
|
+
setMobileTab: (tab: string) => void;
|
|
23
|
+
mobileTab: string;
|
|
24
|
+
siteConfig: SiteConfig;
|
|
25
|
+
favorites: number[];
|
|
26
|
+
resetEntityFilter: () => void;
|
|
27
|
+
handleSettingFavorites: (favorites: number[] | null) => void;
|
|
28
|
+
setFilterByFavorites: (filter: boolean) => void;
|
|
29
|
+
filterByFavorites: boolean;
|
|
30
|
+
commuteLocation: any | null;
|
|
31
|
+
setCommuteLocation: (location: any | null) => void;
|
|
32
|
+
navigateToDetails: (id: number) => void;
|
|
33
|
+
navigateToEasyApply: (id: number) => void;
|
|
34
|
+
Link: React.ComponentType<any>;
|
|
35
|
+
linkFormat: string;
|
|
36
|
+
easyApplyUrl: string;
|
|
37
|
+
easyApplyText: string;
|
|
38
|
+
sortSetting: {
|
|
39
|
+
field: string;
|
|
40
|
+
type: string;
|
|
41
|
+
};
|
|
42
|
+
setSortSetting: (setting: {
|
|
43
|
+
field: string;
|
|
44
|
+
type: string;
|
|
45
|
+
}) => void;
|
|
46
|
+
trackEvent: (event: string) => void;
|
|
47
|
+
defaultFilters?: Record<string, any>;
|
|
48
|
+
hiddenFilters?: string[];
|
|
49
|
+
}
|
|
50
|
+
export declare const useMapList: () => MapListContextProps;
|
|
51
|
+
interface MapListProviderProps {
|
|
52
|
+
children: ReactNode;
|
|
53
|
+
siteConfig: MapConfig;
|
|
54
|
+
resetFilters: boolean;
|
|
55
|
+
navigateToDetails: (id: number) => void;
|
|
56
|
+
navigateToEasyApply: (id: number) => void;
|
|
57
|
+
Link: React.ComponentType<any>;
|
|
58
|
+
linkFormat: string;
|
|
59
|
+
easyApplyUrl: string;
|
|
60
|
+
easyApplyText: string;
|
|
61
|
+
trackEvent: (event: string) => void;
|
|
62
|
+
listings?: Listing[];
|
|
63
|
+
setFiltersUrl?: boolean;
|
|
64
|
+
hiddenFilters?: string[];
|
|
65
|
+
handleUrlUpdate: (searchParams: string) => void;
|
|
66
|
+
defaultFilters?: Record<string, any>;
|
|
67
|
+
}
|
|
68
|
+
export declare const MapListProvider: React.FC<MapListProviderProps>;
|
|
69
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export function useTrackEvent(): any;
|
|
2
|
-
export function TrackEventProvider({ children, trackEvent }: {
|
|
3
|
-
children: any;
|
|
4
|
-
trackEvent: any;
|
|
5
|
-
}): React.JSX.Element;
|
|
6
|
-
import React from "react";
|
|
1
|
+
export function useTrackEvent(): any;
|
|
2
|
+
export function TrackEventProvider({ children, trackEvent }: {
|
|
3
|
+
children: any;
|
|
4
|
+
trackEvent: any;
|
|
5
|
+
}): React.JSX.Element;
|
|
6
|
+
import React from "react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare enum SectionType {
|
|
2
|
-
Default = -1,
|
|
3
|
-
Company = 1,
|
|
4
|
-
Category = 2,
|
|
5
|
-
CategoryClass = 3,
|
|
6
|
-
Entity = 4,
|
|
7
|
-
CustomVar = 5,
|
|
8
|
-
REGION = 7
|
|
9
|
-
}
|
|
1
|
+
export declare enum SectionType {
|
|
2
|
+
Default = -1,
|
|
3
|
+
Company = 1,
|
|
4
|
+
Category = 2,
|
|
5
|
+
CategoryClass = 3,
|
|
6
|
+
Entity = 4,
|
|
7
|
+
CustomVar = 5,
|
|
8
|
+
REGION = 7
|
|
9
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export default useListLogic;
|
|
2
|
-
declare function useListLogic(filteredListings: any): {
|
|
3
|
-
itemLimit: number;
|
|
4
|
-
expandedId: any;
|
|
5
|
-
sortSetting: null;
|
|
6
|
-
scrollPosition: number | null;
|
|
7
|
-
loader: import("react").MutableRefObject<null>;
|
|
8
|
-
scrollContainerRef: import("react").MutableRefObject<null>;
|
|
9
|
-
itemRefs: import("react").MutableRefObject<{}>;
|
|
10
|
-
setSortSetting: import("react").Dispatch<import("react").SetStateAction<null>>;
|
|
11
|
-
setScrollPosition: import("react").Dispatch<import("react").SetStateAction<number | null>>;
|
|
12
|
-
filteredListings: any;
|
|
13
|
-
};
|
|
1
|
+
export default useListLogic;
|
|
2
|
+
declare function useListLogic(filteredListings: any): {
|
|
3
|
+
itemLimit: number;
|
|
4
|
+
expandedId: any;
|
|
5
|
+
sortSetting: null;
|
|
6
|
+
scrollPosition: number | null;
|
|
7
|
+
loader: import("react").MutableRefObject<null>;
|
|
8
|
+
scrollContainerRef: import("react").MutableRefObject<null>;
|
|
9
|
+
itemRefs: import("react").MutableRefObject<{}>;
|
|
10
|
+
setSortSetting: import("react").Dispatch<import("react").SetStateAction<null>>;
|
|
11
|
+
setScrollPosition: import("react").Dispatch<import("react").SetStateAction<number | null>>;
|
|
12
|
+
filteredListings: any;
|
|
13
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MapConfig } from '~/types/config/MapConfig';
|
|
2
|
-
export declare const getMapConfig: () => Promise<MapConfig>;
|
|
3
|
-
declare const _default: {
|
|
4
|
-
getMapConfig: () => Promise<MapConfig>;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
1
|
+
import { MapConfig } from '~/types/config/MapConfig';
|
|
2
|
+
export declare const getMapConfig: () => Promise<MapConfig>;
|
|
3
|
+
declare const _default: {
|
|
4
|
+
getMapConfig: () => Promise<MapConfig>;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface Location {
|
|
2
|
-
latitude: number;
|
|
3
|
-
longitude: number;
|
|
4
|
-
}
|
|
5
|
-
export declare const searchNearbyPlaces: (typesArray: string[], location: Location, radius: number) => Promise<any>;
|
|
1
|
+
export interface Location {
|
|
2
|
+
latitude: number;
|
|
3
|
+
longitude: number;
|
|
4
|
+
}
|
|
5
|
+
export declare const searchNearbyPlaces: (typesArray: string[], location: Location, radius: number) => Promise<any>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Listing } from '~/types/Listings';
|
|
2
|
-
import { Recruiter } from '~/types/Recruiter';
|
|
3
|
-
import { ListingEntity } from '~/types/ListingEntity';
|
|
4
|
-
import { MapConfig } from '~/types/config/MapConfig';
|
|
5
|
-
interface FetchListingsResult {
|
|
6
|
-
listingsResult: Listing[];
|
|
7
|
-
fetchedRecruiters: Recruiter[];
|
|
8
|
-
fetchedEntities: Record<number, ListingEntity>;
|
|
9
|
-
distinctItems: any;
|
|
10
|
-
}
|
|
11
|
-
declare const fetchListings: (query: string, siteConfig: MapConfig, commuteLocation?: any | null) => Promise<FetchListingsResult>;
|
|
12
|
-
export default fetchListings;
|
|
1
|
+
import { Listing } from '~/types/Listings';
|
|
2
|
+
import { Recruiter } from '~/types/Recruiter';
|
|
3
|
+
import { ListingEntity } from '~/types/ListingEntity';
|
|
4
|
+
import { MapConfig } from '~/types/config/MapConfig';
|
|
5
|
+
interface FetchListingsResult {
|
|
6
|
+
listingsResult: Listing[];
|
|
7
|
+
fetchedRecruiters: Recruiter[];
|
|
8
|
+
fetchedEntities: Record<number, ListingEntity>;
|
|
9
|
+
distinctItems: any;
|
|
10
|
+
}
|
|
11
|
+
declare const fetchListings: (query: string, siteConfig: MapConfig, commuteLocation?: any | null) => Promise<FetchListingsResult>;
|
|
12
|
+
export default fetchListings;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ListingEntity } from '~/types/ListingEntity';
|
|
2
|
-
export declare const getListingEntities: (entityIds: number[], origin?: string) => Promise<ListingEntity[]>;
|
|
3
|
-
declare const _default: {
|
|
4
|
-
getListingEntities: (entityIds: number[], origin?: string) => Promise<ListingEntity[]>;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
1
|
+
import { ListingEntity } from '~/types/ListingEntity';
|
|
2
|
+
export declare const getListingEntities: (entityIds: number[], origin?: string) => Promise<ListingEntity[]>;
|
|
3
|
+
declare const _default: {
|
|
4
|
+
getListingEntities: (entityIds: number[], origin?: string) => Promise<ListingEntity[]>;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { GetListingsParams } from '~/types/GetListingParams';
|
|
2
|
-
import { Listing } from '../types/Listings';
|
|
3
|
-
export declare const getListings: (params?: GetListingsParams) => Promise<Listing[]>;
|
|
4
|
-
export declare const getListingDetails: (listingId: string) => Promise<unknown>;
|
|
5
|
-
declare const _default: {
|
|
6
|
-
getListings: (params?: GetListingsParams | undefined) => Promise<Listing[]>;
|
|
7
|
-
getListingDetails: (listingId: string) => Promise<unknown>;
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
1
|
+
import { GetListingsParams } from '~/types/GetListingParams';
|
|
2
|
+
import { Listing } from '../types/Listings';
|
|
3
|
+
export declare const getListings: (params?: GetListingsParams) => Promise<Listing[]>;
|
|
4
|
+
export declare const getListingDetails: (listingId: string) => Promise<unknown>;
|
|
5
|
+
declare const _default: {
|
|
6
|
+
getListings: (params?: GetListingsParams | undefined) => Promise<Listing[]>;
|
|
7
|
+
getListingDetails: (listingId: string) => Promise<unknown>;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Recruiter } from '~/types/Recruiter';
|
|
2
|
-
export declare const getRecruiters: (recruiterIds: number[]) => Promise<Recruiter[]>;
|
|
3
|
-
declare const _default: {
|
|
4
|
-
getRecruiters: (recruiterIds: number[]) => Promise<Recruiter[]>;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
1
|
+
import { Recruiter } from '~/types/Recruiter';
|
|
2
|
+
export declare const getRecruiters: (recruiterIds: number[]) => Promise<Recruiter[]>;
|
|
3
|
+
declare const _default: {
|
|
4
|
+
getRecruiters: (recruiterIds: number[]) => Promise<Recruiter[]>;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type Address = {
|
|
2
|
-
location?: string;
|
|
3
|
-
street?: string;
|
|
4
|
-
city?: string;
|
|
5
|
-
state?: string;
|
|
6
|
-
zip?: string;
|
|
7
|
-
};
|
|
1
|
+
export type Address = {
|
|
2
|
+
location?: string;
|
|
3
|
+
street?: string;
|
|
4
|
+
city?: string;
|
|
5
|
+
state?: string;
|
|
6
|
+
zip?: string;
|
|
7
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SectionType } from '../enums/SectionType';
|
|
2
|
-
export type ContentSection = {
|
|
3
|
-
title?: string;
|
|
4
|
-
contentFormatted?: string;
|
|
5
|
-
contentRaw?: string;
|
|
6
|
-
sectionType: SectionType;
|
|
7
|
-
sortIndex: number;
|
|
8
|
-
};
|
|
1
|
+
import { SectionType } from '../enums/SectionType';
|
|
2
|
+
export type ContentSection = {
|
|
3
|
+
title?: string;
|
|
4
|
+
contentFormatted?: string;
|
|
5
|
+
contentRaw?: string;
|
|
6
|
+
sectionType: SectionType;
|
|
7
|
+
sortIndex: number;
|
|
8
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export type GetListingsParams = {
|
|
2
|
-
location?: string[];
|
|
3
|
-
category?: string[];
|
|
4
|
-
categoryClass?: string[];
|
|
5
|
-
education?: string[];
|
|
6
|
-
city?: string[];
|
|
7
|
-
state?: string[];
|
|
8
|
-
};
|
|
1
|
+
export type GetListingsParams = {
|
|
2
|
+
location?: string[];
|
|
3
|
+
category?: string[];
|
|
4
|
+
categoryClass?: string[];
|
|
5
|
+
education?: string[];
|
|
6
|
+
city?: string[];
|
|
7
|
+
state?: string[];
|
|
8
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type LatLng = {
|
|
2
|
-
lat: number;
|
|
3
|
-
lng: number;
|
|
4
|
-
};
|
|
1
|
+
export type LatLng = {
|
|
2
|
+
lat: number;
|
|
3
|
+
lng: number;
|
|
4
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Address } from './Address';
|
|
2
|
-
export type ListingEntity = {
|
|
3
|
-
id: number;
|
|
4
|
-
listingId: number;
|
|
5
|
-
latitude: number;
|
|
6
|
-
longitude: number;
|
|
7
|
-
entityDisplayName?: string;
|
|
8
|
-
address?: Address;
|
|
9
|
-
travelTime?: string;
|
|
10
|
-
};
|
|
1
|
+
import { Address } from './Address';
|
|
2
|
+
export type ListingEntity = {
|
|
3
|
+
id: number;
|
|
4
|
+
listingId: number;
|
|
5
|
+
latitude: number;
|
|
6
|
+
longitude: number;
|
|
7
|
+
entityDisplayName?: string;
|
|
8
|
+
address?: Address;
|
|
9
|
+
travelTime?: string;
|
|
10
|
+
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export type ListingFields = {
|
|
2
|
-
posted?: string;
|
|
3
|
-
subTitle?: string;
|
|
4
|
-
education?: string;
|
|
5
|
-
position?: string;
|
|
6
|
-
category?: string;
|
|
7
|
-
categoryClass?: string;
|
|
8
|
-
shift?: string;
|
|
9
|
-
custom1?: string;
|
|
10
|
-
custom2?: string;
|
|
11
|
-
custom3?: string;
|
|
12
|
-
custom4?: string;
|
|
13
|
-
custom5?: string;
|
|
14
|
-
cityState?: string;
|
|
15
|
-
city?: string;
|
|
16
|
-
state?: string;
|
|
17
|
-
schedule?: string;
|
|
18
|
-
customFlag1?: number;
|
|
19
|
-
bonus?: number;
|
|
20
|
-
remote?: number;
|
|
21
|
-
useClientJobUrl?: boolean;
|
|
22
|
-
dateCreated: Date;
|
|
23
|
-
dateLastEdited?: Date;
|
|
24
|
-
travelTime?: string;
|
|
25
|
-
};
|
|
1
|
+
export type ListingFields = {
|
|
2
|
+
posted?: string;
|
|
3
|
+
subTitle?: string;
|
|
4
|
+
education?: string;
|
|
5
|
+
position?: string;
|
|
6
|
+
category?: string;
|
|
7
|
+
categoryClass?: string;
|
|
8
|
+
shift?: string;
|
|
9
|
+
custom1?: string;
|
|
10
|
+
custom2?: string;
|
|
11
|
+
custom3?: string;
|
|
12
|
+
custom4?: string;
|
|
13
|
+
custom5?: string;
|
|
14
|
+
cityState?: string;
|
|
15
|
+
city?: string;
|
|
16
|
+
state?: string;
|
|
17
|
+
schedule?: string;
|
|
18
|
+
customFlag1?: number;
|
|
19
|
+
bonus?: number;
|
|
20
|
+
remote?: number;
|
|
21
|
+
useClientJobUrl?: boolean;
|
|
22
|
+
dateCreated: Date;
|
|
23
|
+
dateLastEdited?: Date;
|
|
24
|
+
travelTime?: string;
|
|
25
|
+
};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { ListingFields } from './ListingFields';
|
|
2
|
-
import { Recruiter } from './Recruiter';
|
|
3
|
-
import { ListingEntity } from './ListingEntity';
|
|
4
|
-
import { ContentSection } from './ContentSection';
|
|
5
|
-
import { SimilarListing } from './SimilarListing';
|
|
6
|
-
export type Listing = {
|
|
7
|
-
id: number;
|
|
8
|
-
fields?: ListingFields;
|
|
9
|
-
entityId?: number;
|
|
10
|
-
applyUrl?: string;
|
|
11
|
-
applyOnline?: number;
|
|
12
|
-
detailsUrl?: string;
|
|
13
|
-
displayOnSite: number;
|
|
14
|
-
displayRecruiter: number;
|
|
15
|
-
recruiterId?: number;
|
|
16
|
-
description1?: string;
|
|
17
|
-
description2?: string;
|
|
18
|
-
description3?: string;
|
|
19
|
-
description4?: string;
|
|
20
|
-
custom1: string;
|
|
21
|
-
custom2: string;
|
|
22
|
-
custom3: string;
|
|
23
|
-
custom4: string;
|
|
24
|
-
custom5: string;
|
|
25
|
-
customFlag1: number;
|
|
26
|
-
slug?: string;
|
|
27
|
-
recruiter?: Recruiter;
|
|
28
|
-
entity?: ListingEntity;
|
|
29
|
-
contentSections?: ContentSection[];
|
|
30
|
-
similarListings?: SimilarListing[];
|
|
31
|
-
};
|
|
1
|
+
import { ListingFields } from './ListingFields';
|
|
2
|
+
import { Recruiter } from './Recruiter';
|
|
3
|
+
import { ListingEntity } from './ListingEntity';
|
|
4
|
+
import { ContentSection } from './ContentSection';
|
|
5
|
+
import { SimilarListing } from './SimilarListing';
|
|
6
|
+
export type Listing = {
|
|
7
|
+
id: number;
|
|
8
|
+
fields?: ListingFields;
|
|
9
|
+
entityId?: number;
|
|
10
|
+
applyUrl?: string;
|
|
11
|
+
applyOnline?: number;
|
|
12
|
+
detailsUrl?: string;
|
|
13
|
+
displayOnSite: number;
|
|
14
|
+
displayRecruiter: number;
|
|
15
|
+
recruiterId?: number;
|
|
16
|
+
description1?: string;
|
|
17
|
+
description2?: string;
|
|
18
|
+
description3?: string;
|
|
19
|
+
description4?: string;
|
|
20
|
+
custom1: string;
|
|
21
|
+
custom2: string;
|
|
22
|
+
custom3: string;
|
|
23
|
+
custom4: string;
|
|
24
|
+
custom5: string;
|
|
25
|
+
customFlag1: number;
|
|
26
|
+
slug?: string;
|
|
27
|
+
recruiter?: Recruiter;
|
|
28
|
+
entity?: ListingEntity;
|
|
29
|
+
contentSections?: ContentSection[];
|
|
30
|
+
similarListings?: SimilarListing[];
|
|
31
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export type Recruiter = {
|
|
2
|
-
id?: number;
|
|
3
|
-
email?: string;
|
|
4
|
-
firstName?: string;
|
|
5
|
-
lastName?: string;
|
|
6
|
-
linkedInUrl?: string;
|
|
7
|
-
mobilePhone?: string;
|
|
8
|
-
headshot?: string;
|
|
9
|
-
};
|
|
1
|
+
export type Recruiter = {
|
|
2
|
+
id?: number;
|
|
3
|
+
email?: string;
|
|
4
|
+
firstName?: string;
|
|
5
|
+
lastName?: string;
|
|
6
|
+
linkedInUrl?: string;
|
|
7
|
+
mobilePhone?: string;
|
|
8
|
+
headshot?: string;
|
|
9
|
+
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export type SimilarListing = {
|
|
2
|
-
id: number;
|
|
3
|
-
city: string;
|
|
4
|
-
companyName: string;
|
|
5
|
-
companyId: number;
|
|
6
|
-
domain: string;
|
|
7
|
-
refreshedPubDate?: Date;
|
|
8
|
-
clientJobUrl: string;
|
|
9
|
-
refreshNum: number;
|
|
10
|
-
requestURI: string;
|
|
11
|
-
schedule: string;
|
|
12
|
-
scheduleId?: number;
|
|
13
|
-
shift: string;
|
|
14
|
-
sponsored: boolean;
|
|
15
|
-
stateAbbrev: string;
|
|
16
|
-
subTitle: string;
|
|
17
|
-
title: string;
|
|
18
|
-
uniqueId: string;
|
|
19
|
-
zip: string;
|
|
20
|
-
slug?: string;
|
|
21
|
-
dateCreated: Date;
|
|
22
|
-
categoryId: number;
|
|
23
|
-
categoryClassId: number;
|
|
24
|
-
};
|
|
1
|
+
export type SimilarListing = {
|
|
2
|
+
id: number;
|
|
3
|
+
city: string;
|
|
4
|
+
companyName: string;
|
|
5
|
+
companyId: number;
|
|
6
|
+
domain: string;
|
|
7
|
+
refreshedPubDate?: Date;
|
|
8
|
+
clientJobUrl: string;
|
|
9
|
+
refreshNum: number;
|
|
10
|
+
requestURI: string;
|
|
11
|
+
schedule: string;
|
|
12
|
+
scheduleId?: number;
|
|
13
|
+
shift: string;
|
|
14
|
+
sponsored: boolean;
|
|
15
|
+
stateAbbrev: string;
|
|
16
|
+
subTitle: string;
|
|
17
|
+
title: string;
|
|
18
|
+
uniqueId: string;
|
|
19
|
+
zip: string;
|
|
20
|
+
slug?: string;
|
|
21
|
+
dateCreated: Date;
|
|
22
|
+
categoryId: number;
|
|
23
|
+
categoryClassId: number;
|
|
24
|
+
};
|