@next-degree/pickle-shared-js 0.6.47 → 0.6.48
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/{company_service_latest-uu3w8AR6.d.cts → company_service_latest-DelYl1hO.d.cts} +1994 -266
- package/dist/{company_service_latest-uu3w8AR6.d.ts → company_service_latest-DelYl1hO.d.ts} +1994 -266
- package/dist/components/jobPost/JobPost.cjs +34 -10
- package/dist/components/jobPost/JobPost.cjs.map +1 -1
- package/dist/components/jobPost/JobPost.d.cts +1 -1
- package/dist/components/jobPost/JobPost.d.ts +1 -1
- package/dist/components/jobPost/JobPost.js +34 -10
- package/dist/components/jobPost/JobPost.js.map +1 -1
- package/dist/components/ui/MapComponent.cjs +9 -2
- package/dist/components/ui/MapComponent.cjs.map +1 -1
- package/dist/components/ui/MapComponent.d.cts +1 -1
- package/dist/components/ui/MapComponent.d.ts +1 -1
- package/dist/components/ui/MapComponent.js +9 -2
- package/dist/components/ui/MapComponent.js.map +1 -1
- package/dist/{displayText-CcePAspL.d.ts → displayText-DDf9iWyg.d.ts} +2 -2
- package/dist/{displayText-D3BX6YTj.d.cts → displayText-mYUVo6Ek.d.cts} +2 -2
- package/dist/hooks/useDisplayText.d.cts +3 -3
- package/dist/hooks/useDisplayText.d.ts +3 -3
- package/dist/index.cjs +74 -40
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +74 -40
- package/dist/index.js.map +1 -1
- package/dist/{job_posting_service_latest-CWuc_SuJ.d.cts → job_posting_service_latest-Dn5s8beY.d.cts} +1708 -250
- package/dist/{job_posting_service_latest-CWuc_SuJ.d.ts → job_posting_service_latest-Dn5s8beY.d.ts} +1708 -250
- package/dist/lib/locations.d.cts +2 -2
- package/dist/lib/locations.d.ts +2 -2
- package/dist/lib/mappings.d.cts +3 -3
- package/dist/lib/mappings.d.ts +3 -3
- package/dist/lib/salaryRange.cjs +29 -6
- package/dist/lib/salaryRange.cjs.map +1 -1
- package/dist/lib/salaryRange.d.cts +1 -1
- package/dist/lib/salaryRange.d.ts +1 -1
- package/dist/lib/salaryRange.js +29 -6
- package/dist/lib/salaryRange.js.map +1 -1
- package/dist/services/displayText.d.cts +3 -3
- package/dist/services/displayText.d.ts +3 -3
- package/dist/{shared_pickle_output_latest-CxZJXPOS.d.cts → shared_pickle_output_latest-DbAgINuf.d.cts} +159 -3
- package/dist/{shared_pickle_output_latest-CxZJXPOS.d.ts → shared_pickle_output_latest-DbAgINuf.d.ts} +159 -3
- package/dist/types/data/company_service_latest.cjs +58 -35
- package/dist/types/data/company_service_latest.cjs.map +1 -1
- package/dist/types/data/company_service_latest.d.cts +1 -1
- package/dist/types/data/company_service_latest.d.ts +1 -1
- package/dist/types/data/company_service_latest.js +57 -33
- package/dist/types/data/company_service_latest.js.map +1 -1
- package/dist/types/data/job_posting_service_latest.cjs +57 -32
- package/dist/types/data/job_posting_service_latest.cjs.map +1 -1
- package/dist/types/data/job_posting_service_latest.d.cts +1 -1
- package/dist/types/data/job_posting_service_latest.d.ts +1 -1
- package/dist/types/data/job_posting_service_latest.js +57 -32
- package/dist/types/data/job_posting_service_latest.js.map +1 -1
- package/dist/types/data/shared_pickle_output_latest.cjs +33 -6
- package/dist/types/data/shared_pickle_output_latest.cjs.map +1 -1
- package/dist/types/data/shared_pickle_output_latest.d.cts +1 -1
- package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
- package/dist/types/data/shared_pickle_output_latest.js +31 -6
- package/dist/types/data/shared_pickle_output_latest.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -27,9 +27,9 @@ export { BackButton } from './components/buttons/BackButton.cjs';
|
|
|
27
27
|
export { WindowHistoryProvider } from './contexts/WindowHistoryProvider.cjs';
|
|
28
28
|
export { useDisplayText } from './hooks/useDisplayText.cjs';
|
|
29
29
|
export { useWindowHistory } from './hooks/useWindowHistory.cjs';
|
|
30
|
-
export { j as JobPostService } from './job_posting_service_latest-
|
|
31
|
-
export { c as CompanyService } from './company_service_latest-
|
|
32
|
-
export { s as SharedService } from './shared_pickle_output_latest-
|
|
30
|
+
export { j as JobPostService } from './job_posting_service_latest-Dn5s8beY.cjs';
|
|
31
|
+
export { c as CompanyService } from './company_service_latest-DelYl1hO.cjs';
|
|
32
|
+
export { s as SharedService } from './shared_pickle_output_latest-DbAgINuf.cjs';
|
|
33
33
|
import 'react';
|
|
34
34
|
import 'cva/types';
|
|
35
35
|
import 'react/jsx-runtime';
|
|
@@ -40,5 +40,5 @@ import '@googlemaps/google-maps-services-js';
|
|
|
40
40
|
import 'next/link';
|
|
41
41
|
import 'clsx';
|
|
42
42
|
import './lib/icons.cjs';
|
|
43
|
-
import './displayText-
|
|
43
|
+
import './displayText-mYUVo6Ek.cjs';
|
|
44
44
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -27,9 +27,9 @@ export { BackButton } from './components/buttons/BackButton.js';
|
|
|
27
27
|
export { WindowHistoryProvider } from './contexts/WindowHistoryProvider.js';
|
|
28
28
|
export { useDisplayText } from './hooks/useDisplayText.js';
|
|
29
29
|
export { useWindowHistory } from './hooks/useWindowHistory.js';
|
|
30
|
-
export { j as JobPostService } from './job_posting_service_latest-
|
|
31
|
-
export { c as CompanyService } from './company_service_latest-
|
|
32
|
-
export { s as SharedService } from './shared_pickle_output_latest-
|
|
30
|
+
export { j as JobPostService } from './job_posting_service_latest-Dn5s8beY.js';
|
|
31
|
+
export { c as CompanyService } from './company_service_latest-DelYl1hO.js';
|
|
32
|
+
export { s as SharedService } from './shared_pickle_output_latest-DbAgINuf.js';
|
|
33
33
|
import 'react';
|
|
34
34
|
import 'cva/types';
|
|
35
35
|
import 'react/jsx-runtime';
|
|
@@ -40,5 +40,5 @@ import '@googlemaps/google-maps-services-js';
|
|
|
40
40
|
import 'next/link';
|
|
41
41
|
import 'clsx';
|
|
42
42
|
import './lib/icons.js';
|
|
43
|
-
import './displayText-
|
|
43
|
+
import './displayText-DDf9iWyg.js';
|
|
44
44
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -501,17 +501,24 @@ var Input_default = Input;
|
|
|
501
501
|
// src/components/ui/MapComponent.tsx
|
|
502
502
|
import { APIProvider, Map, AdvancedMarker, Pin } from "@vis.gl/react-google-maps";
|
|
503
503
|
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
504
|
-
function MapComponent({
|
|
504
|
+
function MapComponent({
|
|
505
|
+
apiKey,
|
|
506
|
+
mapId,
|
|
507
|
+
position,
|
|
508
|
+
className,
|
|
509
|
+
zoom = 15
|
|
510
|
+
}) {
|
|
505
511
|
const defaultPosition = { lat: 40.715021, lng: -74.00459 };
|
|
506
512
|
const defaultZoom = 11;
|
|
507
513
|
return /* @__PURE__ */ jsx10(APIProvider, { apiKey, children: /* @__PURE__ */ jsx10("div", { className: cn("h-screen max-w-full", className), children: /* @__PURE__ */ jsx10(
|
|
508
514
|
Map,
|
|
509
515
|
{
|
|
510
|
-
|
|
516
|
+
defaultZoom: position ? zoom : defaultZoom,
|
|
511
517
|
center: position || defaultPosition,
|
|
512
518
|
mapId,
|
|
513
519
|
keyboardShortcuts: false,
|
|
514
520
|
disableDefaultUI: true,
|
|
521
|
+
zoomControl: true,
|
|
515
522
|
children: position && /* @__PURE__ */ jsx10(AdvancedMarker, { position, children: /* @__PURE__ */ jsx10(Pin, { background: "#0B5441", borderColor: "#EBFDF1", glyphColor: "#D4F500" }) })
|
|
516
523
|
}
|
|
517
524
|
) }) });
|
|
@@ -1957,24 +1964,28 @@ __export(shared_pickle_output_latest_exports, {
|
|
|
1957
1964
|
DetailLevelEnum: () => DetailLevelEnum,
|
|
1958
1965
|
TypeEnum: () => TypeEnum,
|
|
1959
1966
|
UnitTextEnum: () => UnitTextEnum,
|
|
1967
|
+
imageAssetSchema: () => imageAssetSchema,
|
|
1968
|
+
imageSchema: () => imageSchema,
|
|
1960
1969
|
monetaryAmountSchema: () => monetaryAmountSchema,
|
|
1961
1970
|
placeSchema: () => placeSchema,
|
|
1962
1971
|
postalAddressSchema: () => postalAddressSchema,
|
|
1963
1972
|
quantitativeValueSchema: () => quantitativeValueSchema
|
|
1964
1973
|
});
|
|
1965
1974
|
import { z } from "zod";
|
|
1966
|
-
var TypeEnum = z.enum(["
|
|
1975
|
+
var TypeEnum = z.enum(["IMAGE"]);
|
|
1967
1976
|
var DetailLevelEnum = z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
|
|
1968
1977
|
var UnitTextEnum = z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
|
|
1969
1978
|
var CurrencyEnum = z.enum(["EUR", "GBP", "USD"]);
|
|
1970
1979
|
var postalAddressSchema = z.object({
|
|
1971
1980
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
1972
|
-
type: z.string().describe("Document type used
|
|
1981
|
+
type: z.string().describe("Document type used for schema"),
|
|
1973
1982
|
addressCountry: z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
|
|
1974
1983
|
addressRegion: z.optional(z.string()).describe("The region in which the locality is, and which is in the country."),
|
|
1975
1984
|
addressLocality: z.optional(z.string()).describe("The locality in which the street address is, and which is in the region. In the US this would be city."),
|
|
1976
|
-
streetAddress: z.optional(z.string()).describe("The street address within the locality."),
|
|
1977
|
-
|
|
1985
|
+
streetAddress: z.optional(z.string()).describe("The street name of the address within the locality."),
|
|
1986
|
+
streetNumber: z.optional(z.string()).describe("The house of building number within the street."),
|
|
1987
|
+
postalCode: z.optional(z.string()).describe("The postal code"),
|
|
1988
|
+
description: z.optional(z.string()).describe("A descriptive string containing the full address.")
|
|
1978
1989
|
});
|
|
1979
1990
|
var placeSchema = z.object({
|
|
1980
1991
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
@@ -1985,7 +1996,7 @@ var placeSchema = z.object({
|
|
|
1985
1996
|
});
|
|
1986
1997
|
var quantitativeValueSchema = z.object({
|
|
1987
1998
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
1988
|
-
type: z.string().describe("Document type used
|
|
1999
|
+
type: z.string().describe("Document type used for schema"),
|
|
1989
2000
|
value: z.optional(z.number()).describe("The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary."),
|
|
1990
2001
|
minValue: z.optional(z.number()).describe("The single minium value in a range for a quantitative_value, requires a maximum value."),
|
|
1991
2002
|
maxValue: z.optional(z.number()).describe("The maximum value in a range for a quantitative_value, requires a minimum value."),
|
|
@@ -1993,13 +2004,34 @@ var quantitativeValueSchema = z.object({
|
|
|
1993
2004
|
});
|
|
1994
2005
|
var monetaryAmountSchema = z.object({
|
|
1995
2006
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
1996
|
-
type: z.string().describe("Document type used
|
|
2007
|
+
type: z.string().describe("Document type used for schema"),
|
|
1997
2008
|
singleValue: z.optional(z.number()).describe("The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead."),
|
|
1998
2009
|
minValue: z.optional(z.number()).describe("The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue"),
|
|
1999
2010
|
maxValue: z.optional(z.number()).describe("The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue"),
|
|
2000
2011
|
value: z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
|
|
2001
2012
|
currency: z.optional(CurrencyEnum)
|
|
2002
2013
|
});
|
|
2014
|
+
var imageAssetSchema = z.object({
|
|
2015
|
+
version: z.literal("1.0.0").default("1.0.0"),
|
|
2016
|
+
altText: z.optional(z.string()).describe("The alt text for the image"),
|
|
2017
|
+
assetId: z.optional(z.string()).describe("The asset ID for the image"),
|
|
2018
|
+
description: z.optional(z.string()).describe("The description for the image"),
|
|
2019
|
+
extension: z.optional(z.string()).describe("The extension for the image"),
|
|
2020
|
+
label: z.optional(z.string()).describe("The label for the image"),
|
|
2021
|
+
mimeType: z.optional(z.string()).describe("The mime type for the image"),
|
|
2022
|
+
originalFilename: z.optional(z.string()).describe("The original filename for the image"),
|
|
2023
|
+
path: z.optional(z.string()).describe("The path for the image"),
|
|
2024
|
+
sha1Hash: z.optional(z.string()).describe("The SHA1 hash for the image"),
|
|
2025
|
+
size: z.optional(z.number()).describe("The size for the image"),
|
|
2026
|
+
title: z.optional(z.string()).describe("The title for the image"),
|
|
2027
|
+
uploadId: z.optional(z.string()).describe("The upload ID for the image"),
|
|
2028
|
+
url: z.optional(z.string()).describe("The URL for the image")
|
|
2029
|
+
});
|
|
2030
|
+
var imageSchema = z.object({
|
|
2031
|
+
version: z.literal("1.0.0").default("1.0.0"),
|
|
2032
|
+
type: z.string().describe("Document type used for schema"),
|
|
2033
|
+
asset: z.optional(imageAssetSchema).describe("The asset for the image")
|
|
2034
|
+
});
|
|
2003
2035
|
|
|
2004
2036
|
// src/lib/salaryRange.ts
|
|
2005
2037
|
function salaryRange(salary) {
|
|
@@ -2569,6 +2601,7 @@ function JobPost({
|
|
|
2569
2601
|
title: job.title,
|
|
2570
2602
|
bannerSrc,
|
|
2571
2603
|
avatarName: job.hiringOrganization?.companyName,
|
|
2604
|
+
avatarSrc: job.hiringOrganization?.logo?.asset?.url,
|
|
2572
2605
|
subtitles: [job.hiringOrganization?.companyName ?? "", `Posted ${formattedDate}`],
|
|
2573
2606
|
actions,
|
|
2574
2607
|
standalone,
|
|
@@ -2582,7 +2615,7 @@ function JobPost({
|
|
|
2582
2615
|
CompanyTake,
|
|
2583
2616
|
{
|
|
2584
2617
|
avatarSrc,
|
|
2585
|
-
content: job.hiringOrganization?.
|
|
2618
|
+
content: job.hiringOrganization?.companyNdg?.companyNdgTake
|
|
2586
2619
|
}
|
|
2587
2620
|
),
|
|
2588
2621
|
/* @__PURE__ */ jsx33(
|
|
@@ -2590,15 +2623,15 @@ function JobPost({
|
|
|
2590
2623
|
{
|
|
2591
2624
|
name: job.hiringOrganization?.companyName ?? "",
|
|
2592
2625
|
how: job.hiringOrganization?.companyPhilosophy?.companyHow,
|
|
2593
|
-
mission: job.hiringOrganization?.companyPhilosophy?.
|
|
2594
|
-
wow: job.hiringOrganization?.
|
|
2626
|
+
mission: job.hiringOrganization?.companyPhilosophy?.companyMission,
|
|
2627
|
+
wow: job.hiringOrganization?.companyNdg?.companyWow,
|
|
2595
2628
|
website: job.hiringOrganization?.companyWebsite
|
|
2596
2629
|
}
|
|
2597
2630
|
),
|
|
2598
2631
|
/* @__PURE__ */ jsx33(
|
|
2599
2632
|
CompanyBenefits,
|
|
2600
2633
|
{
|
|
2601
|
-
benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.
|
|
2634
|
+
benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.title).filter((d) => d !== void 0)
|
|
2602
2635
|
}
|
|
2603
2636
|
)
|
|
2604
2637
|
] })
|
|
@@ -2634,12 +2667,11 @@ __export(company_service_latest_exports, {
|
|
|
2634
2667
|
TitleEnum: () => TitleEnum,
|
|
2635
2668
|
TypeEnum: () => TypeEnum2,
|
|
2636
2669
|
companyBenefitsSchema: () => companyBenefitsSchema,
|
|
2637
|
-
|
|
2670
|
+
companyCareersSchema: () => companyCareersSchema,
|
|
2638
2671
|
companyNdgSchema: () => companyNdgSchema,
|
|
2639
2672
|
companyPhilosophySchema: () => companyPhilosophySchema,
|
|
2640
2673
|
companySchema: () => companySchema,
|
|
2641
2674
|
foundingInformationSchema: () => foundingInformationSchema,
|
|
2642
|
-
imageSchema: () => imageSchema,
|
|
2643
2675
|
industrySchema: () => industrySchema,
|
|
2644
2676
|
jobBoardSchema: () => jobBoardSchema,
|
|
2645
2677
|
ngdMetadataSchema: () => ngdMetadataSchema,
|
|
@@ -2653,10 +2685,6 @@ var CategoryEnum = z2.enum(["FINANCIAL", "HEALTH", "PROFESSIONAL_DEVELOPMENT", "
|
|
|
2653
2685
|
var TitleEnum = z2.enum(["DMD", "JD", "MBA", "MD", "MHA", "MPH", "PT", "PH_D", "RN"]);
|
|
2654
2686
|
var PublishStatusEnum = z2.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
|
|
2655
2687
|
var OfficeTypeEnum = z2.enum(["BRANCH", "HEADQUARTERS", "SATELLITE"]);
|
|
2656
|
-
var imageSchema = z2.object({
|
|
2657
|
-
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2658
|
-
url: z2.string()
|
|
2659
|
-
});
|
|
2660
2688
|
var socialMediaSchema = z2.object({
|
|
2661
2689
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2662
2690
|
url: z2.string().describe("The link to the social media platform"),
|
|
@@ -2664,14 +2692,14 @@ var socialMediaSchema = z2.object({
|
|
|
2664
2692
|
});
|
|
2665
2693
|
var companyBenefitsSchema = z2.object({
|
|
2666
2694
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2667
|
-
type: z2.string().describe("Document type used
|
|
2668
|
-
|
|
2695
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2696
|
+
title: z2.string(),
|
|
2669
2697
|
description: z2.optional(z2.string()),
|
|
2670
2698
|
category: CategoryEnum
|
|
2671
2699
|
});
|
|
2672
2700
|
var industrySchema = z2.lazy(() => z2.object({
|
|
2673
2701
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2674
|
-
type: z2.string().describe("Document type used
|
|
2702
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2675
2703
|
name: z2.string(),
|
|
2676
2704
|
description: z2.optional(z2.string()).describe("A brief description of the industry"),
|
|
2677
2705
|
onetIndustryId: z2.optional(z2.string()).describe("ONET industry ID"),
|
|
@@ -2679,7 +2707,7 @@ var industrySchema = z2.lazy(() => z2.object({
|
|
|
2679
2707
|
}));
|
|
2680
2708
|
var jobBoardSchema = z2.object({
|
|
2681
2709
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2682
|
-
type: z2.string().describe("Document type used
|
|
2710
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2683
2711
|
name: z2.string().describe("The name of the job board"),
|
|
2684
2712
|
description: z2.string().describe("A brief description of the job board"),
|
|
2685
2713
|
logo: z2.optional(imageSchema).describe("The logo of the job board"),
|
|
@@ -2687,7 +2715,7 @@ var jobBoardSchema = z2.object({
|
|
|
2687
2715
|
});
|
|
2688
2716
|
var personSchema = z2.object({
|
|
2689
2717
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2690
|
-
type: z2.string().describe("Document type used
|
|
2718
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2691
2719
|
firstName: z2.string().describe("The first name of the person"),
|
|
2692
2720
|
lastName: z2.string().describe("The last name of the person"),
|
|
2693
2721
|
title: z2.optional(z2.array(z2.string())).describe("The titles of the degree of the person"),
|
|
@@ -2703,56 +2731,62 @@ var personSchema = z2.object({
|
|
|
2703
2731
|
url: z2.optional(z2.string()).describe("The URL of the person"),
|
|
2704
2732
|
address: z2.optional(placeSchema).describe("The address of the person")
|
|
2705
2733
|
});
|
|
2706
|
-
var
|
|
2734
|
+
var companyCareersSchema = z2.object({
|
|
2707
2735
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2736
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2737
|
+
careersUrl: z2.string().describe("The URL of the company careers page"),
|
|
2738
|
+
jobBoard: z2.optional(jobBoardSchema),
|
|
2739
|
+
jobBoardSlug: z2.optional(z2.array(z2.string())),
|
|
2711
2740
|
companyBenefits: z2.optional(z2.array(companyBenefitsSchema)).describe("What are the specific benefits of that company. The benefit is generic.")
|
|
2712
2741
|
});
|
|
2713
2742
|
var companyPhilosophySchema = z2.object({
|
|
2714
2743
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2715
|
-
|
|
2744
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2745
|
+
companyMission: z2.optional(z2.string()).describe("The mission statement of the company."),
|
|
2716
2746
|
companyHow: z2.optional(z2.string()).describe("How does the company achieve its mission"),
|
|
2717
2747
|
companyCulture: z2.optional(z2.array(z2.string())).describe("What are some of the culture aspects of this company?")
|
|
2718
2748
|
});
|
|
2719
2749
|
var companyNdgSchema = z2.object({
|
|
2720
2750
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2751
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2721
2752
|
companyWow: z2.optional(z2.string()).describe("What is the wow of this company?"),
|
|
2722
|
-
|
|
2723
|
-
// Manually edited due to a different naming convention
|
|
2753
|
+
companyNdgTake: z2.optional(z2.string()).describe("What is the NDG POV on this company?"),
|
|
2724
2754
|
companyBestFit: z2.optional(z2.array(z2.string())),
|
|
2725
2755
|
companyInterests: z2.optional(z2.array(z2.string()))
|
|
2726
2756
|
});
|
|
2727
2757
|
var foundingInformationSchema = z2.object({
|
|
2728
2758
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2759
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2760
|
+
foundedDate: z2.optional(z2.string()),
|
|
2761
|
+
foundedCountry: z2.optional(z2.string()),
|
|
2762
|
+
foundedCity: z2.optional(z2.string()),
|
|
2732
2763
|
founders: z2.optional(z2.array(personSchema))
|
|
2733
2764
|
});
|
|
2734
2765
|
var ngdMetadataSchema = z2.object({
|
|
2735
2766
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2767
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2736
2768
|
lastScraped: z2.optional(z2.string()).describe("Date the last entity was scraped, if applicable"),
|
|
2737
2769
|
scraperVersion: z2.optional(z2.string()),
|
|
2738
2770
|
postProcessorVersion: z2.optional(z2.string()),
|
|
2739
2771
|
uniqueRunId: z2.optional(z2.string()),
|
|
2740
2772
|
postProcessorUniqueRunId: z2.optional(z2.string()),
|
|
2741
|
-
|
|
2773
|
+
isScrapeManaged: z2.optional(z2.boolean()).default(true)
|
|
2742
2774
|
});
|
|
2743
2775
|
var companySchema = z2.object({
|
|
2744
2776
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2777
|
+
id: z2.string().describe("The NDG specific id for a company. Cannot be changed."),
|
|
2778
|
+
createdAt: z2.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2779
|
+
updatedAt: z2.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2745
2780
|
companyName: z2.string().describe("The name of the company"),
|
|
2746
2781
|
slug: z2.string().describe("The NDG specific slug for a company."),
|
|
2747
|
-
type: z2.string().describe("Document type used
|
|
2782
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2748
2783
|
logo: z2.optional(imageSchema).describe("The logo of the company"),
|
|
2749
2784
|
companyWebsite: z2.optional(z2.string()).describe("The website of the company"),
|
|
2750
2785
|
socialMedia: z2.optional(z2.array(socialMediaSchema)).describe("The social media links of the company"),
|
|
2751
2786
|
brandColor: z2.optional(z2.string()).describe("The brand color of the company"),
|
|
2752
|
-
companyCareers: z2.optional(
|
|
2787
|
+
companyCareers: z2.optional(companyCareersSchema).describe("Career Specific Information for the company."),
|
|
2753
2788
|
companyPhilosophy: z2.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
|
|
2754
|
-
|
|
2755
|
-
// Manually edited due to a different naming convention
|
|
2789
|
+
companyNdg: z2.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
|
|
2756
2790
|
foundingInfo: z2.optional(foundingInformationSchema),
|
|
2757
2791
|
headquartersLocation: z2.optional(placeSchema),
|
|
2758
2792
|
employeeEstimate: z2.optional(z2.string()),
|
|
@@ -2761,7 +2795,7 @@ var companySchema = z2.object({
|
|
|
2761
2795
|
});
|
|
2762
2796
|
var officeSchema = z2.object({
|
|
2763
2797
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2764
|
-
type: z2.string().describe("Document type used
|
|
2798
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2765
2799
|
name: z2.string().describe("Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')"),
|
|
2766
2800
|
officeType: OfficeTypeEnum,
|
|
2767
2801
|
companyId: z2.optional(companySchema),
|
|
@@ -2785,7 +2819,7 @@ var ClinicalSpecialtyEnum = z3.enum(["ANESTHESIOLOGY", "CARDIOLOGY", "CASE_MANAG
|
|
|
2785
2819
|
var jobPostSchema = z3.object({
|
|
2786
2820
|
version: z3.literal("1.0.0").default("1.0.0"),
|
|
2787
2821
|
id: z3.string().describe("The NDG specific id for a job posting in form of ndg-<company_slug>-<unique-job-id>. Serves as unique identifier. Cannot be changed."),
|
|
2788
|
-
type: z3.string().describe("Document type used
|
|
2822
|
+
type: z3.string().describe("Document type used for schema"),
|
|
2789
2823
|
createdAt: z3.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2790
2824
|
updatedAt: z3.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2791
2825
|
dateAdded: z3.optional(z3.string().datetime()).describe("The date the job was added to the platform"),
|