@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.cjs
CHANGED
|
@@ -555,17 +555,24 @@ var Input_default = Input;
|
|
|
555
555
|
// src/components/ui/MapComponent.tsx
|
|
556
556
|
var import_react_google_maps = require("@vis.gl/react-google-maps");
|
|
557
557
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
558
|
-
function MapComponent({
|
|
558
|
+
function MapComponent({
|
|
559
|
+
apiKey,
|
|
560
|
+
mapId,
|
|
561
|
+
position,
|
|
562
|
+
className,
|
|
563
|
+
zoom = 15
|
|
564
|
+
}) {
|
|
559
565
|
const defaultPosition = { lat: 40.715021, lng: -74.00459 };
|
|
560
566
|
const defaultZoom = 11;
|
|
561
567
|
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_google_maps.APIProvider, { apiKey, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: cn("h-screen max-w-full", className), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
562
568
|
import_react_google_maps.Map,
|
|
563
569
|
{
|
|
564
|
-
|
|
570
|
+
defaultZoom: position ? zoom : defaultZoom,
|
|
565
571
|
center: position || defaultPosition,
|
|
566
572
|
mapId,
|
|
567
573
|
keyboardShortcuts: false,
|
|
568
574
|
disableDefaultUI: true,
|
|
575
|
+
zoomControl: true,
|
|
569
576
|
children: position && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_google_maps.AdvancedMarker, { position, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_google_maps.Pin, { background: "#0B5441", borderColor: "#EBFDF1", glyphColor: "#D4F500" }) })
|
|
570
577
|
}
|
|
571
578
|
) }) });
|
|
@@ -1990,24 +1997,28 @@ __export(shared_pickle_output_latest_exports, {
|
|
|
1990
1997
|
DetailLevelEnum: () => DetailLevelEnum,
|
|
1991
1998
|
TypeEnum: () => TypeEnum,
|
|
1992
1999
|
UnitTextEnum: () => UnitTextEnum,
|
|
2000
|
+
imageAssetSchema: () => imageAssetSchema,
|
|
2001
|
+
imageSchema: () => imageSchema,
|
|
1993
2002
|
monetaryAmountSchema: () => monetaryAmountSchema,
|
|
1994
2003
|
placeSchema: () => placeSchema,
|
|
1995
2004
|
postalAddressSchema: () => postalAddressSchema,
|
|
1996
2005
|
quantitativeValueSchema: () => quantitativeValueSchema
|
|
1997
2006
|
});
|
|
1998
2007
|
var import_zod = require("zod");
|
|
1999
|
-
var TypeEnum = import_zod.z.enum(["
|
|
2008
|
+
var TypeEnum = import_zod.z.enum(["IMAGE"]);
|
|
2000
2009
|
var DetailLevelEnum = import_zod.z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
|
|
2001
2010
|
var UnitTextEnum = import_zod.z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
|
|
2002
2011
|
var CurrencyEnum = import_zod.z.enum(["EUR", "GBP", "USD"]);
|
|
2003
2012
|
var postalAddressSchema = import_zod.z.object({
|
|
2004
2013
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
2005
|
-
type: import_zod.z.string().describe("Document type used
|
|
2014
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
2006
2015
|
addressCountry: import_zod.z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
|
|
2007
2016
|
addressRegion: import_zod.z.optional(import_zod.z.string()).describe("The region in which the locality is, and which is in the country."),
|
|
2008
2017
|
addressLocality: import_zod.z.optional(import_zod.z.string()).describe("The locality in which the street address is, and which is in the region. In the US this would be city."),
|
|
2009
|
-
streetAddress: import_zod.z.optional(import_zod.z.string()).describe("The street address within the locality."),
|
|
2010
|
-
|
|
2018
|
+
streetAddress: import_zod.z.optional(import_zod.z.string()).describe("The street name of the address within the locality."),
|
|
2019
|
+
streetNumber: import_zod.z.optional(import_zod.z.string()).describe("The house of building number within the street."),
|
|
2020
|
+
postalCode: import_zod.z.optional(import_zod.z.string()).describe("The postal code"),
|
|
2021
|
+
description: import_zod.z.optional(import_zod.z.string()).describe("A descriptive string containing the full address.")
|
|
2011
2022
|
});
|
|
2012
2023
|
var placeSchema = import_zod.z.object({
|
|
2013
2024
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
@@ -2018,7 +2029,7 @@ var placeSchema = import_zod.z.object({
|
|
|
2018
2029
|
});
|
|
2019
2030
|
var quantitativeValueSchema = import_zod.z.object({
|
|
2020
2031
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
2021
|
-
type: import_zod.z.string().describe("Document type used
|
|
2032
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
2022
2033
|
value: import_zod.z.optional(import_zod.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."),
|
|
2023
2034
|
minValue: import_zod.z.optional(import_zod.z.number()).describe("The single minium value in a range for a quantitative_value, requires a maximum value."),
|
|
2024
2035
|
maxValue: import_zod.z.optional(import_zod.z.number()).describe("The maximum value in a range for a quantitative_value, requires a minimum value."),
|
|
@@ -2026,13 +2037,34 @@ var quantitativeValueSchema = import_zod.z.object({
|
|
|
2026
2037
|
});
|
|
2027
2038
|
var monetaryAmountSchema = import_zod.z.object({
|
|
2028
2039
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
2029
|
-
type: import_zod.z.string().describe("Document type used
|
|
2040
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
2030
2041
|
singleValue: import_zod.z.optional(import_zod.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."),
|
|
2031
2042
|
minValue: import_zod.z.optional(import_zod.z.number()).describe("The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue"),
|
|
2032
2043
|
maxValue: import_zod.z.optional(import_zod.z.number()).describe("The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue"),
|
|
2033
2044
|
value: import_zod.z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
|
|
2034
2045
|
currency: import_zod.z.optional(CurrencyEnum)
|
|
2035
2046
|
});
|
|
2047
|
+
var imageAssetSchema = import_zod.z.object({
|
|
2048
|
+
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
2049
|
+
altText: import_zod.z.optional(import_zod.z.string()).describe("The alt text for the image"),
|
|
2050
|
+
assetId: import_zod.z.optional(import_zod.z.string()).describe("The asset ID for the image"),
|
|
2051
|
+
description: import_zod.z.optional(import_zod.z.string()).describe("The description for the image"),
|
|
2052
|
+
extension: import_zod.z.optional(import_zod.z.string()).describe("The extension for the image"),
|
|
2053
|
+
label: import_zod.z.optional(import_zod.z.string()).describe("The label for the image"),
|
|
2054
|
+
mimeType: import_zod.z.optional(import_zod.z.string()).describe("The mime type for the image"),
|
|
2055
|
+
originalFilename: import_zod.z.optional(import_zod.z.string()).describe("The original filename for the image"),
|
|
2056
|
+
path: import_zod.z.optional(import_zod.z.string()).describe("The path for the image"),
|
|
2057
|
+
sha1Hash: import_zod.z.optional(import_zod.z.string()).describe("The SHA1 hash for the image"),
|
|
2058
|
+
size: import_zod.z.optional(import_zod.z.number()).describe("The size for the image"),
|
|
2059
|
+
title: import_zod.z.optional(import_zod.z.string()).describe("The title for the image"),
|
|
2060
|
+
uploadId: import_zod.z.optional(import_zod.z.string()).describe("The upload ID for the image"),
|
|
2061
|
+
url: import_zod.z.optional(import_zod.z.string()).describe("The URL for the image")
|
|
2062
|
+
});
|
|
2063
|
+
var imageSchema = import_zod.z.object({
|
|
2064
|
+
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
2065
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
2066
|
+
asset: import_zod.z.optional(imageAssetSchema).describe("The asset for the image")
|
|
2067
|
+
});
|
|
2036
2068
|
|
|
2037
2069
|
// src/lib/salaryRange.ts
|
|
2038
2070
|
function salaryRange(salary) {
|
|
@@ -2602,6 +2634,7 @@ function JobPost({
|
|
|
2602
2634
|
title: job.title,
|
|
2603
2635
|
bannerSrc,
|
|
2604
2636
|
avatarName: job.hiringOrganization?.companyName,
|
|
2637
|
+
avatarSrc: job.hiringOrganization?.logo?.asset?.url,
|
|
2605
2638
|
subtitles: [job.hiringOrganization?.companyName ?? "", `Posted ${formattedDate}`],
|
|
2606
2639
|
actions,
|
|
2607
2640
|
standalone,
|
|
@@ -2615,7 +2648,7 @@ function JobPost({
|
|
|
2615
2648
|
CompanyTake,
|
|
2616
2649
|
{
|
|
2617
2650
|
avatarSrc,
|
|
2618
|
-
content: job.hiringOrganization?.
|
|
2651
|
+
content: job.hiringOrganization?.companyNdg?.companyNdgTake
|
|
2619
2652
|
}
|
|
2620
2653
|
),
|
|
2621
2654
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
@@ -2623,15 +2656,15 @@ function JobPost({
|
|
|
2623
2656
|
{
|
|
2624
2657
|
name: job.hiringOrganization?.companyName ?? "",
|
|
2625
2658
|
how: job.hiringOrganization?.companyPhilosophy?.companyHow,
|
|
2626
|
-
mission: job.hiringOrganization?.companyPhilosophy?.
|
|
2627
|
-
wow: job.hiringOrganization?.
|
|
2659
|
+
mission: job.hiringOrganization?.companyPhilosophy?.companyMission,
|
|
2660
|
+
wow: job.hiringOrganization?.companyNdg?.companyWow,
|
|
2628
2661
|
website: job.hiringOrganization?.companyWebsite
|
|
2629
2662
|
}
|
|
2630
2663
|
),
|
|
2631
2664
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
2632
2665
|
CompanyBenefits,
|
|
2633
2666
|
{
|
|
2634
|
-
benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.
|
|
2667
|
+
benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.title).filter((d) => d !== void 0)
|
|
2635
2668
|
}
|
|
2636
2669
|
)
|
|
2637
2670
|
] })
|
|
@@ -2667,12 +2700,11 @@ __export(company_service_latest_exports, {
|
|
|
2667
2700
|
TitleEnum: () => TitleEnum,
|
|
2668
2701
|
TypeEnum: () => TypeEnum2,
|
|
2669
2702
|
companyBenefitsSchema: () => companyBenefitsSchema,
|
|
2670
|
-
|
|
2703
|
+
companyCareersSchema: () => companyCareersSchema,
|
|
2671
2704
|
companyNdgSchema: () => companyNdgSchema,
|
|
2672
2705
|
companyPhilosophySchema: () => companyPhilosophySchema,
|
|
2673
2706
|
companySchema: () => companySchema,
|
|
2674
2707
|
foundingInformationSchema: () => foundingInformationSchema,
|
|
2675
|
-
imageSchema: () => imageSchema,
|
|
2676
2708
|
industrySchema: () => industrySchema,
|
|
2677
2709
|
jobBoardSchema: () => jobBoardSchema,
|
|
2678
2710
|
ngdMetadataSchema: () => ngdMetadataSchema,
|
|
@@ -2686,10 +2718,6 @@ var CategoryEnum = import_zod2.z.enum(["FINANCIAL", "HEALTH", "PROFESSIONAL_DEVE
|
|
|
2686
2718
|
var TitleEnum = import_zod2.z.enum(["DMD", "JD", "MBA", "MD", "MHA", "MPH", "PT", "PH_D", "RN"]);
|
|
2687
2719
|
var PublishStatusEnum = import_zod2.z.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
|
|
2688
2720
|
var OfficeTypeEnum = import_zod2.z.enum(["BRANCH", "HEADQUARTERS", "SATELLITE"]);
|
|
2689
|
-
var imageSchema = import_zod2.z.object({
|
|
2690
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2691
|
-
url: import_zod2.z.string()
|
|
2692
|
-
});
|
|
2693
2721
|
var socialMediaSchema = import_zod2.z.object({
|
|
2694
2722
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2695
2723
|
url: import_zod2.z.string().describe("The link to the social media platform"),
|
|
@@ -2697,14 +2725,14 @@ var socialMediaSchema = import_zod2.z.object({
|
|
|
2697
2725
|
});
|
|
2698
2726
|
var companyBenefitsSchema = import_zod2.z.object({
|
|
2699
2727
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2700
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2701
|
-
|
|
2728
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2729
|
+
title: import_zod2.z.string(),
|
|
2702
2730
|
description: import_zod2.z.optional(import_zod2.z.string()),
|
|
2703
2731
|
category: CategoryEnum
|
|
2704
2732
|
});
|
|
2705
2733
|
var industrySchema = import_zod2.z.lazy(() => import_zod2.z.object({
|
|
2706
2734
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2707
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2735
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2708
2736
|
name: import_zod2.z.string(),
|
|
2709
2737
|
description: import_zod2.z.optional(import_zod2.z.string()).describe("A brief description of the industry"),
|
|
2710
2738
|
onetIndustryId: import_zod2.z.optional(import_zod2.z.string()).describe("ONET industry ID"),
|
|
@@ -2712,7 +2740,7 @@ var industrySchema = import_zod2.z.lazy(() => import_zod2.z.object({
|
|
|
2712
2740
|
}));
|
|
2713
2741
|
var jobBoardSchema = import_zod2.z.object({
|
|
2714
2742
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2715
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2743
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2716
2744
|
name: import_zod2.z.string().describe("The name of the job board"),
|
|
2717
2745
|
description: import_zod2.z.string().describe("A brief description of the job board"),
|
|
2718
2746
|
logo: import_zod2.z.optional(imageSchema).describe("The logo of the job board"),
|
|
@@ -2720,7 +2748,7 @@ var jobBoardSchema = import_zod2.z.object({
|
|
|
2720
2748
|
});
|
|
2721
2749
|
var personSchema = import_zod2.z.object({
|
|
2722
2750
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2723
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2751
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2724
2752
|
firstName: import_zod2.z.string().describe("The first name of the person"),
|
|
2725
2753
|
lastName: import_zod2.z.string().describe("The last name of the person"),
|
|
2726
2754
|
title: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())).describe("The titles of the degree of the person"),
|
|
@@ -2736,56 +2764,62 @@ var personSchema = import_zod2.z.object({
|
|
|
2736
2764
|
url: import_zod2.z.optional(import_zod2.z.string()).describe("The URL of the person"),
|
|
2737
2765
|
address: import_zod2.z.optional(placeSchema).describe("The address of the person")
|
|
2738
2766
|
});
|
|
2739
|
-
var
|
|
2767
|
+
var companyCareersSchema = import_zod2.z.object({
|
|
2740
2768
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2769
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2770
|
+
careersUrl: import_zod2.z.string().describe("The URL of the company careers page"),
|
|
2771
|
+
jobBoard: import_zod2.z.optional(jobBoardSchema),
|
|
2772
|
+
jobBoardSlug: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
2744
2773
|
companyBenefits: import_zod2.z.optional(import_zod2.z.array(companyBenefitsSchema)).describe("What are the specific benefits of that company. The benefit is generic.")
|
|
2745
2774
|
});
|
|
2746
2775
|
var companyPhilosophySchema = import_zod2.z.object({
|
|
2747
2776
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2748
|
-
|
|
2777
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2778
|
+
companyMission: import_zod2.z.optional(import_zod2.z.string()).describe("The mission statement of the company."),
|
|
2749
2779
|
companyHow: import_zod2.z.optional(import_zod2.z.string()).describe("How does the company achieve its mission"),
|
|
2750
2780
|
companyCulture: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())).describe("What are some of the culture aspects of this company?")
|
|
2751
2781
|
});
|
|
2752
2782
|
var companyNdgSchema = import_zod2.z.object({
|
|
2753
2783
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2784
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2754
2785
|
companyWow: import_zod2.z.optional(import_zod2.z.string()).describe("What is the wow of this company?"),
|
|
2755
|
-
|
|
2756
|
-
// Manually edited due to a different naming convention
|
|
2786
|
+
companyNdgTake: import_zod2.z.optional(import_zod2.z.string()).describe("What is the NDG POV on this company?"),
|
|
2757
2787
|
companyBestFit: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
2758
2788
|
companyInterests: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string()))
|
|
2759
2789
|
});
|
|
2760
2790
|
var foundingInformationSchema = import_zod2.z.object({
|
|
2761
2791
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2792
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2793
|
+
foundedDate: import_zod2.z.optional(import_zod2.z.string()),
|
|
2794
|
+
foundedCountry: import_zod2.z.optional(import_zod2.z.string()),
|
|
2795
|
+
foundedCity: import_zod2.z.optional(import_zod2.z.string()),
|
|
2765
2796
|
founders: import_zod2.z.optional(import_zod2.z.array(personSchema))
|
|
2766
2797
|
});
|
|
2767
2798
|
var ngdMetadataSchema = import_zod2.z.object({
|
|
2768
2799
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2800
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2769
2801
|
lastScraped: import_zod2.z.optional(import_zod2.z.string()).describe("Date the last entity was scraped, if applicable"),
|
|
2770
2802
|
scraperVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
2771
2803
|
postProcessorVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
2772
2804
|
uniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
2773
2805
|
postProcessorUniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
2774
|
-
|
|
2806
|
+
isScrapeManaged: import_zod2.z.optional(import_zod2.z.boolean()).default(true)
|
|
2775
2807
|
});
|
|
2776
2808
|
var companySchema = import_zod2.z.object({
|
|
2777
2809
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2810
|
+
id: import_zod2.z.string().describe("The NDG specific id for a company. Cannot be changed."),
|
|
2811
|
+
createdAt: import_zod2.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2812
|
+
updatedAt: import_zod2.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2778
2813
|
companyName: import_zod2.z.string().describe("The name of the company"),
|
|
2779
2814
|
slug: import_zod2.z.string().describe("The NDG specific slug for a company."),
|
|
2780
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2815
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2781
2816
|
logo: import_zod2.z.optional(imageSchema).describe("The logo of the company"),
|
|
2782
2817
|
companyWebsite: import_zod2.z.optional(import_zod2.z.string()).describe("The website of the company"),
|
|
2783
2818
|
socialMedia: import_zod2.z.optional(import_zod2.z.array(socialMediaSchema)).describe("The social media links of the company"),
|
|
2784
2819
|
brandColor: import_zod2.z.optional(import_zod2.z.string()).describe("The brand color of the company"),
|
|
2785
|
-
companyCareers: import_zod2.z.optional(
|
|
2820
|
+
companyCareers: import_zod2.z.optional(companyCareersSchema).describe("Career Specific Information for the company."),
|
|
2786
2821
|
companyPhilosophy: import_zod2.z.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
|
|
2787
|
-
|
|
2788
|
-
// Manually edited due to a different naming convention
|
|
2822
|
+
companyNdg: import_zod2.z.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
|
|
2789
2823
|
foundingInfo: import_zod2.z.optional(foundingInformationSchema),
|
|
2790
2824
|
headquartersLocation: import_zod2.z.optional(placeSchema),
|
|
2791
2825
|
employeeEstimate: import_zod2.z.optional(import_zod2.z.string()),
|
|
@@ -2794,7 +2828,7 @@ var companySchema = import_zod2.z.object({
|
|
|
2794
2828
|
});
|
|
2795
2829
|
var officeSchema = import_zod2.z.object({
|
|
2796
2830
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2797
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2831
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2798
2832
|
name: import_zod2.z.string().describe("Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')"),
|
|
2799
2833
|
officeType: OfficeTypeEnum,
|
|
2800
2834
|
companyId: import_zod2.z.optional(companySchema),
|
|
@@ -2818,7 +2852,7 @@ var ClinicalSpecialtyEnum = import_zod3.z.enum(["ANESTHESIOLOGY", "CARDIOLOGY",
|
|
|
2818
2852
|
var jobPostSchema = import_zod3.z.object({
|
|
2819
2853
|
version: import_zod3.z.literal("1.0.0").default("1.0.0"),
|
|
2820
2854
|
id: import_zod3.z.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."),
|
|
2821
|
-
type: import_zod3.z.string().describe("Document type used
|
|
2855
|
+
type: import_zod3.z.string().describe("Document type used for schema"),
|
|
2822
2856
|
createdAt: import_zod3.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2823
2857
|
updatedAt: import_zod3.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2824
2858
|
dateAdded: import_zod3.z.optional(import_zod3.z.string().datetime()).describe("The date the job was added to the platform"),
|